Skip to content

Instantly share code, notes, and snippets.

@mbifulco
Forked from deluxeomat/dumpWithDebug.txt
Last active February 13, 2017 14:41
Show Gist options
  • Save mbifulco/c26da65c47a3ca96edb10913cb0e7afe to your computer and use it in GitHub Desktop.
Save mbifulco/c26da65c47a3ca96edb10913cb0e7afe to your computer and use it in GitHub Desktop.
pi@raspberrypi:~ $ sudo hcidump -t -x & sudo DEBUG=* node NobleDebug.js
[3] 1124
HCI sniffer - Bluetooth packet analyzer ver 5.33
device: hci0 snap_len: 1500 filter: 0xffffffff
hci setting filter to: 1600000020c10000000000400000 +0ms
hci set event mask - writing: 01010c08fffffbff07f8bf3d +32ms
2017-01-21 21:06:49.104327 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
2017-01-21 21:06:49.104327 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
2017-01-21 21:06:49.104327 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0xfffffbff07f8bf3d
Mask: 0xfffffbff07f8bf3d
2017-01-21 21:06:49.104891 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.104891 > HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 1
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
status 0x00
Mask: 0xfffffbff07f8bf3d
2017-01-21 21:06:49.104891 > HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
hci set le event mask - writing: 010120081f00000000000000 +13ms
2017-01-21 21:06:49.107437 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
2017-01-21 21:06:49.107437 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
2017-01-21 21:06:49.107437 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0x1f00000000000000 (Reserved)
mask 0x1f00000000000000 (Reserved)
mask 0x1f00000000000000 (Reserved)
2017-01-21 21:06:49.108035 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.108035 > HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 1
LE Set Event Mask (0x08|0x0001) ncmd 1
status 0x00
status 0x00
2017-01-21 21:06:49.108035 > HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 1
status 0x00
2017-01-21 21:06:49.109109 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-01-21 21:06:49.109109 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-01-21 21:06:49.109109 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-01-21 21:06:49.109601 > HCI Event: Command Complete (0x0e) plen 12
2017-01-21 21:06:49.109601 > HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 1
Read Local Version Information (0x04|0x0001) ncmd 1
status 0x00
status 0x00
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
2017-01-21 21:06:49.109601 > HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 1
status 0x00
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
2017-01-21 21:06:49.111307 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
2017-01-21 21:06:49.111307 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
01 00
01 00
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
2017-01-21 21:06:49.111307 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
01 00
2017-01-21 21:06:49.111740 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.111740 > HCI Event: Command Complete (0x0e) plen 4
Write LE Host Supported (0x03|0x006d) ncmd 1
00
Write LE Host Supported (0x03|0x006d) ncmd 1
00
2017-01-21 21:06:49.111740 > HCI Event: Command Complete (0x0e) plen 4
Write LE Host Supported (0x03|0x006d) ncmd 1
00
2017-01-21 21:06:49.114484 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-01-21 21:06:49.114484 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-01-21 21:06:49.114484 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-01-21 21:06:49.114941 > HCI Event: Command Complete (0x0e) plen 6
2017-01-21 21:06:49.114941 > HCI Event: Command Complete (0x0e) plen 6
Read LE Host Supported (0x03|0x006c) ncmd 1
Read LE Host Supported (0x03|0x006c) ncmd 1
00 01 00
00 01 00
2017-01-21 21:06:49.114941 > HCI Event: Command Complete (0x0e) plen 6
Read LE Host Supported (0x03|0x006c) ncmd 1
00 01 00
2017-01-21 21:06:49.115980 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-01-21 21:06:49.115980 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-01-21 21:06:49.115980 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-01-21 21:06:49.116445 > HCI Event: Command Complete (0x0e) plen 10
2017-01-21 21:06:49.116445 > HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 1
Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr E0:76:D0:DD:9B:2D
status 0x00 bdaddr E0:76:D0:DD:9B:2D
2017-01-21 21:06:49.116445 > HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr E0:76:D0:DD:9B:2D
Noble {
state: 'unknown',
address: 'unknown',
_bindings:
EventEmitter {
_state: null,
_addresses: {},
_addresseTypes: {},
_connectable: {},
_pendingConnectionUuid: null,
_connectionQueue: [],
_handles: {},
_gatts: {},
_aclStreams: {},
_hci:
EventEmitter {
_socket: [Object],
_isDevUp: true,
_state: null,
_deviceId: 0,
_handleBuffers: {},
_events: [Object],
_eventsCount: 13 },
_gap:
EventEmitter {
_hci: [Object],
_scanState: null,
_scanFilterDuplicates: null,
_discoveries: {},
_events: [Object],
_eventsCount: 3 },
_events:
{ stateChange: [Function: bound ],
addressChange: [Function: bound ],
scanStart: [Function: bound ],
scanStop: [Function: bound ],
discover: [Function: bound ],
connect: [Function: bound ],
disconnect: [Function: bound ],
rssiUpdate: [Function: bound ],
servicesDiscover: [Function: bound ],
includedServicesDiscover: [Function: bound ],
characteristicsDiscover: [Function: bound ],
read: [Function: bound ],
write: [Function: bound ],
broadcast: [Function: bound ],
notify: [Function: bound ],
descriptorsDiscover: [Function: bound ],
valueRead: [Function: bound ],
valueWrite: [Function: bound ],
handleRead: [Function: bound ],
handleWrite: [Function: bound ],
handleNotify: [Function: bound ] },
_eventsCount: 21,
onSigIntBinded: [Function: bound ] },
_peripherals: {},
_services: {},
_characteristics: {},
_descriptors: {},
_discoveredPeripheralUUids: [],
_events: { warning: [Function: bound ] },
_eventsCount: 1 }
hci read local version - writing: 01011000 +2ms
hci write LE host supported - writing: 016d0c020100 +2ms
hci read LE host supported - writing: 016c0c00 +2ms
hci read bd addr - writing: 01091000 +3ms
hci onSocketData: 040e0401010c00 +204ms
hci event type = 4 +3ms
hci sub event type = 14 +1ms
hci cmd = 3073 +1ms
hci status = 0 +1ms
hci result = +0ms
hci onSocketData: 040e0401012000 +3ms
hci event type = 4 +1ms
hci sub event type = 14 +0ms
hci cmd = 8193 +1ms
hci status = 0 +0ms
hci result = +1ms
hci onSocketData: 040e0c0101100007b600070f000922 +0ms
hci event type = 4 +1ms
hci sub event type = 14 +0ms
hci cmd = 4097 +0ms
hci status = 0 +0ms
hci result = 07b600070f000922 +1ms
hci set scan enabled - writing: 010c20020001 +2ms
2017-01-21 21:06:49.335520 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-21 21:06:49.335520 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-21 21:06:49.335520 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
value 0x00 (scanning disabled)
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
filter duplicates 0x01 (enabled)
filter duplicates 0x01 (enabled)
2017-01-21 21:06:49.335971 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.335971 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.335971 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
status 0x0c
status 0x0c
Error: Command Disallowed
Error: Command Disallowed
Error: Command Disallowed
hci set scan parameters - writing: 010b200701100010000000 +1ms
2017-01-21 21:06:49.337331 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
2017-01-21 21:06:49.337331 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
2017-01-21 21:06:49.337331 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
type 0x01 (active)
type 0x01 (active)
type 0x01 (active)
interval 10.000ms window 10.000ms
interval 10.000ms window 10.000ms
interval 10.000ms window 10.000ms
own address: 0x00 (Public) policy: All
own address: 0x00 (Public) policy: All
own address: 0x00 (Public) policy: All
2017-01-21 21:06:49.337859 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.337859 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.337859 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Parameters (0x08|0x000b) ncmd 1
LE Set Scan Parameters (0x08|0x000b) ncmd 1
LE Set Scan Parameters (0x08|0x000b) ncmd 1
status 0x00
status 0x00
status 0x00
hci onSocketData: 040e04016d0c00 +2ms
hci event type = 4 +0ms
hci sub event type = 14 +0ms
hci cmd = 3181 +1ms
hci status = 0 +0ms
hci result = +0ms
hci onSocketData: 040e06016c0c000100 +1ms
hci event type = 4 +0ms
hci sub event type = 14 +0ms
hci cmd = 3180 +0ms
hci status = 0 +1ms
hci result = 0100 +0ms
hci le = 1 +0ms
hci simul = 0 +1ms
hci onSocketData: 040e0a010910002d9bddd076e0 +0ms
hci event type = 4 +0ms
hci sub event type = 14 +0ms
hci cmd = 4105 +1ms
hci status = 0 +0ms
hci result = 2d9bddd076e0 +0ms
hci address = e0:76:d0:dd:9b:2d +3ms
noble addressChange e0:76:d0:dd:9b:2d +0ms
hci onSocketData: 040e04010c200c +5ms
hci event type = 4 +0ms
hci sub event type = 14 +0ms
hci cmd = 8204 +0ms
hci status = 12 +1ms
hci result = +0ms
hci onSocketData: 040e04010b2000 +0ms
hci event type = 4 +1ms
hci sub event type = 14 +0ms
hci cmd = 8203 +0ms
hci status = 0 +0ms
hci result = +0ms
noble stateChange poweredOn +2ms
------------------- Here start scanning ---------------------
Start scanning
hci set scan enabled - writing: 010c20020100 +3ms
2017-01-21 21:06:49.359120 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-21 21:06:49.359120 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-21 21:06:49.359120 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x01 (scanning enabled)
value 0x01 (scanning enabled)
value 0x01 (scanning enabled)
filter duplicates 0x00 (disabled)
filter duplicates 0x00 (disabled)
filter duplicates 0x00 (disabled)
2017-01-21 21:06:49.359624 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.359624 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.359624 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
status 0x00
status 0x00
hci onSocketData: 040e04010c2000 +2ms
hci event type = 4 +1ms
hci sub event type = 14 +0ms
hci cmd = 8204 +0ms
hci status = 0 +1ms
hci result = +0ms
noble scanStart +1ms
2017-01-21 21:06:49.371879 > HCI Event: LE Meta Event (0x3e) plen 41
2017-01-21 21:06:49.371879 > HCI Event: LE Meta Event (0x3e) plen 41
2017-01-21 21:06:49.371879 > HCI Event: LE Meta Event (0x3e) plen 41
LE Advertising Report
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
Flags: 0x1a
Flags: 0x1a
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Unknown type 0x07 with 16 bytes data
Unknown type 0x07 with 16 bytes data
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
RSSI: -33
RSSI: -33
RSSI: -33
hci onSocketData: 043e29020100012283b3e0bd461d02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00df +9ms
hci event type = 4 +0ms
hci sub event type = 62 +0ms
hci LE meta event type = 2 +1ms
hci LE meta event status = 1 +0ms
hci LE meta event data = 00012283b3e0bd461d02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00df +0ms
hci type = 0 +2ms
hci address = 46:bd:e0:b3:83:22 +1ms
hci address type = random +0ms
hci eir = 02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00 +1ms
hci rssi = -33 +0ms
gap advertisement = {"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]} +12ms
2017-01-21 21:06:49.401878 > HCI Event: LE Meta Event (0x3e) plen 41
2017-01-21 21:06:49.401878 > HCI Event: LE Meta Event (0x3e) plen 41
2017-01-21 21:06:49.401878 > HCI Event: LE Meta Event (0x3e) plen 41
LE Advertising Report
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
Flags: 0x1a
Flags: 0x1a
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Unknown type 0x07 with 16 bytes data
Unknown type 0x07 with 16 bytes data
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
RSSI: -37
RSSI: -37
RSSI: -37
hci onSocketData: 043e29020100012283b3e0bd461d02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00db +13ms
hci event type = 4 +0ms
hci sub event type = 62 +0ms
hci LE meta event type = 2 +1ms
hci LE meta event status = 1 +0ms
hci LE meta event data = 00012283b3e0bd461d02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00db +1ms
hci type = 0 +1ms
hci address = 46:bd:e0:b3:83:22 +0ms
hci address type = random +0ms
hci eir = 02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00 +1ms
hci rssi = -37 +0ms
gap advertisement = {"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]} +2ms
----------------- discover --------------------
Discover: {"id":"46bde0b38322","address":"46:bd:e0:b3:83:22","addressType":"random","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-37,"state":"disconnected"}
2017-01-21 21:06:49.431866 > HCI Event: LE Meta Event (0x3e) plen 41
2017-01-21 21:06:49.431866 > HCI Event: LE Meta Event (0x3e) plen 41
2017-01-21 21:06:49.431866 > HCI Event: LE Meta Event (0x3e) plen 41
LE Advertising Report
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
Flags: 0x1a
Flags: 0x1a
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Unknown type 0x07 with 16 bytes data
Unknown type 0x07 with 16 bytes data
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
RSSI: -49
RSSI: -49
RSSI: -49
hci onSocketData: 043e29020100012283b3e0bd461d02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00cf +24ms
2017-01-21 21:06:49.432713 > HCI Event: LE Meta Event (0x3e) plen 36
2017-01-21 21:06:49.432713 > HCI Event: LE Meta Event (0x3e) plen 36
2017-01-21 21:06:49.432713 > HCI Event: LE Meta Event (0x3e) plen 36
LE Advertising Report
LE Advertising Report
LE Advertising Report
SCAN_RSP - Scan Response (4)
SCAN_RSP - Scan Response (4)
SCAN_RSP - Scan Response (4)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
Complete local name: 'Advertising Peripheral'
Complete local name: 'Advertising Peripheral'
RSSI: -49
Complete local name: 'Advertising Peripheral'
RSSI: -49
RSSI: -49
hci event type = 4 +1ms
hci sub event type = 62 +0ms
hci LE meta event type = 2 +0ms
hci LE meta event status = 1 +0ms
hci LE meta event data = 00012283b3e0bd461d02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00cf +1ms
hci type = 0 +0ms
hci address = 46:bd:e0:b3:83:22 +0ms
hci address type = random +0ms
hci eir = 02011a1107d0b07ebb53614b9b584732bcac0b41b307ff4c0010020b00 +0ms
hci rssi = -49 +1ms
gap advertisement = {"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]} +2ms
----------------- discover --------------------
Discover: {"id":"46bde0b38322","address":"46:bd:e0:b3:83:22","addressType":"random","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-49,"state":"disconnected"}
hci onSocketData: 043e24020104012283b3e0bd461817094164766572746973696e67205065726970686572616ccf +4ms
hci event type = 4 +0ms
hci sub event type = 62 +0ms
hci LE meta event type = 2 +1ms
hci LE meta event status = 1 +0ms
hci LE meta event data = 04012283b3e0bd461817094164766572746973696e67205065726970686572616ccf +0ms
hci type = 4 +1ms
hci address = 46:bd:e0:b3:83:22 +0ms
hci address type = random +0ms
hci eir = 17094164766572746973696e67205065726970686572616c +0ms
hci rssi = -49 +1ms
gap advertisement = {"localName":"Advertising Peripheral","manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]} +0ms
----------------- discover --------------------
Discover: {"id":"46bde0b38322","address":"46:bd:e0:b3:83:22","addressType":"random","connectable":true,"advertisement":{"localName":"Advertising Peripheral","manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-49,"state":"disconnected"}
hci create le conn - writing: 010d20196000300000012283b3e0bd460006000c000000c80004000600 +6ms
2017-01-21 21:06:49.451495 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
2017-01-21 21:06:49.451495 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
2017-01-21 21:06:49.451495 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
bdaddr 46:BD:E0:B3:83:22 type 1
bdaddr 46:BD:E0:B3:83:22 type 1
bdaddr 46:BD:E0:B3:83:22 type 1
interval 96 window 48 initiator_filter 0
interval 96 window 48 initiator_filter 0
interval 96 window 48 initiator_filter 0
own_bdaddr_type 0 min_interval 6 max_interval 12
own_bdaddr_type 0 min_interval 6 max_interval 12
own_bdaddr_type 0 min_interval 6 max_interval 12
latency 0 supervision_to 200 min_ce 4 max_ce 6
latency 0 supervision_to 200 min_ce 4 max_ce 6
latency 0 supervision_to 200 min_ce 4 max_ce 6
2017-01-21 21:06:49.454168 > HCI Event: Command Status (0x0f) plen 4
2017-01-21 21:06:49.454168 > HCI Event: Command Status (0x0f) plen 4
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
2017-01-21 21:06:49.454168 > HCI Event: Command Status (0x0f) plen 4
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
hci onSocketData: 040f0400010d20 +4ms
hci event type = 4 +1ms
hci sub event type = 15 +0ms
hci status = 0 +0ms
hci cmd = 8205 +1ms
2017-01-21 21:06:49.462733 > HCI Event: LE Meta Event (0x3e) plen 19
2017-01-21 21:06:49.462733 > HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
LE Connection Complete
status 0x00 handle 64, role master
status 0x00 handle 64, role master
bdaddr 46:BD:E0:B3:83:22 (Random)
bdaddr 46:BD:E0:B3:83:22 (Random)
2017-01-21 21:06:49.462733 > HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
status 0x00 handle 64, role master
bdaddr 46:BD:E0:B3:83:22 (Random)
2017-01-21 21:06:49.463119 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
2017-01-21 21:06:49.463119 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
40 00
40 00
2017-01-21 21:06:49.463119 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
40 00
2017-01-21 21:06:49.464996 > HCI Event: Command Status (0x0f) plen 4
2017-01-21 21:06:49.464996 > HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2017-01-21 21:06:49.465089 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-21 21:06:49.465089 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
value 0x00 (scanning disabled)
filter duplicates 0x00 (disabled)
filter duplicates 0x00 (disabled)
2017-01-21 21:06:49.465690 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:06:49.465690 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
status 0x00
2017-01-21 21:06:49.464996 > HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2017-01-21 21:06:49.465089 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x00 (disabled)
2017-01-21 21:06:49.465690 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
2017-01-21 21:06:49.565817 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-21 21:06:49.565817 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-21 21:06:49.565817 > HCI Event: LE Meta Event (0x3e) plen 12
LE Read Remote Used Features Complete
LE Read Remote Used Features Complete
LE Read Remote Used Features Complete
status 0x3e handle 64
status 0x3e handle 64
status 0x3e handle 64
Error: Connection Failed to be Established
Error: Connection Failed to be Established
Error: Connection Failed to be Established
hci onSocketData: 043e130100400000012283b3e0bd460c000000c80000 +110ms
hci event type = 4 +0ms
hci sub event type = 62 +1ms
hci LE meta event type = 1 +7ms
hci LE meta event status = 0 +1ms
hci LE meta event data = 400000012283b3e0bd460c000000c80000 +3ms
hci handle = 64 +2ms
hci role = 0 +1ms
hci address type = random +12ms
hci address = 46:bd:e0:b3:83:22 +1ms
hci interval = 15 +0ms
hci latency = 0 +1ms
hci supervision timeout = 2000 +0ms
hci master clock accuracy = 0 +0ms
2017-01-21 21:06:49.566373 > HCI Event: Disconn Complete (0x05) plen 4
2017-01-21 21:06:49.566373 > HCI Event: Disconn Complete (0x05) plen 4
2017-01-21 21:06:49.566373 > HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 64 reason 0x3e
status 0x00 handle 64 reason 0x3e
status 0x00 handle 64 reason 0x3e
Reason: Connection Failed to be Established
Reason: Connection Failed to be Established
Reason: Connection Failed to be Established
att 46:bd:e0:b3:83:22: write: 020001 +26ms
hci write acl data pkt - writing: 024000070003000400020001 +1ms
----------------- connected to peripheral -----------------------
connected to peripheral: {"id":"46bde0b38322","address":"46:bd:e0:b3:83:22","addressType":"random","connectable":true,"advertisement":{"localName":"Advertising Peripheral","manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":["b3410bacbc3247589b4b6153bb7eb0d0"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-49,"state":"connected"}
hci onSocketData: 011620024000 +13ms
hci event type = 1 +1ms
hci cmd = 8214 +0ms
hci data len = 2 +1ms
hci onSocketData: 040f0400011620 +1ms
hci event type = 4 +0ms
hci sub event type = 15 +1ms
hci status = 0 +0ms
hci cmd = 8214 +0ms
hci onSocketData: 010c20020000 +1ms
hci event type = 1 +0ms
2017-01-21 21:06:49.640618 < ACL data: handle 64 flags 0x00 dlen 7
2017-01-21 21:06:49.640618 < ACL data: handle 64 flags 0x00 dlen 7
ATT: MTU req (0x02)
ATT: MTU req (0x02)
client rx mtu 256
client rx mtu 256
hci cmd = 8204 +0ms
hci data len = 2 +1ms
hci LE enable scan command +0ms
hci enable scanning = false +1ms
2017-01-21 21:06:49.640618 < ACL data: handle 64 flags 0x00 dlen 7
ATT: MTU req (0x02)
client rx mtu 256
hci filter duplicates = false +0ms
noble scanStop +1ms
hci onSocketData: 040e04010c2000 +1ms
hci event type = 4 +0ms
hci sub event type = 14 +0ms
hci cmd = 8204 +0ms
hci status = 0 +0ms
hci result = +0ms
hci onSocketData: 043e0c043e40001f00000000000000 +1ms
hci event type = 4 +0ms
hci sub event type = 62 +0ms
hci LE meta event type = 4 +0ms
hci LE meta event status = 62 +1ms
hci LE meta event data = 40001f00000000000000 +0ms
hci onSocketData: 0405040040003e +0ms
hci event type = 4 +0ms
hci sub event type = 5 +1ms
hci handle = 64 +0ms
hci reason = 62 +0ms
2017-01-21 21:06:49.770198 > HCI Event: Number of Completed Packets (0x13) plen 5
2017-01-21 21:06:49.770198 > HCI Event: Number of Completed Packets (0x13) plen 5
2017-01-21 21:06:49.770198 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 1
handle 64 packets 1
handle 64 packets 1
--------------- here keyboard interrupt ------------------
hci set scan enabled - writing: 010c20020001 +12s
2017-01-21 21:07:01.767921 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-21 21:07:01.767921 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
filter duplicates 0x01 (enabled)
2017-01-21 21:07:01.767921 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
2017-01-21 21:07:01.768475 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:07:01.768475 > HCI Event: Command Complete (0x0e) plen 4
2017-01-21 21:07:01.768475 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
status 0x0c
Error: Command Disallowed
Error: Command Disallowed
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
Error: Command Disallowed
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo hcidump -t -x & sudo node NobleDebug.js
[3] 5047
HCI sniffer - Bluetooth packet analyzer ver 5.33
device: hci0 snap_len: 1500 filter: 0xffffffff
2017-01-19 22:40:07.545142 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0xfffffbff07f8bf3d
2017-01-19 22:40:07.545142 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
2017-01-19 22:40:07.545718 > HCI Event: Command Complete (0x0e) plen 4
Mask: 0xfffffbff07f8bf3d
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
2017-01-19 22:40:07.545718 > HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
2017-01-19 22:40:07.545142 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0xfffffbff07f8bf3d
2017-01-19 22:40:07.545718 > HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
2017-01-19 22:40:07.546801 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
2017-01-19 22:40:07.546801 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0x1f00000000000000 (Reserved)
mask 0x1f00000000000000 (Reserved)
2017-01-19 22:40:07.546801 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0x1f00000000000000 (Reserved)
2017-01-19 22:40:07.547331 > HCI Event: Command Complete (0x0e) plen 4
2017-01-19 22:40:07.547331 > HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 1
LE Set Event Mask (0x08|0x0001) ncmd 1
status 0x00
status 0x00
2017-01-19 22:40:07.547331 > HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 1
status 0x00
2017-01-19 22:40:07.547746 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-01-19 22:40:07.547746 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-01-19 22:40:07.547746 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-01-19 22:40:07.548244 > HCI Event: Command Complete (0x0e) plen 12
2017-01-19 22:40:07.548244 > HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 1
Read Local Version Information (0x04|0x0001) ncmd 1
status 0x00
status 0x00
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
Manufacturer: Broadcom Corporation (15)
2017-01-19 22:40:07.548244 > HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 1
status 0x00
2017-01-19 22:40:07.548682 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
2017-01-19 22:40:07.548682 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
01 00
01 00
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
2017-01-19 22:40:07.548682 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
01 00
2017-01-19 22:40:07.549254 > HCI Event: Command Complete (0x0e) plen 4
Write LE Host Supported (0x03|0x006d) ncmd 1
00
2017-01-19 22:40:07.549254 > HCI Event: Command Complete (0x0e) plen 4
2017-01-19 22:40:07.549254 > HCI Event: Command Complete (0x0e) plen 4
Write LE Host Supported (0x03|0x006d) ncmd 1
Write LE Host Supported (0x03|0x006d) ncmd 1
00
00
2017-01-19 22:40:07.549643 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-01-19 22:40:07.549643 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-01-19 22:40:07.549643 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-01-19 22:40:07.550247 > HCI Event: Command Complete (0x0e) plen 6
2017-01-19 22:40:07.550247 > HCI Event: Command Complete (0x0e) plen 6
2017-01-19 22:40:07.550247 > HCI Event: Command Complete (0x0e) plen 6
Read LE Host Supported (0x03|0x006c) ncmd 1
00 01 00
Read LE Host Supported (0x03|0x006c) ncmd 1
00 01 00
2017-01-19 22:40:07.550561 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
Read LE Host Supported (0x03|0x006c) ncmd 1
00 01 00
2017-01-19 22:40:07.550561 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-01-19 22:40:07.550561 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-01-19 22:40:07.551040 > HCI Event: Command Complete (0x0e) plen 10
2017-01-19 22:40:07.551040 > HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 1
2017-01-19 22:40:07.551040 > HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr E0:76:D0:DD:9B:2D
status 0x00 bdaddr E0:76:D0:DD:9B:2D
Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr E0:76:D0:DD:9B:2D
Noble {
state: 'unknown',
address: 'unknown',
_bindings:
EventEmitter {
_state: null,
_addresses: {},
_addresseTypes: {},
_connectable: {},
_pendingConnectionUuid: null,
_connectionQueue: [],
_handles: {},
_gatts: {},
_aclStreams: {},
_hci:
EventEmitter {
_socket: [Object],
_isDevUp: true,
_state: null,
_deviceId: 0,
_handleBuffers: {},
_events: [Object],
_eventsCount: 13 },
_gap:
EventEmitter {
_hci: [Object],
_scanState: null,
_scanFilterDuplicates: null,
_discoveries: {},
_events: [Object],
_eventsCount: 3 },
_events:
{ stateChange: [Function: bound ],
addressChange: [Function: bound ],
scanStart: [Function: bound ],
scanStop: [Function: bound ],
discover: [Function: bound ],
connect: [Function: bound ],
disconnect: [Function: bound ],
rssiUpdate: [Function: bound ],
servicesDiscover: [Function: bound ],
includedServicesDiscover: [Function: bound ],
characteristicsDiscover: [Function: bound ],
read: [Function: bound ],
write: [Function: bound ],
broadcast: [Function: bound ],
notify: [Function: bound ],
descriptorsDiscover: [Function: bound ],
valueRead: [Function: bound ],
valueWrite: [Function: bound ],
handleRead: [Function: bound ],
handleWrite: [Function: bound ],
handleNotify: [Function: bound ] },
_eventsCount: 21,
onSigIntBinded: [Function: bound ] },
_peripherals: {},
_services: {},
_characteristics: {},
_descriptors: {},
_discoveredPeripheralUUids: [],
_events: { warning: [Function: bound ] },
_eventsCount: 1 }
2017-01-19 22:40:07.763346 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-19 22:40:07.763346 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
2017-01-19 22:40:07.763346 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
2017-01-19 22:40:07.763810 > HCI Event: Command Complete (0x0e) plen 4
2017-01-19 22:40:07.763810 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
status 0x0c
Error: Command Disallowed
Error: Command Disallowed
2017-01-19 22:40:07.763810 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
Error: Command Disallowed
2017-01-19 22:40:07.764460 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
2017-01-19 22:40:07.764460 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
type 0x01 (active)
type 0x01 (active)
interval 10.000ms window 10.000ms
interval 10.000ms window 10.000ms
2017-01-19 22:40:07.764460 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
type 0x01 (active)
interval 10.000ms window 10.000ms
own address: 0x00 (Public) policy: All
own address: 0x00 (Public) policy: All
own address: 0x00 (Public) policy: All
2017-01-19 22:40:07.765057 > HCI Event: Command Complete (0x0e) plen 4
2017-01-19 22:40:07.765057 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Parameters (0x08|0x000b) ncmd 1
LE Set Scan Parameters (0x08|0x000b) ncmd 1
status 0x00
status 0x00
2017-01-19 22:40:07.765057 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Parameters (0x08|0x000b) ncmd 1
status 0x00
Start scanning
2017-01-19 22:40:07.777988 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-19 22:40:07.777988 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x01 (scanning enabled)
filter duplicates 0x00 (disabled)
value 0x01 (scanning enabled)
filter duplicates 0x00 (disabled)
2017-01-19 22:40:07.777988 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x01 (scanning enabled)
filter duplicates 0x00 (disabled)
2017-01-19 22:40:07.778515 > HCI Event: Command Complete (0x0e) plen 4
2017-01-19 22:40:07.778515 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
2017-01-19 22:40:07.778515 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
2017-01-19 22:40:07.816333 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
2017-01-19 22:40:07.816333 > HCI Event: LE Meta Event (0x3e) plen 27
ADV_IND - Connectable undirected advertising (0)
2017-01-19 22:40:07.816333 > HCI Event: LE Meta Event (0x3e) plen 27
bdaddr B0:34:95:2E:F6:16 (Public)
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Flags: 0x1a
Unknown type 0xff with 10 bytes data
Unknown type 0xff with 10 bytes data
RSSI: -62
RSSI: -62
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -62
2017-01-19 22:40:08.000085 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
2017-01-19 22:40:08.000085 > HCI Event: LE Meta Event (0x3e) plen 27
Flags: 0x1a
Unknown type 0xff with 10 bytes data
LE Advertising Report
RSSI: -76
ADV_IND - Connectable undirected advertising (0)
2017-01-19 22:40:08.000085 > HCI Event: LE Meta Event (0x3e) plen 27
bdaddr B0:34:95:2E:F6:16 (Public)
LE Advertising Report
Flags: 0x1a
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Unknown type 0xff with 10 bytes data
RSSI: -76
2017-01-19 22:40:08.000673 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
2017-01-19 22:40:08.000673 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
Flags: 0x1a
SCAN_RSP - Scan Response (4)
bdaddr B0:34:95:2E:F6:16 (Public)
SCAN_RSP - Scan Response (4)
RSSI: -76
Unknown type 0xff with 10 bytes data
RSSI: -76
2017-01-19 22:40:08.000673 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -76
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -76
Discover: {"id":"b034952ef616","address":"b0:34:95:2e:f6:16","addressType":"public","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,9,6,3,6,192,168,2,100]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-76,"state":"disconnected"}
Discover: {"id":"b034952ef616","address":"b0:34:95:2e:f6:16","addressType":"public","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,9,6,3,6,192,168,2,100]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-76,"state":"disconnected"}
2017-01-19 22:40:08.181339 > HCI Event: LE Meta Event (0x3e) plen 27
2017-01-19 22:40:08.181339 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Flags: 0x1a
Unknown type 0xff with 10 bytes data
2017-01-19 22:40:08.181339 > HCI Event: LE Meta Event (0x3e) plen 27
RSSI: -62
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -62
Unknown type 0xff with 10 bytes data
RSSI: -62
2017-01-19 22:40:08.367016 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
2017-01-19 22:40:08.367016 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
2017-01-19 22:40:08.367016 > HCI Event: LE Meta Event (0x3e) plen 27
bdaddr B0:34:95:2E:F6:16 (Public)
LE Advertising Report
Flags: 0x1a
ADV_IND - Connectable undirected advertising (0)
Unknown type 0xff with 10 bytes data
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -60
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
2017-01-19 22:40:08.548249 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
2017-01-19 22:40:08.548249 > HCI Event: LE Meta Event (0x3e) plen 27
Unknown type 0xff with 10 bytes data
RSSI: -74
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
2017-01-19 22:40:08.548249 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
Flags: 0x1a
Unknown type 0xff with 10 bytes data
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -74
RSSI: -74
2017-01-19 22:40:08.548886 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-19 22:40:08.548886 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
LE Advertising Report
SCAN_RSP - Scan Response (4)
SCAN_RSP - Scan Response (4)
bdaddr B0:34:95:2E:F6:16 (Public)
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -74
RSSI: -74
2017-01-19 22:40:08.548886 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -74
Discover: {"id":"b034952ef616","address":"b0:34:95:2e:f6:16","addressType":"public","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,9,6,3,6,192,168,2,100]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-74,"state":"disconnected"}
2017-01-19 22:40:08.558381 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -29
2017-01-19 22:40:08.558381 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
2017-01-19 22:40:08.558381 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -29
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -29
2017-01-19 22:40:08.559096 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
2017-01-19 22:40:08.559096 > HCI Event: LE Meta Event (0x3e) plen 12
SCAN_RSP - Scan Response (4)
LE Advertising Report
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -28
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -28
2017-01-19 22:40:08.559096 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -28
Discover: {"id":"7090b2dab363","address":"70:90:b2:da:b3:63","addressType":"random","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-28,"state":"disconnected"}
2017-01-19 22:40:08.729519 > HCI Event: LE Meta Event (0x3e) plen 27
2017-01-19 22:40:08.729519 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
LE Advertising Report
Unknown type 0xff with 10 bytes data
RSSI: -59
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
2017-01-19 22:40:08.729519 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
Flags: 0x1a
bdaddr B0:34:95:2E:F6:16 (Public)
Unknown type 0xff with 10 bytes data
Flags: 0x1a
RSSI: -59
Unknown type 0xff with 10 bytes data
RSSI: -59
2017-01-19 22:40:08.828383 > HCI Event: LE Meta Event (0x3e) plen 23
2017-01-19 22:40:08.828383 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -28
Unknown type 0xff with 6 bytes data
RSSI: -28
2017-01-19 22:40:08.828383 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -28
2017-01-19 22:40:08.910770 > HCI Event: LE Meta Event (0x3e) plen 27
2017-01-19 22:40:08.910770 > HCI Event: LE Meta Event (0x3e) plen 27
2017-01-19 22:40:08.910770 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
ADV_IND - Connectable undirected advertising (0)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
2017-01-19 22:40:09.092026 > HCI Event: LE Meta Event (0x3e) plen 27
2017-01-19 22:40:09.092026 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
bdaddr B0:34:95:2E:F6:16 (Public)
2017-01-19 22:40:09.092026 > HCI Event: LE Meta Event (0x3e) plen 27
Flags: 0x1a
LE Advertising Report
Unknown type 0xff with 10 bytes data
RSSI: -60
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
RSSI: -60
2017-01-19 22:40:09.098380 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
2017-01-19 22:40:09.098380 > HCI Event: LE Meta Event (0x3e) plen 23
ADV_IND - Connectable undirected advertising (0)
LE Advertising Report
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
ADV_IND - Connectable undirected advertising (0)
Unknown type 0xff with 6 bytes data
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -30
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -30
2017-01-19 22:40:09.098380 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -30
2017-01-19 22:40:09.099095 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
2017-01-19 22:40:09.099095 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
SCAN_RSP - Scan Response (4)
RSSI: -28
bdaddr 70:90:B2:DA:B3:63 (Random)
2017-01-19 22:40:09.099095 > HCI Event: LE Meta Event (0x3e) plen 12
RSSI: -28
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -28
Discover: {"id":"7090b2dab363","address":"70:90:b2:da:b3:63","addressType":"random","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-28,"state":"disconnected"}
2017-01-19 22:40:09.368384 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
2017-01-19 22:40:09.368384 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -31
2017-01-19 22:40:09.368384 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
bdaddr 70:90:B2:DA:B3:63 (Random)
Unknown type 0xff with 6 bytes data
Flags: 0x1a
RSSI: -31
Unknown type 0xff with 6 bytes data
RSSI: -31
2017-01-19 22:40:09.369105 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-19 22:40:09.369105 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
SCAN_RSP - Scan Response (4)
RSSI: -31
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -31
2017-01-19 22:40:09.369105 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -31
Discover: {"id":"7090b2dab363","address":"70:90:b2:da:b3:63","addressType":"random","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-31,"state":"disconnected"}
2017-01-19 22:40:09.459483 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
2017-01-19 22:40:09.459483 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
2017-01-19 22:40:09.459483 > HCI Event: LE Meta Event (0x3e) plen 27
Flags: 0x1a
LE Advertising Report
Unknown type 0xff with 10 bytes data
RSSI: -60
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
2017-01-19 22:40:09.639630 > HCI Event: LE Meta Event (0x3e) plen 23
2017-01-19 22:40:09.639630 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
2017-01-19 22:40:09.639630 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
LE Advertising Report
bdaddr 70:90:B2:DA:B3:63 (Random)
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -25
Unknown type 0xff with 6 bytes data
RSSI: -25
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -25
2017-01-19 22:40:09.643247 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
2017-01-19 22:40:09.643247 > HCI Event: LE Meta Event (0x3e) plen 27
Flags: 0x1a
LE Advertising Report
Unknown type 0xff with 10 bytes data
RSSI: -60
2017-01-19 22:40:09.643247 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
ADV_IND - Connectable undirected advertising (0)
Unknown type 0xff with 10 bytes data
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -60
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -60
2017-01-19 22:40:09.828854 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
2017-01-19 22:40:09.828854 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
2017-01-19 22:40:09.828854 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -75
ADV_IND - Connectable undirected advertising (0)
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -75
bdaddr B0:34:95:2E:F6:16 (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -75
2017-01-19 22:40:09.829351 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-19 22:40:09.829351 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-19 22:40:09.829351 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
LE Advertising Report
LE Advertising Report
SCAN_RSP - Scan Response (4)
SCAN_RSP - Scan Response (4)
bdaddr B0:34:95:2E:F6:16 (Public)
SCAN_RSP - Scan Response (4)
RSSI: -76
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -76
bdaddr B0:34:95:2E:F6:16 (Public)
RSSI: -76
Discover: {"id":"b034952ef616","address":"b0:34:95:2e:f6:16","addressType":"public","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,9,6,3,6,192,168,2,100]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-76,"state":"disconnected"}
2017-01-19 22:40:09.910886 > HCI Event: LE Meta Event (0x3e) plen 23
2017-01-19 22:40:09.910886 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Flags: 0x1a
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
RSSI: -27
RSSI: -27
2017-01-19 22:40:09.910886 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -27
2017-01-19 22:40:09.911603 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-19 22:40:09.911603 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
LE Advertising Report
SCAN_RSP - Scan Response (4)
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -26
RSSI: -26
2017-01-19 22:40:09.911603 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -26
Discover: {"id":"7090b2dab363","address":"70:90:b2:da:b3:63","addressType":"random","connectable":true,"advertisement":{"manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-26,"state":"disconnected"}
2017-01-19 22:40:10.182136 > HCI Event: LE Meta Event (0x3e) plen 23
2017-01-19 22:40:10.182136 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Flags: 0x1a
Unknown type 0xff with 6 bytes data
Unknown type 0xff with 6 bytes data
RSSI: -25
RSSI: -25
2017-01-19 22:40:10.182136 > HCI Event: LE Meta Event (0x3e) plen 23
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Unknown type 0xff with 6 bytes data
RSSI: -25
2017-01-19 22:40:10.374500 > HCI Event: LE Meta Event (0x3e) plen 39
2017-01-19 22:40:10.374500 > HCI Event: LE Meta Event (0x3e) plen 39
LE Advertising Report
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
ADV_IND - Connectable undirected advertising (0)
bdaddr 70:90:B2:DA:B3:63 (Random)
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Flags: 0x1a
Complete local name: 'Advertising Peripheral'
RSSI: -29
2017-01-19 22:40:10.374831 > HCI Event: LE Meta Event (0x3e) plen 12
2017-01-19 22:40:10.374500 > HCI Event: LE Meta Event (0x3e) plen 39
LE Advertising Report
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
ADV_IND - Connectable undirected advertising (0)
RSSI: -29
bdaddr 70:90:B2:DA:B3:63 (Random)
Flags: 0x1a
Complete local name: 'Advertising Peripheral'
RSSI: -29
2017-01-19 22:40:10.374831 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -29
Complete local name: 'Advertising Peripheral'
RSSI: -29
2017-01-19 22:40:10.374831 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 70:90:B2:DA:B3:63 (Random)
RSSI: -29
Discover: {"id":"7090b2dab363","address":"70:90:b2:da:b3:63","addressType":"random","connectable":true,"advertisement":{"localName":"Advertising Peripheral","manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-29,"state":"disconnected"}
2017-01-19 22:40:10.384456 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
2017-01-19 22:40:10.384456 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
bdaddr 70:90:B2:DA:B3:63 type 1
bdaddr 70:90:B2:DA:B3:63 type 1
interval 96 window 48 initiator_filter 0
interval 96 window 48 initiator_filter 0
own_bdaddr_type 0 min_interval 6 max_interval 12
own_bdaddr_type 0 min_interval 6 max_interval 12
latency 0 supervision_to 200 min_ce 4 max_ce 6
latency 0 supervision_to 200 min_ce 4 max_ce 6
2017-01-19 22:40:10.384456 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
bdaddr 70:90:B2:DA:B3:63 type 1
interval 96 window 48 initiator_filter 0
own_bdaddr_type 0 min_interval 6 max_interval 12
latency 0 supervision_to 200 min_ce 4 max_ce 6
2017-01-19 22:40:10.386983 > HCI Event: Command Status (0x0f) plen 4
2017-01-19 22:40:10.386983 > HCI Event: Command Status (0x0f) plen 4
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
2017-01-19 22:40:10.386983 > HCI Event: Command Status (0x0f) plen 4
LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
2017-01-19 22:40:10.439922 > HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
status 0x00 handle 64, role master
bdaddr 70:90:B2:DA:B3:63 (Random)
2017-01-19 22:40:10.439922 > HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
status 0x00 handle 64, role master
bdaddr 70:90:B2:DA:B3:63 (Random)
2017-01-19 22:40:10.440392 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
40 00
2017-01-19 22:40:10.439922 > HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
status 0x00 handle 64, role master
bdaddr 70:90:B2:DA:B3:63 (Random)
2017-01-19 22:40:10.440392 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
40 00
2017-01-19 22:40:10.440392 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
40 00
2017-01-19 22:40:10.441684 > HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2017-01-19 22:40:10.441813 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x00 (disabled)
2017-01-19 22:40:10.441684 > HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2017-01-19 22:40:10.441813 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x00 (disabled)
2017-01-19 22:40:10.441684 > HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2017-01-19 22:40:10.441813 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x00 (disabled)
2017-01-19 22:40:10.444198 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
2017-01-19 22:40:10.444198 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
status 0x00
2017-01-19 22:40:10.444198 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
2017-01-19 22:40:10.506277 > HCI Event: LE Meta Event (0x3e) plen 12
LE Read Remote Used Features Complete
2017-01-19 22:40:10.506277 > HCI Event: LE Meta Event (0x3e) plen 12
LE Read Remote Used Features Complete
status 0x00 handle 64
Features: 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x00
status 0x00 handle 64
Features: 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2017-01-19 22:40:10.506277 > HCI Event: LE Meta Event (0x3e) plen 12
LE Read Remote Used Features Complete
status 0x00 handle 64
Features: 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2017-01-19 22:40:10.546254 < ACL data: handle 64 flags 0x00 dlen 7
2017-01-19 22:40:10.546254 < ACL data: handle 64 flags 0x00 dlen 7
ATT: MTU req (0x02)
ATT: MTU req (0x02)
client rx mtu 256
client rx mtu 256
2017-01-19 22:40:10.546254 < ACL data: handle 64 flags 0x00 dlen 7
ATT: MTU req (0x02)
client rx mtu 256
connected to peripheral: {"id":"7090b2dab363","address":"70:90:b2:da:b3:63","addressType":"random","connectable":true,"advertisement":{"localName":"Advertising Peripheral","manufacturerData":{"type":"Buffer","data":[76,0,16,2,11,0]},"serviceData":[],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-29,"state":"connected"}
2017-01-19 22:40:10.566096 > ACL data: handle 64 flags 0x02 dlen 11
2017-01-19 22:40:10.566096 > ACL data: handle 64 flags 0x02 dlen 11
2017-01-19 22:40:10.566096 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
type-uuid 0x2800
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
type-uuid 0x2800
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.566815 > ACL data: handle 64 flags 0x02 dlen 7
2017-01-19 22:40:10.566815 > ACL data: handle 64 flags 0x02 dlen 7
ATT: MTU resp (0x03)
server rx mtu 256
2017-01-19 22:40:10.566815 > ACL data: handle 64 flags 0x02 dlen 7
ATT: MTU resp (0x03)
server rx mtu 256
ATT: MTU resp (0x03)
server rx mtu 256
2017-01-19 22:40:10.572939 < ACL data: handle 64 flags 0x00 dlen 9
2017-01-19 22:40:10.572939 < ACL data: handle 64 flags 0x00 dlen 9
ATT: Error (0x01)
ATT: Error (0x01)
Error: Request not supported (6)
Error: Request not supported (6)
Read By Group req (0x10) on handle 0x0000
Read By Group req (0x10) on handle 0x0000
2017-01-19 22:40:10.572939 < ACL data: handle 64 flags 0x00 dlen 9
ATT: Error (0x01)
Error: Request not supported (6)
Read By Group req (0x10) on handle 0x0000
2017-01-19 22:40:10.575262 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.575262 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
start 0x0001, end 0xffff
type-uuid 0x2800
type-uuid 0x2800
2017-01-19 22:40:10.575262 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.581081 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.581081 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.581081 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.596239 > ACL data: handle 64 flags 0x02 dlen 18
2017-01-19 22:40:10.596239 > ACL data: handle 64 flags 0x02 dlen 18
ATT: Read By Group resp (0x11)
attr handle 0x0001, end group handle 0x0005
ATT: Read By Group resp (0x11)
attr handle 0x0001, end group handle 0x0005
value 0x00 0x18
value 0x00 0x18
attr handle 0x0006, end group handle 0x0009
attr handle 0x0006, end group handle 0x0009
value 0x01 0x18
value 0x01 0x18
2017-01-19 22:40:10.596239 > ACL data: handle 64 flags 0x02 dlen 18
ATT: Read By Group resp (0x11)
attr handle 0x0001, end group handle 0x0005
value 0x00 0x18
attr handle 0x0006, end group handle 0x0009
value 0x01 0x18
2017-01-19 22:40:10.601015 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
start 0x000a, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.601015 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.601015 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
ATT: Read By Group req (0x10)
start 0x000a, end 0xffff
type-uuid 0x2800
start 0x000a, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.611171 > HCI Event: Number of Completed Packets (0x13) plen 5
2017-01-19 22:40:10.611171 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.611171 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
handle 64 packets 2
2017-01-19 22:40:10.641261 > ACL data: handle 64 flags 0x02 dlen 27
2017-01-19 22:40:10.641261 > ACL data: handle 64 flags 0x02 dlen 27
2017-01-19 22:40:10.641261 > ACL data: handle 64 flags 0x02 dlen 27
2017-01-19 22:40:10.642353 > ACL data: handle 64 flags 0x01 dlen 19
2017-01-19 22:40:10.642353 > ACL data: handle 64 flags 0x01 dlen 19
ATT: Read By Group resp (0x11)
attr handle 0x000a, end group handle 0x000e
2017-01-19 22:40:10.642353 > ACL data: handle 64 flags 0x01 dlen 19
ATT: Read By Group resp (0x11)
attr handle 0x000a, end group handle 0x000e
ATT: Read By Group resp (0x11)
value 0x66 0x43 0xae 0x10 0x79 0x48 0xf8 0xa5 0x91 0x45 0xb4 0xbb 0x78 0x1e 0x61 0xd0
attr handle 0x000f, end group handle 0x0013
value 0x66 0x43 0xae 0x10 0x79 0x48 0xf8 0xa5 0x91 0x45 0xb4 0xbb 0x78 0x1e 0x61 0xd0
value 0xae 0x04 0x5d 0xdc 0x43 0xd3 0x90 0x93 0x42 0x45 0x67 0x49 0xe0 0x80 0xa4 0x9f
attr handle 0x000f, end group handle 0x0013
attr handle 0x000a, end group handle 0x000e
value 0x66 0x43 0xae 0x10 0x79 0x48 0xf8 0xa5 0x91 0x45 0xb4 0xbb 0x78 0x1e 0x61 0xd0
value 0xae 0x04 0x5d 0xdc 0x43 0xd3 0x90 0x93 0x42 0x45 0x67 0x49 0xe0 0x80 0xa4 0x9f
attr handle 0x000f, end group handle 0x0013
value 0xae 0x04 0x5d 0xdc 0x43 0xd3 0x90 0x93 0x42 0x45 0x67 0x49 0xe0 0x80 0xa4 0x9f
2017-01-19 22:40:10.645976 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.645976 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
start 0x0014, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.645976 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
start 0x0014, end 0xffff
ATT: Read By Group req (0x10)
type-uuid 0x2800
start 0x0014, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.671839 > ACL data: handle 64 flags 0x02 dlen 24
ATT: Read By Group resp (0x11)
attr handle 0x001a, end group handle 0x001d
value 0x0f 0x18
attr handle 0x001e, end group handle 0x0023
2017-01-19 22:40:10.671839 > ACL data: handle 64 flags 0x02 dlen 24
value 0x05 0x18
attr handle 0x0024, end group handle 0x0028
value 0x0a 0x18
ATT: Read By Group resp (0x11)
attr handle 0x001a, end group handle 0x001d
value 0x0f 0x18
attr handle 0x001e, end group handle 0x0023
value 0x05 0x18
attr handle 0x0024, end group handle 0x0028
value 0x0a 0x18
2017-01-19 22:40:10.671839 > ACL data: handle 64 flags 0x02 dlen 24
ATT: Read By Group resp (0x11)
attr handle 0x001a, end group handle 0x001d
value 0x0f 0x18
attr handle 0x001e, end group handle 0x0023
value 0x05 0x18
attr handle 0x0024, end group handle 0x0028
value 0x0a 0x18
2017-01-19 22:40:10.673130 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.673130 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
ATT: Read By Group req (0x10)
start 0x0029, end 0xffff
type-uuid 0x2800
start 0x0029, end 0xffff
2017-01-19 22:40:10.673130 < ACL data: handle 64 flags 0x00 dlen 11
type-uuid 0x2800
ATT: Read By Group req (0x10)
start 0x0029, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.686125 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.686125 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.686125 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.701282 > ACL data: handle 64 flags 0x02 dlen 27
2017-01-19 22:40:10.701282 > ACL data: handle 64 flags 0x02 dlen 27
2017-01-19 22:40:10.701282 > ACL data: handle 64 flags 0x02 dlen 27
2017-01-19 22:40:10.701906 > ACL data: handle 64 flags 0x01 dlen 27
2017-01-19 22:40:10.701906 > ACL data: handle 64 flags 0x01 dlen 27
2017-01-19 22:40:10.701906 > ACL data: handle 64 flags 0x01 dlen 27
2017-01-19 22:40:10.702976 > ACL data: handle 64 flags 0x01 dlen 12
2017-01-19 22:40:10.702976 > ACL data: handle 64 flags 0x01 dlen 12
ATT: Read By Group resp (0x11)
ATT: Read By Group resp (0x11)
attr handle 0x0029, end group handle 0x0032
2017-01-19 22:40:10.702976 > ACL data: handle 64 flags 0x01 dlen 12
value 0xd0 0x00 0x2d 0x12 0x1e 0x4b 0x0f 0xa4 0x99 0x4e 0xce 0xb5 0x31 0xf4 0x05 0x79
ATT: Read By Group resp (0x11)
attr handle 0x0033, end group handle 0x003e
attr handle 0x0029, end group handle 0x0032
value 0xdc 0xf8 0x55 0xad 0x02 0xc5 0xf4 0x8e 0x3a 0x43 0x36 0x0f 0x2b 0x50 0xd3 0x89
attr handle 0x003f, end group handle 0x0044
value 0xd0 0xb0 0x7e 0xbb 0x53 0x61 0x4b 0x9b 0x58 0x47 0x32 0xbc 0xac 0x0b 0x41 0xb3
value 0xd0 0x00 0x2d 0x12 0x1e 0x4b 0x0f 0xa4 0x99 0x4e 0xce 0xb5 0x31 0xf4 0x05 0x79
attr handle 0x0033, end group handle 0x003e
value 0xdc 0xf8 0x55 0xad 0x02 0xc5 0xf4 0x8e 0x3a 0x43 0x36 0x0f 0x2b 0x50 0xd3 0x89
attr handle 0x003f, end group handle 0x0044
value 0xd0 0xb0 0x7e 0xbb 0x53 0x61 0x4b 0x9b 0x58 0x47 0x32 0xbc 0xac 0x0b 0x41 0xb3
attr handle 0x0029, end group handle 0x0032
value 0xd0 0x00 0x2d 0x12 0x1e 0x4b 0x0f 0xa4 0x99 0x4e 0xce 0xb5 0x31 0xf4 0x05 0x79
attr handle 0x0033, end group handle 0x003e
value 0xdc 0xf8 0x55 0xad 0x02 0xc5 0xf4 0x8e 0x3a 0x43 0x36 0x0f 0x2b 0x50 0xd3 0x89
attr handle 0x003f, end group handle 0x0044
value 0xd0 0xb0 0x7e 0xbb 0x53 0x61 0x4b 0x9b 0x58 0x47 0x32 0xbc 0xac 0x0b 0x41 0xb3
2017-01-19 22:40:10.704801 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.704801 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Group req (0x10)
start 0x0045, end 0xffff
type-uuid 0x2800
ATT: Read By Group req (0x10)
2017-01-19 22:40:10.704801 < ACL data: handle 64 flags 0x00 dlen 11
start 0x0045, end 0xffff
type-uuid 0x2800
ATT: Read By Group req (0x10)
start 0x0045, end 0xffff
type-uuid 0x2800
2017-01-19 22:40:10.731064 > ACL data: handle 64 flags 0x02 dlen 9
2017-01-19 22:40:10.731064 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Error (0x01)
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Group req (0x10) on handle 0x0045
2017-01-19 22:40:10.731064 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Group req (0x10) on handle 0x0045
Error: Attribute not found (10)
Read By Group req (0x10) on handle 0x0045
timer service discovered
2017-01-19 22:40:10.743791 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.743791 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Type req (0x08)
ATT: Read By Type req (0x08)
start 0x003f, end 0x0044
type-uuid 0x2803
start 0x003f, end 0x0044
type-uuid 0x2803
2017-01-19 22:40:10.743791 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Type req (0x08)
start 0x003f, end 0x0044
type-uuid 0x2803
2017-01-19 22:40:10.746145 > HCI Event: Number of Completed Packets (0x13) plen 5
2017-01-19 22:40:10.746145 > HCI Event: Number of Completed Packets (0x13) plen 5
2017-01-19 22:40:10.746145 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
handle 64 packets 2
handle 64 packets 2
2017-01-19 22:40:10.776268 > ACL data: handle 64 flags 0x02 dlen 20
2017-01-19 22:40:10.776268 > ACL data: handle 64 flags 0x02 dlen 20
2017-01-19 22:40:10.776268 > ACL data: handle 64 flags 0x02 dlen 20
ATT: Read By Type resp (0x09)
length: 7
ATT: Read By Type resp (0x09)
length: 7
handle 0x0040, value 0x02 0x41 0x00 0x16 0xda
handle 0x0040, value 0x02 0x41 0x00 0x16 0xda
handle 0x0042, value 0x88 0x43 0x00 0x17 0xda
handle 0x0042, value 0x88 0x43 0x00 0x17 0xda
ATT: Read By Type resp (0x09)
length: 7
handle 0x0040, value 0x02 0x41 0x00 0x16 0xda
handle 0x0042, value 0x88 0x43 0x00 0x17 0xda
2017-01-19 22:40:10.778323 < ACL data: handle 64 flags 0x00 dlen 11
2017-01-19 22:40:10.778323 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Type req (0x08)
2017-01-19 22:40:10.778323 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Read By Type req (0x08)
start 0x0044, end 0x0044
type-uuid 0x2803
ATT: Read By Type req (0x08)
start 0x0044, end 0x0044
type-uuid 0x2803
start 0x0044, end 0x0044
type-uuid 0x2803
2017-01-19 22:40:10.896066 > ACL data: handle 64 flags 0x02 dlen 9
2017-01-19 22:40:10.896066 > ACL data: handle 64 flags 0x02 dlen 9
2017-01-19 22:40:10.896066 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Type req (0x08) on handle 0x0044
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Type req (0x08) on handle 0x0044
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Type req (0x08) on handle 0x0044
discovered the timer characteristics da17
<Buffer 73 74 61 72 74>
2017-01-19 22:40:10.908407 < ACL data: handle 64 flags 0x00 dlen 12
ATT: Write cmd (0x52)
handle 0x0043 value 0x73 0x74 0x61 0x72 0x74
2017-01-19 22:40:10.908407 < ACL data: handle 64 flags 0x00 dlen 12
2017-01-19 22:40:10.908407 < ACL data: handle 64 flags 0x00 dlen 12
ATT: Write cmd (0x52)
handle 0x0043 value 0x73 0x74 0x61 0x72 0x74
ATT: Write cmd (0x52)
handle 0x0043 value 0x73 0x74 0x61 0x72 0x74
2017-01-19 22:40:10.911140 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2017-01-19 22:40:10.911140 > HCI Event: Number of Completed Packets (0x13) plen 5
2017-01-19 22:40:10.911140 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
handle 64 packets 2
2017-01-19 22:40:10.913665 < HCI Command: Disconnect (0x01|0x0006) plen 3
2017-01-19 22:40:10.913665 < HCI Command: Disconnect (0x01|0x0006) plen 3
handle 64 reason 0x13
Reason: Remote User Terminated Connection
handle 64 reason 0x13
Reason: Remote User Terminated Connection
2017-01-19 22:40:10.913665 < HCI Command: Disconnect (0x01|0x0006) plen 3
handle 64 reason 0x13
Reason: Remote User Terminated Connection
2017-01-19 22:40:10.914205 > HCI Event: Command Status (0x0f) plen 4
2017-01-19 22:40:10.914205 > HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
Disconnect (0x01|0x0006) status 0x00 ncmd 1
2017-01-19 22:40:10.914205 > HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
2017-01-19 22:40:10.926654 > HCI Event: Disconn Complete (0x05) plen 4
2017-01-19 22:40:10.926654 > HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 64 reason 0x16
Reason: Connection Terminated by Local Host
status 0x00 handle 64 reason 0x16
Reason: Connection Terminated by Local Host
2017-01-19 22:40:10.926654 > HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 64 reason 0x16
Reason: Connection Terminated by Local Host
disconnected from peripheral: 7090b2dab363
########### Here keyboard interrupt (after ~3min) ################
2017-01-19 22:41:26.255496 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
2017-01-19 22:41:26.255496 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
2017-01-19 22:41:26.255988 > HCI Event: Command Complete (0x0e) plen 4
2017-01-19 22:41:26.255988 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
Error: Command Disallowed
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
Error: Command Disallowed
2017-01-19 22:41:26.255496 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x00 (scanning disabled)
filter duplicates 0x01 (enabled)
2017-01-19 22:41:26.255988 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x0c
Error: Command Disallowed
var noble = require('noble');
console.log(noble);
noble.on('stateChange', function(state) {
if (state == 'poweredOn') {
//console.log(N);
console.log("Start scanning");
noble.startScanning([], true);
}
});
noble.on('discover', function(peripheral) {
console.log('Discover: '+peripheral);
if(peripheral.advertisement.localName == 'Advertising Peripheral'){
peripheral.connect(function(err) {
if(err){
console.log(err);
}
console.log('connected to peripheral: ' + peripheral);
peripheral.discoverServices(['b3410bacbc3247589b4b6153bb7eb0d0'], function(err, services) {
if(err){
console.log(err);
}
var timerService = services[0];
console.log('timer service discovered');
timerService.discoverCharacteristics(['da17'], function(err, characteristics){
if(err){
console.log(err);
}
console.log('discovered the timer characteristics da17');
var timerWriteCharacteristic = characteristics[0];
var buffString = new Buffer('start');
console.log(buffString);
timerWriteCharacteristic.write(buffString, true, function(err){
if(err){
console.log(err);
} else {
peripheral.disconnect(function(err) {
if(err){
console.log(err);
}
console.log('disconnected from peripheral: ' + peripheral.uuid);
});
}
});
});
});
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment