This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HostTest binary and BTool

Hi,

I'm trying test a BLE Slave device (in periperal mode with a custom service and characteristics) with BTool. I'm able to make the device in Advertising mode.
Now when i try to add Service; only Primary and secondary is there; and that also when i issue the command, shows Failure. Attaching the logs.
Please help.

The board is SmartRF06EB flashed with HostTest binary on that.

============================================================

[1] : <Info> - 01:02:53.743
Port opened at 5/17/2016 1:02:53 PM
--------------------------------------------------------------------
[2] : <Tx> - 01:02:54.624
-Type : 0x01 (Command)
-OpCode : 0xFE00 (GAP_DeviceInit)
-Data Length : 0x26 (38) byte(s)
ProfileRole : 0x08 (8) (Central)
MaxScanRsps : 0x05 (5)
IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
SignCounter : 0x00000001 (1)
Dump(Tx):
0000:01 00 FE 26 08 05 00 00 00 00 00 00 00 00 00 00 ...&............
0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020:00 00 00 00 00 00 01 00 00 00 ..........
--------------------------------------------------------------------
[3] : <Rx> - 01:02:54.805
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE00 (GAP_DeviceInit)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 00 FE 00 .........
--------------------------------------------------------------------
[4] : <Rx> - 01:02:54.816
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x2C (44) bytes(s)
Event : 0x0600 (1536) (GAP_DeviceInitDone)
Status : 0x00 (0) (Success)
DevAddr : C4:BE:84:B9:3C:89
DataPktLen : 0x001B (27)
NumDataPkts : 0x0A (10)
IRK : C7:83:39:B1:3D:83:DC:68:B0:69:00:CA:7D:9B:89:33
CSRK : 76:66:95:03:CD:2F:92:CD:EA:86:95:FB:59:5F:70:84
Dump(Rx):
0000:04 FF 2C 00 06 00 89 3C B9 84 BE C4 1B 00 0A C7 ..,....<........
0010:83 39 B1 3D 83 DC 68 B0 69 00 CA 7D 9B 89 33 76 .9.=..h.i..}..3v
0020:66 95 03 CD 2F 92 CD EA 86 95 FB 59 5F 70 84 f.../......Y_p.
--------------------------------------------------------------------
[5] : <Tx> - 01:02:55.184
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x15 (21) (Minimum Link Layer Connection Interval,
When Using Connection Establishment
Proc (mSec). TGAP_CONN_EST_INT_MIN)
Dump(Tx):
0000:01 31 FE 01 15 .1...
--------------------------------------------------------------------
[6] : <Tx> - 01:02:55.194
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x16 (22) (Maximum Link Layer Connection Interval,
When Using Connection Establishment
Proc (mSec). TGAP_CONN_EST_INT_MAX)
Dump(Tx):
0000:01 31 FE 01 16 .1...
--------------------------------------------------------------------
[7] : <Tx> - 01:02:55.204
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x1A (26) (Link Layer Connection Slave Latency, When Using
Connection Establishment Proc (mSec) TGAP_CONN_EST_LATENCY)
Dump(Tx):
0000:01 31 FE 01 1A .1...
--------------------------------------------------------------------
[8] : <Tx> - 01:02:55.227
-Type : 0x01 (Command)
-OpCode : 0xFE31 (GAP_GetParam)
-Data Length : 0x01 (1) byte(s)
ParamID : 0x19 (25) (Link Layer Connection Supervision Timeout,
When Using Connection Establishment
Proc (mSec). TGAP_CONN_EST_SUPERV_TIMEOUT)
Dump(Tx):
0000:01 31 FE 01 19 .1...
--------------------------------------------------------------------
[9] : <Rx> - 01:02:55.259
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x0050 (80)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 50 00 ......1..P.
--------------------------------------------------------------------
[10] : <Rx> - 01:02:55.279
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x0050 (80)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 50 00 ......1..P.
--------------------------------------------------------------------
[11] : <Rx> - 01:02:55.309
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x0000 (0)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 00 00 ......1....
--------------------------------------------------------------------
[12] : <Rx> - 01:02:55.319
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x08 (8) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE31 (GAP_GetParam)
DataLength : 0x02 (2)
ParamValue : 0x07D0 (2000)
Dump(Rx):
0000:04 FF 08 7F 06 00 31 FE 02 D0 07 ......1....
--------------------------------------------------------------------
[13] : <Tx> - 01:03:27.052
-Type : 0x01 (Command)
-OpCode : 0xFE00 (GAP_DeviceInit)
-Data Length : 0x26 (38) byte(s)
ProfileRole : 0x04 (4) (Peripheral)
MaxScanRsps : 0x01 (1)
IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
SignCounter : 0x00000001 (1)
Dump(Tx):
0000:01 00 FE 26 04 01 00 00 00 00 00 00 00 00 00 00 ...&............
0010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020:00 00 00 00 00 00 01 00 00 00 ..........
--------------------------------------------------------------------
[14] : <Rx> - 01:03:27.088
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (0) (Success)
OpCode : 0xFE00 (GAP_DeviceInit)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 00 00 FE 00 .........
--------------------------------------------------------------------
[15] : <Rx> - 01:03:27.098
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x2C (44) bytes(s)
Event : 0x0600 (1536) (GAP_DeviceInitDone)
Status : 0x00 (0) (Success)
DevAddr : C4:BE:84:B9:3C:89
DataPktLen : 0x001B (27)
NumDataPkts : 0x0A (10)
IRK : C7:83:39:B1:3D:83:DC:68:B0:69:00:CA:7D:9B:89:33
CSRK : 76:66:95:03:CD:2F:92:CD:EA:86:95:FB:59:5F:70:84
Dump(Rx):
0000:04 FF 2C 00 06 00 89 3C B9 84 BE C4 1B 00 0A C7 ..,....<........
0010:83 39 B1 3D 83 DC 68 B0 69 00 CA 7D 9B 89 33 76 .9.=..h.i..}..3v
0020:66 95 03 CD 2F 92 CD EA 86 95 FB 59 5F 70 84 f.../......Y_p.
--------------------------------------------------------------------
[16] : <Tx> - 01:05:18.820
-Type : 0x01 (Command)
-OpCode : 0xFDFE (GATT_AddAttribute)
-Data Length : 0x03 (3) byte(s)
UUID : 00:01
Permissions : 0x02 (2) (GATT_PERMIT_WRITE)
Dump(Tx):
0000:01 FE FD 03 00 01 02 .......
--------------------------------------------------------------------
[17] : <Rx> - 01:05:18.858
-Type : 0x04 (Event)
-EventCode : 0x00FF (Event)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
Status : 0x01 (1) (Failure)
OpCode : 0xFDFE (GATT_AddAttribute)
DataLength : 0x00 (0)
Dump(Rx):
0000:04 FF 06 7F 06 01 FE FD 00 .........
--------------------------------------------------------------------