This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jacobs-MacBook-Air:gcc jacobrosenthal$ openocd -f board/nordic_nrf51822_mkit.cfg -c "reset_config srst_only; program /Users/jacobrosenthal/Downloads/s110_nrf51822_7.3.0/s110_nrf51822_7.3.0_softdevice.hex verify; shutdown" -d3 | |
| Open On-Chip Debugger 0.9.0 (2015-05-28-12:05) | |
| Licensed under GNU GPL v2 | |
| For bug reports, read | |
| http://openocd.org/doc/doxygen/bugs.html | |
| User : 13 3 command.c:546 command_print(): debug_level: 3 | |
| Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/local/Cellar/open-ocd/0.9.0/bin | |
| Debug: 15 3 options.c:99 add_default_dirs(): pkgdatadir=/usr/local/Cellar/open-ocd/0.9.0/share/openocd | |
| Debug: 16 3 options.c:100 add_default_dirs(): run_prefix= | |
| Debug: 17 3 configuration.c:44 add_script_search_dir(): adding /Users/jacobrosenthal/.openocd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jacobs-MacBook-Air:gcc jacobrosenthal$ openocd -f board/nordic_nrf51822_mkit.cfg -d3 | |
| Open On-Chip Debugger 0.9.0 (2015-05-28-12:05) | |
| Licensed under GNU GPL v2 | |
| For bug reports, read | |
| http://openocd.org/doc/doxygen/bugs.html | |
| User : 13 2 command.c:546 command_print(): debug_level: 3 | |
| Debug: 14 2 options.c:98 add_default_dirs(): bindir=/usr/local/Cellar/open-ocd/0.9.0/bin | |
| Debug: 15 2 options.c:99 add_default_dirs(): pkgdatadir=/usr/local/Cellar/open-ocd/0.9.0/share/openocd | |
| Debug: 16 2 options.c:100 add_default_dirs(): run_prefix= | |
| Debug: 17 2 configuration.c:44 add_script_search_dir(): adding /Users/jacobrosenthal/.openocd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jacobs-MacBook-Air:gcc jacobrosenthal$ openocd -f board/nordic_nrf51822_mkit.cfg -c "program /Users/jacobrosenthal/Downloads/s110_nrf51822_7.3.0/s110_nrf51822_7.3.0_softdevice.hex verify; shutdown" -d | |
| Open On-Chip Debugger 0.9.0 (2015-05-28-12:05) | |
| Licensed under GNU GPL v2 | |
| For bug reports, read | |
| http://openocd.org/doc/doxygen/bugs.html | |
| User : 13 3 command.c:546 command_print(): debug_level: 3 | |
| Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/local/Cellar/open-ocd/0.9.0/bin | |
| Debug: 15 3 options.c:99 add_default_dirs(): pkgdatadir=/usr/local/Cellar/open-ocd/0.9.0/share/openocd | |
| Debug: 16 3 options.c:100 add_default_dirs(): run_prefix= | |
| Debug: 17 3 configuration.c:44 add_script_search_dir(): adding /Users/jacobrosenthal/.openocd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Sample React Native App | |
| * https://github.com/facebook/react-native | |
| */ | |
| 'use strict'; | |
| var React = require('react-native'); | |
| var { | |
| AppRegistry, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Last login: Sat Oct 3 19:09:03 on ttys001 | |
| cd Jacobs-MacBook-Air:~ jacobrosenthal$ cd /Users/jacobrosenthal/Downloads/node-ystone-beacon | |
| Jacobs-MacBook-Air:node-eddystone-beacon jacobrosenthal$ DEBUG=* node examples/uid/with-tlm.js | |
| bleno platform darwin +0ms | |
| bleno addressChange b8:e8:56:03:d3:ed +3ms | |
| bindings sendCBMsg: 1, { | |
| "kCBMsgArgName": "node-1443893725770", | |
| "kCBMsgArgOptions": { | |
| "kCBInitOptionShowPowerAlert": 1 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./node_modules/.bin/node-pre-gyp install --fallback- | |
| -to-build 2>&1 > log.txt | |
| [37m[40mnode-pre-gyp[0m [0m[32minfo[0m [0m[35mit worked if it ends with[0m ok | |
| [0m[37m[40mnode-pre-gyp[0m [0m[32minfo[0m [0m[35musing[0m [email protected] | |
| [0m[37m[40mnode-pre-gyp[0m [0m[32minfo[0m [0m[35musing[0m [email protected] | linux | arm | |
| [0m[37m[40mnode-pre-gyp[0m [0m[32minfo[0m [0m[35mcheck[0m checked for "/home/pi/node-serialport/build/serialport/v1.7.4/Release/node-v46-linux-arm/serialport.node" (not found) | |
| [0m[37m[40mnode-pre-gyp[0m [0m[32m[40mhttp[0m [0m[35mGET[0m https://node-serialport.s3.amazonaws.com/serialport/v1.7.4/Release/node-v46-linux-arm.tar.gz | |
| [0m[37m[40mnode-pre-gyp[0m [0m[32m[40mhttp[0m [0m[35m404[0m https://node-serialport.s3.amazonaws.com/serialport/v1.7.4/Release/node-v46-linux-arm.tar.gz | |
| [0m[37m[40mnode-pre-gyp[0m [0m[32m[40mhttp[0m [0m[35mPre-built binary not available for your system, looked for https://node-serialport.s3.amazonaws.com/s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2015-09-29 02:08:03.310259 > HCI Event: Command Complete (0x0e) plen 4 | |
| LE Set Advertising Data (0x08|0x0008) ncmd 1 | |
| status 0x00 | |
| 2015-09-29 02:08:03.312255 > HCI Event: Command Complete (0x0e) plen 4 | |
| LE Set Advertise Enable (0x08|0x000a) ncmd 1 | |
| status 0x0c | |
| Error: Command Disallowed | |
| 2015-09-29 02:08:03.314266 > HCI Event: Command Complete (0x0e) plen 4 | |
| LE Set Scan Response Data (0x08|0x0009) ncmd 1 | |
| status 0x00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jacob@gaia:~/Downloads/ble_software$ hcidump -t -x | |
| HCI sniffer - Bluetooth packet analyzer ver 5.23 | |
| device: hci0 snap_len: 1500 filter: 0xffffffff | |
| 2015-09-29 03:49:55.964575 > HCI Event: Command Complete (0x0e) plen 4 | |
| LE Set Scan Response Data (0x08|0x0009) ncmd 1 | |
| status 0x00 | |
| 2015-09-29 03:49:55.965584 > HCI Event: Command Complete (0x0e) plen 4 | |
| LE Set Advertising Data (0x08|0x0008) ncmd 1 | |
| status 0x00 | |
| 2015-09-29 03:49:55.966575 > HCI Event: Command Complete (0x0e) plen 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ^CJacobs-MacBook-Air:bleno jacobrosenthalDEBUG=bindings node examples/battery-service/main.js | |
| bindings sendCBMsg: 1, { | |
| "kCBMsgArgName": "node-1443477764659", | |
| "kCBMsgArgOptions": { | |
| "kCBInitOptionShowPowerAlert": 1 | |
| }, | |
| "kCBMsgArgType": 1 | |
| } +0ms | |
| bindings xpcEvent: { | |
| "kCBMsgId": 6, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jacob@gaia:~/Downloads/ble_software$ DEBUG=bindings,gatt,gap,smp,mgmt,crypto,acl-att-stream node node_modules/bleno/examples/battery-service/main.js | |
| on -> stateChange: poweredOn | |
| gap startAdvertising: name = Battery, serviceUuids = [ | |
| "180F" | |
| ] +0ms | |
| gap startAdvertisingWithEIRData: advertisement data = 02010603030f18, scan data = 080842617474657279 +4ms | |
| on -> advertisingStart: success | |
| gatt handles = [ | |
| {}, | |
| { |