cheniel / pebble-bot Goto Github PK
View Code? Open in Web Editor NEWSoccer-playing robot controlled by the Pebble Smartwatch and a LightBlue Bean using experimental BLE firmware. Pebble Developer Retreat 2014.
Soccer-playing robot controlled by the Pebble Smartwatch and a LightBlue Bean using experimental BLE firmware. Pebble Developer Retreat 2014.
Attempting to compile pebble-bot fails with numerous references to undefined BT types/functions. Where can a maker download the special BLE SDK firmware mentioned in the readme? At Maker Faire 2015, Thomas Sarlandie said everything would be available on the web site:
"In the Pebble with the BLE SDK we have the ability to scan for BLE controls โฆ all of the source code for the robot project is completely available on our web site. We have the source code for the robots but also the source code for the pebble application of course. It's very easy to do it; and it's about an afternoon of work to build."
For example, here's a sample set of errors that show up when attempting to compile on CloudPebble:
[10/15] c: src/ble_sumo_control.c -> build/src/ble_sumo_control.c.7.o
In file included from ../src/ble_sumo_scan.c:2:0:
../src/ble_sumo_control.h:5:34: error: unknown type name 'BTDevice'
../src/ble_sumo_scan.c:10:3: error: unknown type name 'BTDevice'
../src/ble_sumo_scan.c:53:1: error: unknown type name 'BTDevice'
../src/ble_sumo_scan.c: In function 'list_unlink':
../src/ble_sumo_scan.c:57:5: error: implicit declaration of function 'bt_device_equal' [-Werror=implicit-function-declaration]
../src/ble_sumo_scan.c: At top level:
../src/ble_sumo_scan.c:134:30: error: unknown type name 'BTDevice'
../src/ble_sumo_scan.c:136:30: error: unknown type name 'BLEAdData'
../src/ble_sumo_scan.c: In function 'toggle_scan':
../src/ble_sumo_scan.c:214:5: error: implicit declaration of function 'ble_scan_stop' [-Werror=implicit-function-declaration]
../src/ble_sumo_scan.c:217:5: error: implicit declaration of function 'ble_scan_start' [-Werror=implicit-function-declaration]
../src/ble_sumo_scan.c:217:20: error: 'ble_scan_handler' undeclared (first use in this function)
../src/ble_sumo_scan.c: In function 'draw_data_row':
../src/ble_sumo_scan.c:272:5: error: unknown type name 'BTDeviceAddress'
../src/ble_sumo_scan.c:272:5: error: implicit declaration of function 'bt_device_get_address' [-Werror=implicit-function-declaration]
../src/ble_sumo_scan.c:273:36: error: 'BT_DEVICE_ADDRESS_FMT' undeclared (first use in this function)
../src/ble_sumo_scan.c: In function 'menu_select_callback':
../src/ble_sumo_scan.c:315:3: error: implicit declaration of function 'ble_sumo_control_set_device' [-Werror=implicit-function-declaration]
In file included from ../src/ble_sumo_control.c:1:0:
../src/ble_sumo_control.h:5:34: error: unknown type name 'BTDevice'
../src/ble_sumo_control.c:4:3: error: unknown type name 'BTDevice'
../src/ble_sumo_control.c:10:3: error: unknown type name 'BLECharacteristic'
../src/ble_sumo_control.c:11:3: error: unknown type name 'BLECharacteristic'
../src/ble_sumo_control.c:23:36: error: unknown type name 'BTDevice'
../src/ble_sumo_control.c:24:36: error: unknown type name 'BLEService'
../src/ble_sumo_control.c:26:36: error: unknown type name 'BTErrno'
../src/ble_sumo_control.c:98:32: error: unknown type name 'BTDevice'
../src/ble_sumo_control.c:98:49: error: unknown type name 'BTErrno'
../src/ble_sumo_control.c:117:34: error: unknown type name 'BTDevice'
../src/ble_sumo_control.c: In function 'connect':
../src/ble_sumo_control.c:122:3: error: unknown type name 'BTErrno'
../src/ble_sumo_control.c:122:3: error: implicit declaration of function 'ble_central_connect' [-Werror=implicit-function-declaration]
../src/ble_sumo_control.c: In function 'disconnect':
../src/ble_sumo_control.c:134:3: error: unknown type name 'BTErrno'
../src/ble_sumo_control.c:134:3: error: implicit declaration of function 'ble_central_cancel_connect' [-Werror=implicit-function-declaration]
../src/ble_sumo_control.c: In function 'ready':
../src/ble_sumo_control.c:144:3: error: unknown type name 'BTDeviceAddress'
../src/ble_sumo_control.c:144:3: error: implicit declaration of function 'bt_device_get_address' [-Werror=implicit-function-declaration]
../src/ble_sumo_control.c:146:29: error: expected ')' before 'BT_DEVICE_ADDRESS_FMT'
../src/ble_sumo_control.c:144:25: warning: unused variable 'address' [-Wunused-variable]
../src/ble_sumo_control.c: In function 'window_load':
../src/ble_sumo_control.c:162:3: error: implicit declaration of function 'ble_central_set_connection_handler' [-Werror=implicit-function-declaration]
../src/ble_sumo_control.c:162:38: error: 'connection_handler' undeclared (first use in this function)
../src/ble_sumo_control.c:162:38: note: each undeclared identifier is reported only once for each function it appears in
../src/ble_sumo_control.c:163:3: error: implicit declaration of function 'ble_client_set_service_change_handler' [-Werror=implicit-function-declaration]
../src/ble_sumo_control.c:163:41: error: 'service_change_handler' undeclared (first use in this function)
../src/ble_sumo_control.c: In function 'handle_down_button_up':
../src/ble_sumo_control.c:190:3: error: implicit declaration of function 'ble_client_write_without_response' [-Werror=implicit-function-declaration]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.