Commit Graph

54 Commits

Author SHA1 Message Date
Elara 5af53d1dc6 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 d199fba93c Update go-bluetooth library for 5.65 support 2022-08-19 14:02:52 -07:00
Elara 9ed74726c4 Add contexts and improve error handling 2022-05-11 13:22:57 -07:00
Elara 1533865e4c Fix error handling in (*FS).Remove() 2022-05-05 12:39:16 -07:00
Elara 65fa04d360 Use adapter ID in btmgmt as well 2022-05-02 20:20:16 -07:00
Elara 5e5eef15dc Ask for adapter ID in Init() 2022-05-02 20:14:46 -07:00
Elara 6c3f1b14c9 Clarify DFU debug logs 2022-04-23 20:08:49 -07:00
Elara 2def4b13ac Add debug logging 2022-04-23 19:58:00 -07:00
Elara 2f51bde597 Use log level provided in options 2022-04-23 19:07:41 -07:00
Elara bebd1017c5 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 b7a50271be Log when too many disconnects occur rather than removing the device (Arsen6331/itd#10) 2022-04-16 04:24:21 -07:00
Elara 7026da3f6f 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 e82981e3fc Rewrite connect/reconnect code 2022-02-21 02:46:20 -08:00
Elara 738e140bfb Create custom BlueZ agent 2021-12-16 21:30:29 -08:00
Elara 9250d26fdc Restrict to one open file of each type at a time 2021-12-13 09:56:34 -08:00
Elara 382b1d9556 Add file transfer progress 2021-12-12 13:25:40 -08:00
Elara a2ff29ce84 Add weather service 2021-12-12 12:43:43 -08:00
Elara 522c10a9c0 Set connected property to true in all connecting functions 2021-11-25 20:33:06 -08:00
Elara bd057815cf Fix checkStatus call in (*Device).FS() 2021-11-25 13:35:58 -08:00
Elara 58d5036f20 Allow multiple call notification responses and improve error handling 2021-11-25 12:39:43 -08:00
Elara 9966880bc8 Only allow OnChange() to be called once 2021-11-24 17:21:12 -08:00
Elara e12ccb2ff5 Fix README errors 2021-11-24 16:51:42 -08:00
Elara 4b8b2a3b22 Remove playerctl from dependencies and add pactl providers 2021-11-24 16:50:35 -08:00
Elara e9a611aec8 Buffer message channel for music 2021-11-24 16:41:56 -08:00
Elara d9823bf0c8 Switch player to MPRIS interface 2021-11-24 16:31:18 -08:00
Elara ec1548ec0f Remove BLE docs as they have been merged into InfiniTime 2021-11-22 21:20:01 -08:00
Elara e9a92bac46 Implement BLE filesystem (experimental and will change in the future) 2021-11-22 21:19:30 -08:00
Elara ec43bad466 Update go-bluetooth to fix BlueZ 5.62 compatibility 2021-11-22 01:14:16 -08:00
Elara 504a64da93 Upgrade go-bluetooth version 2021-11-01 11:20:10 -07:00
Elara 7fb1fcce68 Create Init() rather than using init() 2021-11-01 09:19:12 -07:00
Elara 75942bdb0c Add whitelist to pair() and make case insensitive 2021-10-26 21:42:41 -07:00
Elara 53aa6f8a0c Add cancel functions to battery level and heart rate 2021-10-22 21:26:33 -07:00
Elara 45baea1048 Implement Motion Service 2021-10-22 12:59:51 -07:00
Elara 1dde7f9b07 Fix issue where DFU responses are missed causing DFU to time out intermittently 2021-10-21 20:17:44 -07:00
Elara d1a75f1c67 Fix Alert Notification Service Client link 2021-10-15 20:13:09 -07:00
Elara 937a3298c8 Fix typo 2021-10-15 20:11:34 -07:00
Elara bf99350e48 Add name to Notification Event UUID 2021-10-15 20:10:59 -07:00
Elara c4c0c46d71 Add docs for InfiniTime BLE 2021-10-15 19:58:57 -07:00
Elara c101249d3e Add call notification support 2021-10-15 00:23:54 -07:00
Elara a1e08ed862 Prevent sending of extra zero bytes during DFU 2021-10-06 17:08:21 -07:00
Elara dbfe8bb8c4 Power on bluetooth as part of setup 2021-09-09 08:34:56 -07:00
Elara 745b4bd37c Return intial values in watch functions 2021-08-24 22:17:34 -07:00
Elara 0430ddcd30 Add watch function for battery level 2021-08-24 21:55:03 -07:00
Elara 8648afeebf Improve current music status functions 2021-08-23 10:16:03 -07:00
Elara 75121b709c Add functions for current status and metadata 2021-08-23 10:07:11 -07:00
Elara 9553844896 Remove pair timeout entirely 2021-08-22 13:12:16 -07:00
Elara 47293f04bc Fix bug where Connect blocked forever after 10 seconds 2021-08-22 13:09:56 -07:00
Elara d228b6cf60 Fix segfault due to using wrong opts struct 2021-08-21 20:27:31 -07:00
Elara 91fbe718e5 Add error handling to connect call 2021-08-21 20:25:09 -07:00
Elara 7f19dfb354 Allow configuration of pair timeout 2021-08-21 20:24:56 -07:00