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.

Bonding problem

Other Parts Discussed in Thread: CC2541, CC2541DK-MINI

Scenario:  On the central side I have an iOS app that communicates with a cc2541 device in peripheral role.

Problem:   The bonding process fails from time to time, unfortunately it's really hard to reproduce it all the time.

Setup:  On the peripheral side I use CC2541DK-MINI, Revision 1.0.2, 256K flash.

             BLE stack version: 1.4.0

             Compiler: IAR Embedded Workbench for 8051 version 8.30.2

             Application: I used the simpleBLEPeripheral project

Problem details:  I managed to recreate the problem using the BTool as central and captured some logs, attached.

                            There are two curious behaviours that I cannot explain.

                            Behaviour 1:   The peripheral gets discovered, then I send a connect request, sent pairing request (Bonding and MITM enabled), I sent the passkey, then I get the LTK. When I hit the "Encrypt" button in BTool it sends a GAP_Bond opcode, the peripheral replies with GAP_Bond success and , curiously enough, the peripheral sends a disconnect event and the bonding times out. The disconnect event sent by the peripheral is GAP_TerminateLink with the error reason: "Unknown Gap Termination Reason 0x06". See the attached file bonding.txt for details.

[1] : <Tx> - 02:19:59.290
-Type		: 0x01 (Command)
-Opcode		: 0xFE0B (GAP_Authenticate)
-Data Length	: 0x1D (29) byte(s)
 ConnHandle	: 0x0000 (0)
 sec.ioCaps	: 0x04 (KeyboardDisplay)
 sec.oobAvail	: 0x00 (False)
 sec.oob		: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
 sec.authReq	: 0x05 (Bonding - exchange and save key information
       		  Man-In-The-Middle protection)
 sec.maxEKeySize	: 0x10 (16)
 sec.keyDist	: 0x3F (Slave Encryption Key
       		  Slave Identification Key
       		  Slave Signing Key
       		  Master Encryption Key
       		  Master Identification Key
       		  Master Signing Key)
 pair.Enable	: 0x00 (Disable)
 pair.ioCaps	: 0x03 (NoInputNoOutput)
 pair.oobDFlag	: 0x00 (Disable)
 pair.authReq	: 0x01 (Bonding - exchange and save key information)
 pair.maxEKeySize	: 0x10 (16)
 pair.keyDist	: 0x3F (Slave Encryption Key
       		  Slave Identification Key
       		  Slave Signing Key
       		  Master Encryption Key
       		  Master Identification Key
       		  Master Signing Key)
Dump(Tx):
01 0B FE 1D 00 00 04 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 05 10 3F 00 03 00 01 10 
3F 
------------------------------------------------------------------------------------------------------------------------
[2] : <Rx> - 02:19:59.321
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE0B (GAP_Authenticate)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 0B FE 00 
------------------------------------------------------------------------------------------------------------------------
[3] : <Rx> - 02:19:59.508
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x0D (13) bytes(s)
 Event		: 0x060B (GAP_PasskeyNeeded)
 Status		: 0x00 (Success)
 DevAddr		: 84:DD:20:F0:8D:C1
 ConnHandle	: 0x0000 (0)
 UiInput		: 0x01 (Ask User To Input A Passcode)
 UiOutput		: 0x00 (Don�t Display Passcode)
Dump(Rx):
04 FF 0D 0B 06 00 C1 8D F0 20 DD 84 00 00 01 00 

------------------------------------------------------------------------------------------------------------------------
[4] : <Rx> - 02:20:00.506
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x0B (11) bytes(s)
 Event		: 0x0607 (GAP_LinkParamUpdate)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
 ConnInterval	: 0x0320 (800)
 ConnLatency	: 0x0000 (0)
 ConnTimeout	: 0x03E8 (1000)
Dump(Rx):
04 FF 0B 07 06 00 00 00 20 03 00 00 E8 03 
------------------------------------------------------------------------------------------------------------------------
[5] : <Tx> - 02:20:07.464
-Type		: 0x01 (Command)
-Opcode		: 0xFE0C (GAP_PasskeyUpdate)
-Data Length	: 0x08 (8) byte(s)
 ConnHandle	: 0x0000 (0)
 PassKey		: 1 2 3 4 5 6
Dump(Tx):
01 0C FE 08 00 00 31 32 33 34 35 36 
------------------------------------------------------------------------------------------------------------------------
[6] : <Rx> - 02:20:07.480
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE0C (GAP_PasskeyUpdate)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 0C FE 00 
------------------------------------------------------------------------------------------------------------------------
[7] : <Rx> - 02:20:19.102
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x6A (106) bytes(s)
 Event		: 0x060A (GAP_AuthenticationComplete)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
 AuthState	: 0x05 (Bonding - exchange and save key information
       		  Man-In-The-Middle protection)
 SecInf.Enable	: 0x01 (1)
 SecInf.LTKSize	: 0x10 (16)
 SecInf.LTK	: 0B:E0:73:45:E8:67:E5:8D:25:8B:B9:5B:14:32:B6:4C
 SecInf.DIV	: 0x1437 (5175)
 SecInf.Rand	: 06:0C:E3:83:B5:4B:E4:77
 DSInf.Enable	: 0x01 (1)
 DSInf.LTKSize	: 0x10 (16)
 DSInf.LTK	: 2B:60:99:DD:CE:EA:AF:95:91:3E:FE:AC:10:C1:36:4F
 DSInf.DIV	: 0xCC17 (52247)
 DSInf.Rand	: 4F:16:47:F6:87:F0:5B:20
 IdInfo.Enable	: 0x01 (1)
 IdInfo.IRK	: 3A:5E:4F:11:F4:B5:33:47:BF:54:B7:B1:67:77:4E:EB
 IdInfo.BD_Addr	: 84:DD:20:F0:8D:C1
 SignInfo.Enable	: 0x01 (1)
 SignInfo.CSRK	: 7C:55:FB:A1:E3:82:96:C8:6D:6C:5E:2E:91:3A:2D:6F
 SignCounter	: 0xFFFFFFFF (4294967295)
Dump(Rx):
04 FF 6A 0A 06 00 00 00 05 01 10 0B E0 73 45 E8 
67 E5 8D 25 8B B9 5B 14 32 B6 4C 37 14 06 0C E3 
83 B5 4B E4 77 01 10 2B 60 99 DD CE EA AF 95 91 
3E FE AC 10 C1 36 4F 17 CC 4F 16 47 F6 87 F0 5B 
20 01 3A 5E 4F 11 F4 B5 33 47 BF 54 B7 B1 67 77 
4E EB C1 8D F0 20 DD 84 01 7C 55 FB A1 E3 82 96 
C8 6D 6C 5E 2E 91 3A 2D 6F FF FF FF FF 
------------------------------------------------------------------------------------------------------------------------
[8] : <Tx> - 02:20:29.070
-Type		: 0x01 (Command)
-Opcode		: 0xFE0F (GAP_Bond)
-Data Length	: 0x1E (30) byte(s)
 ConnHandle	: 0x0000 (0)
 Authenticated	: 0x01 (Yes)
 LongTermKey	: 60:87:3D:AB:7C:51:88:E2:CB:E5:4F:15:77:B6:18:24
 DIV		: 0x96C9 (38601)
 Rand		: 1E:2F:86:09:4B:E3:C7:F5
 LTKSize		: 0x10 (16)
Dump(Tx):
01 0F FE 1E 00 00 01 60 87 3D AB 7C 51 88 E2 CB 
E5 4F 15 77 B6 18 24 C9 96 1E 2F 86 09 4B E3 C7 
F5 10 
------------------------------------------------------------------------------------------------------------------------
[9] : <Rx> - 02:20:29.086
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE0F (GAP_Bond)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 0F FE 00 
------------------------------------------------------------------------------------------------------------------------
[10] : <Info> - 02:20:37.604
Device Disconnected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = 84:DD:20:F0:8D:C1
------------------------------------------------------------------------------------------------------------------------
[11] : <Rx> - 02:20:37.604
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x0606 (GAP_TerminateLink)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
 Reason		: 0x06 (Unknown Gap Termination Reason 0x06)
Dump(Rx):
04 FF 06 06 06 00 00 00 06 
------------------------------------------------------------------------------------------------------------------------
[12] : <Warning> - 02:21:19.105
Pairing Bonding Request Timeout.
------------------------------------------------------------------------------------------------------------------------

                           Behaviour 2: Same steps as before but this time the bonding is complete (the central receives GAP_BondComplete), but the peripheral disconnects again with "Supervisor timeout" and in addition to that it stops advertising, so the peripheral is not to be found again. See no_more_advert.txt attachment for details.

[1] : <Tx> - 01:53:10.566
-Type		: 0x01 (Command)
-Opcode		: 0xFE09 (GAP_EstablishLinkRequest)
-Data Length	: 0x09 (9) byte(s)
 HighDutyCycle	: 0x00 (Disable)
 WhiteList		: 0x00 (Disable)
 AddrTypePeer	: 0x00 (Public)
 PeerAddr		: C1:8D:F0:20:DD:84
Dump(Tx):
01 09 FE 09 00 00 00 C1 8D F0 20 DD 84 
------------------------------------------------------------------------------------------------------------------------
[2] : <Rx> - 01:53:10.581
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE09 (GAP_EstablishLinkRequest)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 09 FE 00 
------------------------------------------------------------------------------------------------------------------------
[3] : <Info> - 01:53:12.859
Device Connected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = 84:DD:20:F0:8D:C1
------------------------------------------------------------------------------------------------------------------------
[4] : <Rx> - 01:53:12.859
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x13 (19) bytes(s)
 Event		: 0x0605 (GAP_EstablishLink)
 Status		: 0x00 (Success)
 DevAddrType	: 0x00 (Public)
 DevAddr		: 84:DD:20:F0:8D:C1
 ConnHandle	: 0x0000 (0)
 ConnInterval	: 0x0050 (80)
 ConnLatency	: 0x0000 (0)
 ConnTimeout	: 0x07D0 (2000)
 ClockAccuracy	: 0x00 (0)
Dump(Rx):
04 FF 13 05 06 00 00 C1 8D F0 20 DD 84 00 00 50 
00 00 00 D0 07 00 
------------------------------------------------------------------------------------------------------------------------
[5] : <Tx> - 01:53:19.505
-Type		: 0x01 (Command)
-Opcode		: 0xFE0B (GAP_Authenticate)
-Data Length	: 0x1D (29) byte(s)
 ConnHandle	: 0x0000 (0)
 sec.ioCaps	: 0x04 (KeyboardDisplay)
 sec.oobAvail	: 0x00 (False)
 sec.oob		: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
 sec.authReq	: 0x05 (Bonding - exchange and save key information
       		  Man-In-The-Middle protection)
 sec.maxEKeySize	: 0x10 (16)
 sec.keyDist	: 0x3F (Slave Encryption Key
       		  Slave Identification Key
       		  Slave Signing Key
       		  Master Encryption Key
       		  Master Identification Key
       		  Master Signing Key)
 pair.Enable	: 0x00 (Disable)
 pair.ioCaps	: 0x03 (NoInputNoOutput)
 pair.oobDFlag	: 0x00 (Disable)
 pair.authReq	: 0x01 (Bonding - exchange and save key information)
 pair.maxEKeySize	: 0x10 (16)
 pair.keyDist	: 0x3F (Slave Encryption Key
       		  Slave Identification Key
       		  Slave Signing Key
       		  Master Encryption Key
       		  Master Identification Key
       		  Master Signing Key)
Dump(Tx):
01 0B FE 1D 00 00 04 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 05 10 3F 00 03 00 01 10 
3F 
------------------------------------------------------------------------------------------------------------------------
[6] : <Rx> - 01:53:19.536
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE0B (GAP_Authenticate)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 0B FE 00 
------------------------------------------------------------------------------------------------------------------------
[7] : <Rx> - 01:53:19.598
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x0B (11) bytes(s)
 Event		: 0x0607 (GAP_LinkParamUpdate)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
 ConnInterval	: 0x0320 (800)
 ConnLatency	: 0x0000 (0)
 ConnTimeout	: 0x03E8 (1000)
Dump(Rx):
04 FF 0B 07 06 00 00 00 20 03 00 00 E8 03 
------------------------------------------------------------------------------------------------------------------------
[8] : <Rx> - 01:53:19.692
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x0D (13) bytes(s)
 Event		: 0x060B (GAP_PasskeyNeeded)
 Status		: 0x00 (Success)
 DevAddr		: 84:DD:20:F0:8D:C1
 ConnHandle	: 0x0000 (0)
 UiInput		: 0x01 (Ask User To Input A Passcode)
 UiOutput		: 0x00 (Don�t Display Passcode)
Dump(Rx):
04 FF 0D 0B 06 00 C1 8D F0 20 DD 84 00 00 01 00 

------------------------------------------------------------------------------------------------------------------------
[9] : <Tx> - 01:53:31.189
-Type		: 0x01 (Command)
-Opcode		: 0xFE0C (GAP_PasskeyUpdate)
-Data Length	: 0x08 (8) byte(s)
 ConnHandle	: 0x0000 (0)
 PassKey		: 1 2 3 4 5 6
Dump(Tx):
01 0C FE 08 00 00 31 32 33 34 35 36 
------------------------------------------------------------------------------------------------------------------------
[10] : <Rx> - 01:53:31.221
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE0C (GAP_PasskeyUpdate)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 0C FE 00 
------------------------------------------------------------------------------------------------------------------------
[11] : <Rx> - 01:53:43.186
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x6A (106) bytes(s)
 Event		: 0x060A (GAP_AuthenticationComplete)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
 AuthState	: 0x05 (Bonding - exchange and save key information
       		  Man-In-The-Middle protection)
 SecInf.Enable	: 0x01 (1)
 SecInf.LTKSize	: 0x10 (16)
 SecInf.LTK	: 11:3F:F5:4F:E3:84:16:C8:55:CC:21:7C:2A:9B:4A:1D
 SecInf.DIV	: 0x44F5 (17653)
 SecInf.Rand	: E4:73:F6:4B:93:C4:5D:2C
 DSInf.Enable	: 0x01 (1)
 DSInf.LTKSize	: 0x10 (16)
 DSInf.LTK	: 60:87:3D:AB:7C:51:88:E2:CB:E5:4F:15:77:B6:18:24
 DSInf.DIV	: 0x96C9 (38601)
 DSInf.Rand	: 1E:2F:86:09:4B:E3:C7:F5
 IdInfo.Enable	: 0x01 (1)
 IdInfo.IRK	: 18:26:95:CA:5D:2C:D1:3A:09:1F:D0:C5:29:9C:8A:1D
 IdInfo.BD_Addr	: 84:DD:20:F0:8D:C1
 SignInfo.Enable	: 0x01 (1)
 SignInfo.CSRK	: 2A:9E:BA:5D:E7:71:16:CB:E5:8C:16:C8:65:8C:8E:E8
 SignCounter	: 0xFFFFFFFF (4294967295)
Dump(Rx):
04 FF 6A 0A 06 00 00 00 05 01 10 11 3F F5 4F E3 
84 16 C8 55 CC 21 7C 2A 9B 4A 1D F5 44 E4 73 F6 
4B 93 C4 5D 2C 01 10 60 87 3D AB 7C 51 88 E2 CB 
E5 4F 15 77 B6 18 24 C9 96 1E 2F 86 09 4B E3 C7 
F5 01 18 26 95 CA 5D 2C D1 3A 09 1F D0 C5 29 9C 
8A 1D C1 8D F0 20 DD 84 01 2A 9E BA 5D E7 71 16 
CB E5 8C 16 C8 65 8C 8E E8 FF FF FF FF 
------------------------------------------------------------------------------------------------------------------------
[12] : <Tx> - 01:54:00.299
-Type		: 0x01 (Command)
-Opcode		: 0xFE0F (GAP_Bond)
-Data Length	: 0x1E (30) byte(s)
 ConnHandle	: 0x0000 (0)
 Authenticated	: 0x01 (Yes)
 LongTermKey	: 60:87:3D:AB:7C:51:88:E2:CB:E5:4F:15:77:B6:18:24
 DIV		: 0x96C9 (38601)
 Rand		: 1E:2F:86:09:4B:E3:C7:F5
 LTKSize		: 0x10 (16)
Dump(Tx):
01 0F FE 1E 00 00 01 60 87 3D AB 7C 51 88 E2 CB 
E5 4F 15 77 B6 18 24 C9 96 1E 2F 86 09 4B E3 C7 
F5 10 
------------------------------------------------------------------------------------------------------------------------
[13] : <Rx> - 01:54:00.330
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE0F (GAP_Bond)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 0F FE 00 
------------------------------------------------------------------------------------------------------------------------
[14] : <Rx> - 01:54:09.691
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x05 (5) bytes(s)
 Event		: 0x060E (GAP_BondComplete)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
Dump(Rx):
04 FF 05 0E 06 00 00 00 
------------------------------------------------------------------------------------------------------------------------
[15] : <Info> - 01:54:20.689
Device Disconnected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = 84:DD:20:F0:8D:C1
------------------------------------------------------------------------------------------------------------------------
[16] : <Rx> - 01:54:20.689
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x0606 (GAP_TerminateLink)
 Status		: 0x00 (Success)
 ConnHandle	: 0x0000 (0)
 Reason		: 0x08 (Supervisor Timeout)
Dump(Rx):
04 FF 06 06 06 00 00 00 08 
------------------------------------------------------------------------------------------------------------------------
[17] : <Tx> - 01:54:33.575
-Type		: 0x01 (Command)
-Opcode		: 0xFE04 (GAP_DeviceDiscoveryRequest)
-Data Length	: 0x03 (3) byte(s)
 Mode		: 0x03 (All)
 ActiveScan	: 0x01 (Enable)
 WhiteList		: 0x00 (Disable)
Dump(Tx):
01 04 FE 03 03 01 00 
------------------------------------------------------------------------------------------------------------------------
[18] : <Rx> - 01:54:33.606
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE04 (GAP_DeviceDiscoveryRequest)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 04 FE 00 
------------------------------------------------------------------------------------------------------------------------
[19] : <Rx> - 01:54:34.386
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x14 (20) bytes(s)
 Event		: 0x060D (GAP_DeviceInformation)
 Status		: 0x00 (Success)
 EventType	: 0x00 (Connectable Undirect Advertisement)
 AddrType	: 0x00 (Public)
 Addr		: 88:33:14:E5:D6:53
 Rssi		: 0xAE (174)
 DataLength	: 0x07 (7)
 Data		: 02:01:06:03:02:D0:FF
Dump(Rx):
04 FF 14 0D 06 00 00 00 53 D6 E5 14 33 88 AE 07 
02 01 06 03 02 D0 FF 
------------------------------------------------------------------------------------------------------------------------
[20] : <Rx> - 01:54:34.401
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x23 (35) bytes(s)
 Event		: 0x060D (GAP_DeviceInformation)
 Status		: 0x00 (Success)
 EventType	: 0x04 (Scan Response)
 AddrType	: 0x00 (Public)
 Addr		: 88:33:14:E5:D6:53
 Rssi		: 0xAE (174)
 DataLength	: 0x16 (22)
 Data		: 0C:09:46:69:6E:50:61:73:73:5F:62:64:75:05:12:50:
		  00:20:03:02:0A:00
Dump(Rx):
04 FF 23 0D 06 00 04 00 53 D6 E5 14 33 88 AE 16 
0C 09 46 69 6E 50 61 73 73 5F 62 64 75 05 12 50 
00 20 03 02 0A 00 
------------------------------------------------------------------------------------------------------------------------
[21] : <Rx> - 01:54:43.839
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x0C (12) bytes(s)
 Event		: 0x0601 (GAP_DeviceDiscoveryDone)
 Status		: 0x00 (Success)
 NumDevs	: 0x01 (1)
 Device #0
 EventType	: 0x00 (Connectable Undirect Advertisement)
 AddrType	: 0x00 (Public)
 Addr		: 88:33:14:E5:D6:53
Dump(Rx):
04 FF 0C 01 06 00 01 00 00 53 D6 E5 14 33 88 
------------------------------------------------------------------------------------------------------------------------
[22] : <Tx> - 01:54:49.471
-Type		: 0x01 (Command)
-Opcode		: 0xFE04 (GAP_DeviceDiscoveryRequest)
-Data Length	: 0x03 (3) byte(s)
 Mode		: 0x03 (All)
 ActiveScan	: 0x01 (Enable)
 WhiteList		: 0x00 (Disable)
Dump(Tx):
01 04 FE 03 03 01 00 
------------------------------------------------------------------------------------------------------------------------
[23] : <Rx> - 01:54:49.502
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x06 (6) bytes(s)
 Event		: 0x067F (GAP_HCI_ExtentionCommandStatus)
 Status		: 0x00 (Success)
 OpCode		: 0xFE04 (GAP_DeviceDiscoveryRequest)
 DataLength	: 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 04 FE 00 
------------------------------------------------------------------------------------------------------------------------
[24] : <Rx> - 01:54:52.482
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x14 (20) bytes(s)
 Event		: 0x060D (GAP_DeviceInformation)
 Status		: 0x00 (Success)
 EventType	: 0x00 (Connectable Undirect Advertisement)
 AddrType	: 0x00 (Public)
 Addr		: 88:33:14:E5:D6:53
 Rssi		: 0xAF (175)
 DataLength	: 0x07 (7)
 Data		: 02:01:06:03:02:D0:FF
Dump(Rx):
04 FF 14 0D 06 00 00 00 53 D6 E5 14 33 88 AF 07 
02 01 06 03 02 D0 FF 
------------------------------------------------------------------------------------------------------------------------
[25] : <Rx> - 01:54:52.498
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x23 (35) bytes(s)
 Event		: 0x060D (GAP_DeviceInformation)
 Status		: 0x00 (Success)
 EventType	: 0x04 (Scan Response)
 AddrType	: 0x00 (Public)
 Addr		: 88:33:14:E5:D6:53
 Rssi		: 0xAF (175)
 DataLength	: 0x16 (22)
 Data		: 0C:09:46:69:6E:50:61:73:73:5F:62:64:75:05:12:50:
		  00:20:03:02:0A:00
Dump(Rx):
04 FF 23 0D 06 00 04 00 53 D6 E5 14 33 88 AF 16 
0C 09 46 69 6E 50 61 73 73 5F 62 64 75 05 12 50 
00 20 03 02 0A 00 
------------------------------------------------------------------------------------------------------------------------
[26] : <Rx> - 01:54:59.752
-Type		: 0x04 (Event)
-EventCode	: 0xFF (HCI_LE_ExtEvent)
-Data Length	: 0x0C (12) bytes(s)
 Event		: 0x0601 (GAP_DeviceDiscoveryDone)
 Status		: 0x00 (Success)
 NumDevs	: 0x01 (1)
 Device #0
 EventType	: 0x00 (Connectable Undirect Advertisement)
 AddrType	: 0x00 (Public)
 Addr		: 88:33:14:E5:D6:53
Dump(Rx):
04 FF 0C 01 06 00 01 00 00 53 D6 E5 14 33 88 
------------------------------------------------------------------------------------------------------------------------

Any ideas , suggestions ?

10x in advance