Tabu Lumen Bluetooth LE Bulb Specifications: --------------------------------------------------------- Device Name: iSmartLight Bough Address Type: Public --------------------------------------------------------- Service list: ----------------------------------------------------------------------------------------------------------------------------- name |type |attribute handle |end group handl |uuid ----------------------------------------------------------------------------------------------------------------------------- Generic Access |primary |0x0001 |0x000b |00001800-0000-1000-8000-00805f9b34fb Generic Attribute |primary |0x000c |0x000f |00001801-0000-1000-8000-00805f9b34fb Device Information |primary |0x0010 |0x0022 |0000180a-0000-1000-8000-00805f9b34fb Unknown Service |primary |0x0023 |0x0033 |0000fff0-0000-1000-8000-00805f9b34fb Battery Service |primary |0x0034 |0xffff |0000180f-0000-1000-8000-00805f9b34fb --------------------------------------------------------- $ sudo gatttool -b 84:DD:20:E2:41:92 --primary attr handle = 0x0001, end grp handle = 0x000b uuid: 00001800-0000-1000-8000-00805f9b34fb attr handle = 0x000c, end grp handle = 0x000f uuid: 00001801-0000-1000-8000-00805f9b34fb attr handle = 0x0010, end grp handle = 0x0022 uuid: 0000180a-0000-1000-8000-00805f9b34fb attr handle = 0x0023, end grp handle = 0x0033 uuid: 0000fff0-0000-1000-8000-00805f9b34fb attr handle = 0x0034, end grp handle = 0xffff uuid: 0000180f-0000-1000-8000-00805f9b34fb --------------------------------------------------------- $sudo gatttool -b 84:DD:20:E2:41:92 --characteristics handle = 0x0002, char properties = 0x02, char value handle = 0x0003, uuid = 00002a00-0000-1000-8000-00805f9b34fb handle = 0x0004, char properties = 0x02, char value handle = 0x0005, uuid = 00002a01-0000-1000-8000-00805f9b34fb handle = 0x0006, char properties = 0x0a, char value handle = 0x0007, uuid = 00002a02-0000-1000-8000-00805f9b34fb handle = 0x0008, char properties = 0x0a, char value handle = 0x0009, uuid = 00002a03-0000-1000-8000-00805f9b34fb handle = 0x000a, char properties = 0x02, char value handle = 0x000b, uuid = 00002a04-0000-1000-8000-00805f9b34fb handle = 0x000d, char properties = 0x20, char value handle = 0x000e, uuid = 00002a05-0000-1000-8000-00805f9b34fb handle = 0x0011, char properties = 0x02, char value handle = 0x0012, uuid = 00002a23-0000-1000-8000-00805f9b34fb handle = 0x0013, char properties = 0x02, char value handle = 0x0014, uuid = 00002a24-0000-1000-8000-00805f9b34fb handle = 0x0015, char properties = 0x02, char value handle = 0x0016, uuid = 00002a25-0000-1000-8000-00805f9b34fb handle = 0x0017, char properties = 0x02, char value handle = 0x0018, uuid = 00002a26-0000-1000-8000-00805f9b34fb handle = 0x0019, char properties = 0x02, char value handle = 0x001a, uuid = 00002a27-0000-1000-8000-00805f9b34fb handle = 0x001b, char properties = 0x02, char value handle = 0x001c, uuid = 00002a28-0000-1000-8000-00805f9b34fb handle = 0x001d, char properties = 0x02, char value handle = 0x001e, uuid = 00002a29-0000-1000-8000-00805f9b34fb handle = 0x001f, char properties = 0x02, char value handle = 0x0020, uuid = 00002a2a-0000-1000-8000-00805f9b34fb handle = 0x0021, char properties = 0x02, char value handle = 0x0022, uuid = 00002a50-0000-1000-8000-00805f9b34fb handle = 0x0024, char properties = 0x0a, char value handle = 0x0025, uuid = 0000fff1-0000-1000-8000-00805f9b34fb handle = 0x0027, char properties = 0x02, char value handle = 0x0028, uuid = 0000fff2-0000-1000-8000-00805f9b34fb handle = 0x002a, char properties = 0x08, char value handle = 0x002b, uuid = 0000fff3-0000-1000-8000-00805f9b34fb handle = 0x002d, char properties = 0x10, char value handle = 0x002e, uuid = 0000fff4-0000-1000-8000-00805f9b34fb handle = 0x0031, char properties = 0x02, char value handle = 0x0032, uuid = 0000fff5-0000-1000-8000-00805f9b34fb handle = 0x0035, char properties = 0x12, char value handle = 0x0036, uuid = 00002a19-0000-1000-8000-00805f9b34fb ############################################################################################### Output of the Qt test application ############################################################################################### discovering... --------------------------------------- device : "iSmartLight Bough" mac : "84:DD:20:E2:41:92" Bluetooth LE : true --------------------------------------- Device found: --------------------------------------- name : "iSmartLight Bough" mac : "84:DD:20:E2:41:92" --------------------------------------- stop discovering. --------------------------------------- Connected successfully to "84:DD:20:E2:41:92" ---------------------------------------------------------------- name : "Generic Access" type : "" uuid : "{00001800-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x1800" ---------------------------------------------------------------- name : "Generic Attribute" type : "" uuid : "{00001801-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x1801" ---------------------------------------------------------------- name : "Device Information" type : "" uuid : "{0000180a-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x180a" ---------------------------------------------------------------- name : "Unknown Service" type : "" uuid : "{0000fff0-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0xfff0" ---------------------------------------------------------------- name : "Battery Service" type : "" uuid : "{0000180f-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x180f" ---------------------------------------------------------------- service scan finished. (found 5 services) ==================================================================================== -> get details of service "Generic Access" "{00001800-0000-1000-8000-00805f9b34fb}" ---------------------------------------------------------------- characteristics: name : "GAP Device Name" uuid : "{00002a00-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a00" handle : "0x3" permission : ("Read") value : "iSmartLight Bough" value (hex) : "69536d6172744c6967687420426f756768" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "GAP Appearance" uuid : "{00002a01-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a01" handle : "0x5" permission : ("Read") value : " value (hex) : "0000" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "GAP Peripheral Privacy Flag" uuid : "{00002a02-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a02" handle : "0x7" permission : ("Read", "Write") value : " value (hex) : "00" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "GAP Reconnection Address" uuid : "{00002a03-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a03" handle : "0x9" permission : ("Read", "Write") value : " value (hex) : "000000000000" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "GAP Peripheral Preferred Connection Parameters" uuid : "{00002a04-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a04" handle : "0xb" permission : ("Read") value : "P value (hex) : "5000a0000000e803" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- ==================================================================================== -> get details of service "Generic Attribute" "{00001801-0000-1000-8000-00805f9b34fb}" ---------------------------------------------------------------- characteristics: name : "GATT Service Changed" uuid : "{00002a05-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a05" handle : "0xe" permission : ("Indicate") value : "" value (hex) : "" --------------------------------------------------------- descriptor count: 1 --------------------------------------------------------- name : "Client Characteristic Configuration" uuid : "{00002902-0000-1000-8000-00805f9b34fb}" handle : 15 value : " value (hex) : "0000" ----------------------------------------------------- ==================================================================================== -> get details of service "Device Information" "{0000180a-0000-1000-8000-00805f9b34fb}" service needs discovery! discovering... ---------------------------------------------------------------- characteristics: name : "System ID" uuid : "{00002a23-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a23" handle : "0x12" permission : ("Read") value : "�A�BH ݄" value (hex) : "9241e2424820dd84" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "Model Number String" uuid : "{00002a24-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a24" handle : "0x14" permission : ("Read") value : "BG510" value (hex) : "4247353130" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "Serial Number String" uuid : "{00002a25-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a25" handle : "0x16" permission : ("Read") value : "00000001" value (hex) : "3030303030303031" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "Firmware Revision String" uuid : "{00002a26-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a26" handle : "0x18" permission : ("Read") value : "13121201" value (hex) : "3133313231323031" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "Hardware Revision String" uuid : "{00002a27-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a27" handle : "0x1a" permission : ("Read") value : "A133210A" value (hex) : "4131333332313041" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "Software Revision String" uuid : "{00002a28-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a28" handle : "0x1c" permission : ("Read") value : "Ver:0132" value (hex) : "5665723a30313332" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "Manufacturer Name String" uuid : "{00002a29-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a29" handle : "0x1e" permission : ("Read") value : "Bough Tech" value (hex) : "426f7567682054656368" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "IEEE 11073 20601 Regulatory Certification Data List" uuid : "{00002a2a-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a2a" handle : "0x20" permission : ("Read") value : "� value (hex) : "fe006578706572696d656e74616c" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- name : "PnP ID" uuid : "{00002a50-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a50" handle : "0x22" permission : ("Read") value : " value (hex) : "0100bb03120002" --------------------------------------------------------- descriptor count: 0 --------------------------------------------------------- ==================================================================================== -> get details of service "Battery Service" "{0000180f-0000-1000-8000-00805f9b34fb}" ---------------------------------------------------------------- characteristics: name : "Battery Level" uuid : "{00002a19-0000-1000-8000-00805f9b34fb}" uuid (hex) : "0x2a19" handle : "0x36" permission : ("Read", "Notify") value : "d" value (hex) : "64" --------------------------------------------------------- descriptor count: 2 --------------------------------------------------------- name : "Client Characteristic Configuration" uuid : "{00002902-0000-1000-8000-00805f9b34fb}" handle : 55 value : " value (hex) : "0000" ----------------------------------------------------- name : "Report Reference" uuid : "{00002908-0000-1000-8000-00805f9b34fb}" handle : 56 value : "" value (hex) : "0401" ----------------------------------------------------- ==================================================================================== -> get details of service "Unknown Service" "{0000fff0-0000-1000-8000-00805f9b34fb}" Here happens the bug...the discovery will never finish and no characterisitcs will be found. following characteristics should be found: handle = 0x0024, char properties = 0x0a, char value handle = 0x0025, uuid = 0000fff1-0000-1000-8000-00805f9b34fb handle = 0x0027, char properties = 0x02, char value handle = 0x0028, uuid = 0000fff2-0000-1000-8000-00805f9b34fb handle = 0x002a, char properties = 0x08, char value handle = 0x002b, uuid = 0000fff3-0000-1000-8000-00805f9b34fb handle = 0x002d, char properties = 0x10, char value handle = 0x002e, uuid = 0000fff4-0000-1000-8000-00805f9b34fb handle = 0x0031, char properties = 0x02, char value handle = 0x0032, uuid = 0000fff5-0000-1000-8000-00805f9b34fb