Commit Graph

1231 Commits

Author SHA1 Message Date
Ron Evans a112eb975a Merge pull request #296 from dgryski/go-vet
Fix issues flagged by 'go vet'
2016-07-13 12:18:28 -06:00
Ron Evans 0f4d861bab Merge pull request #295 from alytvynov/dev
ble: populate descriptors after descovering characterisitcs
2016-07-13 12:16:38 -06:00
Damian Gryski e65048e795 Fix issues flagged by 'go vet' 2016-07-13 11:27:12 -06: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
Damian Gryski b5083e67d3 Move interface assertions to test files.
In general, these shouldn't live in the package proper, since they're
actually tests.
2016-07-13 11:04:30 -06:00
Damian Gryski a8ea32ce56 Fix misspellings 2016-07-13 10:44:47 -06:00
Damian Gryski f131a82e69 platforms/bebop/client: fix type for binary.Write call
binary.Write only takes fixed-width types, of which 'bool' is not one.
Add a helper and turn those into int8s instead.
2016-07-13 09:38:40 -06:00
Damian Gryski 977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06:00
deadprogram 67ff7da9e3 Update to 0.12.1
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:41:14 -06:00
deadprogram 03eeffbf61 Remove fmt no longer used here
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:31:21 -06:00
deadprogram c78be7d51f Resolve merge conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:30:45 -06:00
deadprogram 87dbe52ca0 Prep for 0.12.0 release
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 07:57:30 -06:00
deadprogram 4c69b86dae Resolve merge conflict in Travis CI file
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 07:39:44 -06:00
deadprogram 2001471637 [ble] Slightly longer delay on Ollie halt
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 07:37:40 -06:00
deadprogram 5b29de3ff7 [ble] Speed up Ollie example roll speed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-11 23:47:19 -06:00
deadprogram c5f996c543 [ble] Go to sleep, little Ollie
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-11 23:46:01 -06:00
deadprogram 8db7405260 [ble] Implement Ollie Roll example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:37:58 -06:00
deadprogram 11a49b64f3 [ble] Implement Ollie Roll command
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:28:20 -06:00
deadprogram 8fa839081f [ble] Ollie example color cycles
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:08:34 -06:00
ron ee2fc3777c [ble] Can setrgb commands to Ollie 2016-07-10 10:51:36 -06: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 d2e9ebc5c1 [ble] BLE client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:28:41 +02:00
deadprogram 80ecc5ac53 [ble] BLE client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:27:06 +02:00
deadprogram 10f0ec6dbc [ble] log without failing for operations involving unknown characteristics
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 12:02:15 +02:00
deadprogram 11c8e9a98c [ble] Refactoring to DRY up characteristic lookup
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 11:44:45 +02:00
deadprogram fa22353cb6 [ble] Flip it
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 22:08:42 +02:00
deadprogram 4eeb186bcd [ble] Simplify packet format
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 21:51:20 +02:00
deadprogram e6baafd49b [ble] Another attempt at the correct packet format
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 21:20:49 +02:00
deadprogram e5068274d3 [ble] Correcting params to match the Minidrone defs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 21:07:43 +02:00
deadprogram b850d1189f [ble] Control stick flight control
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 12:51:00 +02:00
deadprogram 48520de2f7 [ble] Can connect by advertised local name or by ID
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 12:35:37 +02:00
deadprogram 500283c87f [ble] Complete implementation for initial drone inferface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:45:00 +02:00
deadprogram cca3a1cacd [ble] Rename files to match current naming scheme
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:11:04 +02:00
deadprogram 5018107377 [ble] Use constants for service/characteristic IDs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:09:48 +02:00
ron ef99b92190 [ble] Able to takeoff and land 2016-07-04 23:54:44 +02:00
deadprogram a95af64ecb [ble] Startup Pcmd
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 22:53:54 +02:00
deadprogram eedc5081ed [ble] Flying and landing and landed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 22:23:59 +02:00
deadprogram fbea6e76f0 [ble] Ready for takeoff?
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 20:31:15 +02:00
deadprogram f86f0fa76d [ble] Battery and status events
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 20:10:30 +02:00
ron 7887140073 [ble] Able to connect and retrieve battery notifications 2016-07-04 19:46:42 +02:00
deadprogram e001cce97c [ble] Experiments aerial
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 17:00:36 +02:00
ron 634387337b [ble] Separate options for linux and OSX 2016-07-04 11:46:27 +02:00
deadprogram 04bf4c355c [ble] Device information service
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 12:46:29 +02:00
deadprogram da9054d197 go fmt the code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 12:11:34 +02:00
deadprogram 25c861571c Making sure tests pass
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 11:15:42 +02:00
deadprogram 9b779e40ab Switching to currantlabs fork of gatt, and some related refactoring
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
Ranjib Dey a589be6491 fix specs 2016-07-03 10:52:11 +02:00
Ranjib Dey a14e50d9ea support gpio pin turn on and off 2016-07-03 10:52:11 +02:00