Dobrica Pavlinušić's random unstructured stuff
BLE: Revision 8


RaspberryPi 3

GATT

nRF24L01+

Quintic BLE

Quintic Private Profile Guide http://www.nxp.com/documents/application_note/AN11846.pdf
Q 9021 http://cache.nxp.com/documents/data_sheet/QN902X.pdf?pspll=1

https://github.com/Informatic/qn902x-tools

RaspberryPi 3

unbind device in phone app

root@rpi3:/home/pi# hcitool lescan
LE Scan ...
08:7C:BE:92:85:23 Quintic BLE
08:7C:BE:92:85:23 (unknown)




Android

using BLE Scanner

nRF Master Control Panel, 2016-05-21
Quintic BLE (08:7C:BE:92:85:23)
V	07:17:01.689	Connecting to 08:7C:BE:92:85:23...
D	07:17:01.701	gatt = device.connectGatt(autoConnect = false)
D	07:17:01.907	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
D	07:17:01.939	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I	07:17:01.962	Connected to 08:7C:BE:92:85:23
D	07:17:01.987	wait(600ms)
V	07:17:02.614	Discovering services...
D	07:17:02.628	gatt.discoverServices()
D	07:17:03.328	[Callback] Services discovered with status: 0
I	07:17:03.352	Services discovered
V	07:17:03.422	Generic Access (0x1800)
- Device Name [R W] (0x2A00)
- Appearance [R] (0x2A01)
- Peripheral Privacy Flag [R W] (0x2A02)
- Peripheral Preferred Connection Parameters [R] (0x2A04)
- Reconnection Address [R W WNR] (0x2A03)
Generic Attribute (0x1801)
- Service Changed [I R] (0x2A05)
   Client Characteristic Configuration (0x2902)
Unknown Service (0000fee8-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [N] (003784cf-f7e3-55b4-6c4c-9fd140100a16)
   Client Characteristic Configuration (0x2902)
   Characteristic User Description (0x2901)
- Unknown Characteristic [WNR] (013784cf-f7e3-55b4-6c4c-9fd140100a16)
Unknown Service (0000fee9-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [W WNR] (d44bc439-abfd-45a2-b575-925416129600)
   Characteristic User Description (0x2901)
- Unknown Characteristic [N] (d44bc439-abfd-45a2-b575-925416129601)
   Client Characteristic Configuration (0x2902)
V	07:17:29.219	Reading all characteristics...
V	07:17:29.236	Reading characteristic 00002a00-0000-1000-8000-00805f9b34fb
D	07:17:29.250	gatt.readCharacteristic(00002a00-0000-1000-8000-00805f9b34fb)
I	07:17:29.465	Read Response received from 00002a00-0000-1000-8000-00805f9b34fb, value: (0x) 51-75-69-6E-74-69-63-20-42-4C-45, "Quintic BLE"
A	07:17:29.484	"Quintic BLE" received
V	07:17:29.497	Reading characteristic 00002a01-0000-1000-8000-00805f9b34fb
D	07:17:29.512	gatt.readCharacteristic(00002a01-0000-1000-8000-00805f9b34fb)
I	07:17:29.660	Read Response received from 00002a01-0000-1000-8000-00805f9b34fb, value: (0x) 00-00
A	07:17:29.670	"[0] Unknown" received
V	07:17:29.681	Reading characteristic 00002a02-0000-1000-8000-00805f9b34fb
D	07:17:29.692	gatt.readCharacteristic(00002a02-0000-1000-8000-00805f9b34fb)
I	07:17:29.853	Read Response received from 00002a02-0000-1000-8000-00805f9b34fb, value: (0x) 00
A	07:17:29.873	"(0x) 00" received
V	07:17:29.886	Reading characteristic 00002a04-0000-1000-8000-00805f9b34fb
D	07:17:29.897	gatt.readCharacteristic(00002a04-0000-1000-8000-00805f9b34fb)
I	07:17:30.050	Read Response received from 00002a04-0000-1000-8000-00805f9b34fb, value: (0x) 64-00-C8-00-00-00-D0-07
A	07:17:30.061	"Connection Interval: 125.00ms - 250.00ms,
Slave Latency: 0,
Supervision Timeout Multiplier: 2000" received
V	07:17:30.074	Reading characteristic 00002a03-0000-1000-8000-00805f9b34fb
D	07:17:30.085	gatt.readCharacteristic(00002a03-0000-1000-8000-00805f9b34fb)
I	07:17:30.243	Read Response received from 00002a03-0000-1000-8000-00805f9b34fb, value: 0 bytes
V	07:17:30.254	Reading characteristic 00002a05-0000-1000-8000-00805f9b34fb
D	07:17:30.265	gatt.readCharacteristic(00002a05-0000-1000-8000-00805f9b34fb)
I	07:17:30.439	Read Response received from 00002a05-0000-1000-8000-00805f9b34fb, value: (0x) 01-00-FF-FF
A	07:17:30.451	"Affected Attribute Handle Range: 0x0001 - 0xFFFF" received
V	07:17:35.488	Enabling services...
V	07:17:35.507	Enabling indications for 00002a05-0000-1000-8000-00805f9b34fb
D	07:17:35.527	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0200)
I	07:17:35.704	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 02-00
A	07:17:35.713	"Indications enabled" sent
D	07:17:35.736	gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true)
V	07:17:35.754	Indications enabled for 00002a05-0000-1000-8000-00805f9b34fb
V	07:17:35.764	Enabling notifications for 003784cf-f7e3-55b4-6c4c-9fd140100a16
D	07:17:35.775	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100)
I	07:17:35.995	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
A	07:17:36.007	"Notifications enabled" sent
D	07:17:36.030	gatt.setCharacteristicNotification(003784cf-f7e3-55b4-6c4c-9fd140100a16, true)
V	07:17:36.042	Notifications enabled for 003784cf-f7e3-55b4-6c4c-9fd140100a16
V	07:17:36.055	Enabling notifications for d44bc439-abfd-45a2-b575-925416129601
D	07:17:36.066	gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100)
I	07:17:36.191	Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
A	07:17:36.203	"Notifications enabled" sent
D	07:17:36.227	gatt.setCharacteristicNotification(d44bc439-abfd-45a2-b575-925416129601, true)
V	07:17:36.240	Notifications enabled for d44bc439-abfd-45a2-b575-925416129601
V	07:17:36.251	All services enabled
V	07:17:38.528	Reading remote RSSI...
D	07:17:38.542	gatt.readRemoteRssi()
I	07:17:38.564	Remote RSSI received: -64 dBm

^