Commit Graph

38 Commits

Author SHA1 Message Date
Thomas Kohler f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors (#950) 2023-06-12 19:51:25 +02:00
Thomas Kohler 865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler 949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +02:00
Thomas Kohler fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
deadprogram 09d6a0ceec platforms/ble: support for Windows and remove macOS specific UUID code no longer needed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-10-02 16:26:34 +02:00
deadprogram d0e5e83ed1 ble: scanresult channel needs to handle linux scan results
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
Ron Evans b92f94231b ble: updates so macOS works
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
deadprogram 54096412d8 ble: correctly able to convert the UUID format to that needed by go-bluetooth
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
deadprogram 285c48b389 ble: initial take on working go-bluetooth replacement for go-ble
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
Ron Evans 5c74cab289 ble: correct spelling error in function name
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
deadprogram 2d28e0a960 ble: use go-ble/ble fork for BLE interactions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-29 13:10:21 +01:00
deadprogram e10f4288b8 ble: use hybridgroup fork of go-ble/ble package until Darwin changes get into upsteam version
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-28 19:32:59 +02:00
deadprogram 222c270c53 ble: allow for characteristic writes both with and without a response
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram eaad97c5a5 ble: allow override of specific HCI device to use
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 4d14a057e7 ble: somehow this comment is needed for go1.8.1 to export this interface. Huh?
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-08 17:35:18 +02:00
deadprogram 72039de2b6 ble: refactoring drivers to use BLEConnector interface and provide tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-05 11:47:28 +02:00
deadprogram 548042e3e1 ble: remove adhoc console logging
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 18:43:53 +01:00
deadprogram 5f93b1ebc8 ble: more WIP on multiple ble devices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 18:43:53 +01:00
deadprogram ddb889a105 ble: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:56:26 +01:00
deadprogram d9f9fd78fb ble: simplify return cases to remove cruft
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-17 13:54:03 +01:00
deadprogram e71802ec16 ble: remove commented out line
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-16 10:11:05 +01:00
deadprogram c3d12dabf6 ble: add godoc comments for exported methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 17:45:48 +01:00
deadprogram 2568aedc17 ble: move new ble client device creation under Gobot's own control
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:57:37 +01:00
ron fbefbea19b ble: write characteristics and await response 2017-01-14 12:26:15 +01:00
deadprogram fe9c33b6a2 ble: return error if unable to connect
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:26:15 +01:00
deadprogram 001e7583d8 ble: WIP on converting to currantlabs ble package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:26:15 +01:00
deadprogram ad0fef0d5d ble: move client adaptor test code to test file
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 19:44:07 +01:00
deadprogram 953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram e5437a81d5 core: update BLE platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram e30586acf0 core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-04 10:25:14 +02:00
deadprogram 07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram 11fded18d5 core: Refactor BLE platform for new Adaptor/Driver creation signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 20:14:05 +02:00
Andrew Lytvynov f6920ab65c ble: fix unused var
Shame on me
2016-07-13 10:25:30 -07:00
Andrew Lytvynov f20424fead ble: populate descriptors after descovering characterisitcs
On Linux, characteristic discovery requires setting the descriptor field
explicitly.
2016-07-13 10:16:58 -07:00
deadprogram 5abc5d260e [ble] Correct examples to use client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-09 11:52:48 -06:00
deadprogram 9630662a00 [ble] Separate BLE client adaptor to allow for a BLE server adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:36:53 +02:00
deadprogram 80ecc5ac53 [ble] BLE client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:27:06 +02:00