1
0
Fork 0
Commit Graph

133 Commits

Author SHA1 Message Date
Daniele Tricoli 371e333829 Optionally set device via cli
If the device is not set, the gui will show the scan window otherwise it
will connect to the device directly and will show the device window.
2023-02-22 19:40:03 +01:00
Daniele Tricoli aa4d9ba884 Connect to selected device 2023-02-22 19:29:17 +01:00
Daniele Tricoli c31c3328d9 Switch to the device window pressing connect button 2023-02-22 18:28:21 +01:00
Daniele Tricoli 81321a5bc8 Add the UI for the scan window 2023-02-22 17:07:11 +01:00
Daniele Tricoli 62b325435c Don't use ScrolledText since it's missing theming 2023-02-22 15:37:31 +01:00
Daniele Tricoli 07f01a5de9 Use ttk.Frame instead of not styled one 2023-02-22 15:25:30 +01:00
Daniele Tricoli 4979d3448d Use grid for layout 2023-02-22 15:23:28 +01:00
Daniele Tricoli 3f9bb4ca9b Use pack for layout 2023-02-22 13:37:55 +01:00
Daniele Tricoli e07bdae8a8 Split app into 2 frame 2023-02-22 12:19:57 +01:00
Daniele Tricoli 601f81f44f Ignore the event
We always use the entry, so we can bind this callback both to the
entry and to the send button.
2023-02-20 02:57:07 +01:00
Daniele Tricoli 02302041f2 Add autoscrolling for text 2023-02-20 02:34:26 +01:00
Daniele Tricoli 269bc4aaf1 Expand the button to fill the grid 2023-02-20 02:10:56 +01:00
Daniele Tricoli 119da9e12e Fix layout using a Frame 2023-02-20 02:02:46 +01:00
Daniele Tricoli eec7a0ba7a Add send button 2023-02-20 01:51:41 +01:00
Daniele Tricoli 128c3dd7b9 Use the proper type 2023-02-20 00:04:53 +01:00
Daniele Tricoli 457b613bab Update CHANGELOG 2023-02-15 09:31:25 +01:00
Daniele Tricoli dc906d8ab1 Bump version to 0.4.0 2023-02-15 09:30:49 +01:00
Daniele Tricoli fc0135b73d Set minimum Python version to 3.8 2023-02-15 09:28:42 +01:00
Daniele Tricoli b1c4f6c0c5 Bump version to 0.4.0.a0 2023-02-14 16:47:37 +01:00
Daniele Tricoli 62966ca38f Increase the font size to 12 2023-02-14 05:29:41 +01:00
Daniele Tricoli 2a1e7062e3 Use the breeze style 2023-02-14 05:16:46 +01:00
Daniele Tricoli 5f5c8c23d1 Use grid for layout 2023-02-14 04:55:15 +01:00
Daniele Tricoli 6a206c2a32 Print the time for every line of displayed text 2023-02-14 03:15:31 +01:00
Daniele Tricoli 0d4a2343d4 Use tk.Text instead of tk.Message 2023-02-14 01:52:36 +01:00
Daniele Tricoli f84363c56d Initial implementation of a GUI 2023-02-14 00:35:20 +01:00
Daniele Tricoli 9b0e9e0fbe Make the GUI close 2023-02-14 00:35:20 +01:00
Daniele Tricoli b8c022f696 Add initial scaffolding for the GUI 2023-02-14 00:35:20 +01:00
Daniele Tricoli ad0cfa4173 Update CHANGELOG for 0.3.2 release 2023-02-14 00:22:22 +01:00
Daniele Tricoli eb0efab495 Bump version to 0.3.2 2023-02-14 00:19:32 +01:00
Daniele Tricoli f47c226623 Strip unnecessary `# noqa`s 2023-02-13 03:35:37 +01:00
Daniele Tricoli bcfbc3a1c8 Enable pre-commit on GitHub 2023-02-13 03:22:11 +01:00
Daniele Tricoli bca0a82bcb Add precommit config 2023-02-13 03:12:40 +01:00
Daniele Tricoli 5ccb8730fb Move all the BLE stuff in ble module 2023-02-13 02:56:06 +01:00
Daniele Tricoli d5f0504f97 Add license field 2023-02-13 02:00:33 +01:00
Daniele Tricoli 1ca82a020a Remove newline in BLE replies 2023-02-12 04:53:52 +01:00
Daniele Tricoli 3df0007413 Update CHANGELOG for 0.3.1 release 2023-02-11 23:13:33 +01:00
Daniele Tricoli a83233d685 Bump version to 0.3.1 2023-02-11 23:02:58 +01:00
Daniele Tricoli 6a26b4a503 Switch to asyncclick for the CLI
In Python 3.9.6 after the BLE connection the RuntimeError "got Future
<Future pending> attached to a different loop" was raised: this usually
is due to multiple loop and the decorator to make click command async
was calling asyncio.run.
2023-02-11 22:50:17 +01:00
Daniele Tricoli b5292d922b Bump version to 0.3.1a0 2023-02-11 20:34:56 +01:00
Daniele Tricoli d365d4b618 Expose BLE connection timeout on CLI 2023-02-11 19:02:41 +01:00
Daniele Tricoli ca285041c8 Bump version to 0.3.0 2023-02-11 17:57:52 +01:00
Daniele Tricoli b56700f3ce Update CHANGELOG for the 0.3.0 release 2023-02-11 17:57:30 +01:00
Daniele Tricoli f495fccfa3 Add a section about repl command 2023-02-11 17:41:03 +01:00
Daniele Tricoli caf7a3a252 Bump version to 0.3.0a0 2023-02-11 15:19:29 +01:00
Daniele Tricoli 86dba0296f Use NestedCompleter in the REPL 2023-02-11 15:18:16 +01:00
Daniele Tricoli 2c9a2e4262 Add more docs on ble module 2023-02-11 14:30:18 +01:00
Daniele Tricoli 7e26d8fe02 Don't complete while typing 2023-02-11 06:24:53 +01:00
Daniele Tricoli 5a091f7c19 Move BLE related stuff in a separate module 2023-02-11 06:19:46 +01:00
Daniele Tricoli 9ddb6b7900 Change repl prompt to Φ] 2023-02-11 04:17:50 +01:00
Daniele Tricoli 2b8c4f232e Update recipes descriptions 2023-02-11 04:16:29 +01:00