Commit Graph

1896 Commits

Author SHA1 Message Date
deadprogram 781eacd40a edison: refactor read/write functions and increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 12:59:50 +02:00
deadprogram 5d326bd177 core: increase test coverage for utils
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 11:24:09 +02:00
deadprogram eb4ce6bda5 mqtt: increase test coverage for driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 10:59:33 +02:00
deadprogram 868198d2aa mqtt: increase test coverage for adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 10:46:28 +02:00
deadprogram 900d00b3e8 mqtt: increase test coverage for adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 10:30:30 +02:00
deadprogram 608edc4f51 mavlink: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram b996bb7d74 mavlink: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram 91636fe4c4 mavlink: create UDPConnection interface for testabilty
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram 21210bce46 mavlink: UDP writes must be to specific address
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram 311bfcfb45 mqtt: update examples that use mqtt for updated notification signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:21:34 +02:00
Ron Evans b97869ee0a Merge pull request #408 from nzmichaelh/mqtt
mqtt: add a (topic, payload) event type.
2017-04-19 09:11:27 +02:00
Michael Hope 749caed2c1 mqtt: add documentation for Message.
Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-18 19:51:24 +02:00
Michael Hope 29510498a0 mqtt: change the On handler to take mqtt.Message.
Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-18 19:49:17 +02:00
Michael Hope c6f122a809 Merge branch 'dev' into mqtt 2017-04-17 17:37:09 +02:00
Michael Hope 0af944edb5 mqtt: update the README to match the new On() prototype.
Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-17 17:33:41 +02:00
Michael Hope 58e1a6d74b mqtt: change the On() handler to take the topic as an argument.
This allows wildcard subscriptions.

Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-17 17:31:02 +02:00
Michael Hope 1e9030068b Merge remote-tracking branch 'upstream/dev' into mqtt 2017-04-17 17:29:31 +02:00
Ron Evans 15823a6414 Merge pull request #407 from nzmichaelh/mavlink-udp
mavlink: add a Mavlink-over-UDP adaptor.
2017-04-17 10:25:31 +02:00
Michael Hope 47e95b54d6 mavlink: update the README to cover UDP. 2017-04-17 09:38:55 +02:00
deadprogram fd55da83a1 sysfs: no need for else, just return
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-17 09:30:41 +02:00
Michael Hope 79bf7a5b01 mqtt: add a (topic, payload) event type.
Used for wildcard subscriptions such as 'device/topic/#'.

Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-16 20:41:49 +02:00
Michael Hope 96d6cbb3da Merge branch 'mavlink-udp' of github.com:nzmichaelh/gobot into mavlink-udp 2017-04-16 20:32:31 +02:00
Michael Hope 72d1d3bbc0 mavlink: add a Mavlink-over-UDP adaptor.
Handles UDP traffic from mavproxy and similar.

Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-16 20:32:15 +02:00
Michael Hope 71aaeb7b82 Merge remote-tracking branch 'upstream/dev' into mavlink-udp 2017-04-16 20:31:03 +02:00
Michael Hope 5a8992d30b mavlink: add a Mavlink-over-UDP adaptor.
Handles UDP traffic from mavproxy and similar.

Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-16 20:22:45 +02:00
deadprogram 227b52889e microbit: handle start error and increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-16 01:06:31 +02:00
deadprogram d7f00b1677 microbit: explain how to use IOPinDriver with gpio and aio drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:48:44 +02:00
deadprogram 9a2cc0b15b microbit: correct example pin mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:42:37 +02:00
deadprogram e43f1d6780 microbit: correctly read bit status for AD and IO pin status on Start
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:42:21 +02:00
deadprogram 6f3e81e8be gpio: only need to support DigitalReader/DigitalWriter interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:41:07 +02:00
deadprogram 30df5dc11e aio: only need to support AnalogReader interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:40:41 +02:00
deadprogram 1ed421a2af microbit: explain how to use IOPinDriver with gpio and aio drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:00:09 +02:00
deadprogram 81e36f5aa0 microbit: increase test coverage for IOPinDriver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:52:39 +02:00
deadprogram 5059a8c2f2 microbit: add example showing gpio Button and LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:46:43 +02:00
deadprogram 89daf5c324 microbit: refactoring and increase test coverage for IOPinDriver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:37:33 +02:00
deadprogram c457be7bb6 microbit: increase test coverage for IOPinDriver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:19:19 +02:00
deadprogram ca2854bdf0 microbit: add DigitalWriter, DigitalReader, and AnalogReader support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:07:53 +02:00
deadprogram 8eedc24c75 docs: remove extra references to license where not needed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 21:54:20 +02:00
deadprogram f82bf2b186 api: gofmt and update Robeaux
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 21:25:10 +02:00
deadprogram 81aa805914 api: update robeaux to v0.5.1
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 20:12:08 +02:00
deadprogram 7bfad4bea1 Prep for v1.4.0
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 19:42:44 +02:00
Ron Evans 9430e6e751 Merge pull request #406 from vlastv/fix-gpio-motor
Fix incorrect change state
2017-04-12 17:40:41 +02:00
deadprogram 6ae2003622 i2c: small refactor and increase test coverage for l3gd20h
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 17:37:05 +02:00
deadprogram 4b5fb71afb i2c: increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 17:23:28 +02:00
Vladislav Vlastovskiy 8c62d8ce86 Fix test on mode change when speed is set 2017-04-12 18:07:37 +03:00
deadprogram 9f03dff53a i2c: increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:56:47 +02:00
deadprogram 4714568628 i2c: small refactor and increase test coverage for tsl2561
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:44:15 +02:00
deadprogram 913ea01d3a i2c: increase test coverage for mpu6050
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:36:27 +02:00
deadprogram d8a0b9ae60 i2c: copy wiichuck joystick data in test to avoid race conditions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:11:55 +02:00
deadprogram 1dd9b1abc4 i2c: copy wiichuck joystick data to avoid race conditions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 16:00:22 +02:00