Commit Graph

64 Commits

Author SHA1 Message Date
Elara 24206c05f3 Assume MTU if not available from BlueZ 2022-10-25 12:36:34 -07:00
Elara 062757b314 Use timestamp with timezone offset to (finally) fix weather issue 2022-10-20 01:41:15 -07:00
Elara 1a95637439 Close files properly when returning an error (Arsen6331/itd#29) 2022-10-17 12:49:49 -07:00
Elara e124e1ccbd Stop DBus errors from causing panics by checking error type (Arsen6331/itd#29) 2022-10-17 12:19:23 -07:00
Elara 5f6b0205da Add debug logging to resource loading 2022-10-16 12:39:42 -07:00
Elara 0c2c2592c7 Fix RemoveAll() and MkdirAll() functions 2022-10-16 12:39:11 -07:00
Elara 986513750f Implement resource loading feature 2022-08-29 14:43:16 -07:00
Elara 4845a33a25 Remove debug code 2022-08-29 14:23:10 -07:00
Elara 12d92afa0a Add RemoveAll() and MkdirAll() to the filesystem implementation 2022-08-29 14:22:02 -07:00
Elara 03aadaa01b Add Stat() to filesystem implementation 2022-08-29 14:06:56 -07:00
Elara 1bf8ee4e7a Fix bug where the filesystem implementation misreports the amount of bytes written, causing functions such as io.Copy() to return an error 2022-08-29 14:05:33 -07:00
Elara a1a289efc9 Update go-bluetooth library for 5.65 support 2022-08-19 14:02:52 -07:00
Elara 91a47acb50 Add contexts and improve error handling 2022-05-11 13:22:57 -07:00
Elara e3a6bd308d Fix error handling in (*FS).Remove() 2022-05-05 12:39:16 -07:00
Elara 2c2d854929 Use adapter ID in btmgmt as well 2022-05-02 20:20:16 -07:00
Elara 5e7a110cdc Ask for adapter ID in Init() 2022-05-02 20:14:46 -07:00
Elara 9f0ee67c0f Clarify DFU debug logs 2022-04-23 20:08:49 -07:00
Elara a832c16d69 Add debug logging 2022-04-23 19:58:00 -07:00
Elara c5d938ce99 Use log level provided in options 2022-04-23 19:07:41 -07:00
Elara 8ff29b0ca9 Ensure that done signals for Watch functions are handled properly and restart notifications if they stop unexpectedly 2022-04-23 18:40:25 -07:00
Elara 165db63deb Log when too many disconnects occur rather than removing the device (Arsen6331/itd#10) 2022-04-16 04:24:21 -07:00
Elara 36aee2e1fe Handle case where artists value is a single string rather than a slice. Fixes Arsen6331/itd#9. 2022-03-04 12:04:37 -08:00
Elara b6ba971d50 Rewrite connect/reconnect code 2022-02-21 02:46:20 -08:00
Elara 2342b0d82a Create custom BlueZ agent 2021-12-16 21:30:29 -08:00
Elara 2f23dd3348 Restrict to one open file of each type at a time 2021-12-13 09:56:34 -08:00
Elara 60a0daa82e Add file transfer progress 2021-12-12 13:25:40 -08:00
Elara db8f03dee7 Add weather service 2021-12-12 12:43:43 -08:00
Elara 90936d8900 Set connected property to true in all connecting functions 2021-11-25 20:33:06 -08:00
Elara a5c90c3b7d Fix checkStatus call in (*Device).FS() 2021-11-25 13:35:58 -08:00
Elara 0a3ed67ede Allow multiple call notification responses and improve error handling 2021-11-25 12:39:43 -08:00
Elara d96dae1f13 Only allow OnChange() to be called once 2021-11-24 17:21:12 -08:00
Elara 388f48b260 Fix README errors 2021-11-24 16:51:42 -08:00
Elara e5c4279346 Remove playerctl from dependencies and add pactl providers 2021-11-24 16:50:35 -08:00
Elara 2a3df6bcf8 Buffer message channel for music 2021-11-24 16:41:56 -08:00
Elara b2b0ecebdd Switch player to MPRIS interface 2021-11-24 16:31:18 -08:00
Elara 4e88b4b7f8 Remove BLE docs as they have been merged into InfiniTime 2021-11-22 21:20:01 -08:00
Elara 60a4ad91f4 Implement BLE filesystem (experimental and will change in the future) 2021-11-22 21:19:30 -08:00
Elara 96ffb87c86 Update go-bluetooth to fix BlueZ 5.62 compatibility 2021-11-22 01:14:16 -08:00
Elara cf4688f393 Upgrade go-bluetooth version 2021-11-01 11:20:10 -07:00
Elara 52b05385a3 Create Init() rather than using init() 2021-11-01 09:19:12 -07:00
Elara a19fedf763 Add whitelist to pair() and make case insensitive 2021-10-26 21:42:41 -07:00
Elara 651270051e Add cancel functions to battery level and heart rate 2021-10-22 21:26:33 -07:00
Elara 4fa0ce1801 Implement Motion Service 2021-10-22 12:59:51 -07:00
Elara d3f48d6339 Fix issue where DFU responses are missed causing DFU to time out intermittently 2021-10-21 20:17:44 -07:00
Elara 88f15c6aa1 Fix Alert Notification Service Client link 2021-10-15 20:13:09 -07:00
Elara 07ca733a9b Fix typo 2021-10-15 20:11:34 -07:00
Elara 2e019e7589 Add name to Notification Event UUID 2021-10-15 20:10:59 -07:00
Elara f5f0efb55e Add docs for InfiniTime BLE 2021-10-15 19:58:57 -07:00
Elara 6b602169a0 Add call notification support 2021-10-15 00:23:54 -07:00
Elara ce95ce259c Prevent sending of extra zero bytes during DFU 2021-10-06 17:08:21 -07:00