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.

Pairing with Smart RF Board as peripheral and PC Application as central

Other Parts Discussed in Thread: CC2540, CC2640

Hi,

By following the same Bond Set Param and HCI Commands,  now I cannot able to pair a RF board with a PC Application.

When we are trying to connect with PC application with CC2540 USB dongle and Smart RF Board with CC2640, the connection has been done successfully. For Pairing procedure we are done the following steps.

In CC2640, RF board has been flashed from Simple BLE central project initialize as Peripheral.

Pairing Mode = GAPBOND_PAIRING_WAIT_FOR_REQ
GAPBOND_MITM_PROTECTION = Enabled
GAPBOND_BONDING_ENABLED = Disabled
GAPBOND_IO_CAPABILITIES = Display only

In PC App with CC2540 USB Dongle initialize as central role,

Pairing Mode = GAPBOND_PAIRING_DONT_WAIT_FOR_REQ
GAPBOND_MITM_PROTECTION = Enabled
GAPBOND_BONDING_ENABLED = Disabled
GAPBOND_IO_CAPABILITIES = Keyboard and Display

But, the Authentication has been end with failure as wrong passkey.

Since we have to exchange the passkey as displaying in RF board and enter the value in PC application to pair the devices.

Kindly help me on, to understand the issue and guide to make the Authentication success with proper Passkey exchange.

Regards,

Ramesh Kumar

  • Hello Ramesh,

    Can you provide a BLE air sniffer trace of the pairing?

    Also, please clarify: "Simple BLE central project initialize as Peripheral".

    Best wishes
  • HI JXS,

    Please find the attached trace with two CC2540 dongle in BTool with the same set of Bond Parameter set and executed for pairing.

    Peripheral:

    Pairing Mode = GAPBOND_PAIRING_WAIT_FOR_REQ

    GAPBOND_MITM_PROTECTION = Enabled

    GAPBOND_BONDING_ENABLED = Disabled

    GAPBOND_IO_CAPABILITIES = Display only

    Central:

    Pairing Mode = GAPBOND_PAIRING_DONT_WAIT_FOR_REQ

    GAPBOND_MITM_PROTECTION = Enabled

    GAPBOND_BONDING_ENABLED = Disabled

    GAPBOND_IO_CAPABILITIES = Keyboard and Display

    The Authentication has been completed successful without waiting for Passkey Update.

    When I am executing the same with Smart RF board (Peripheral) and PC Application (Central) the authentication has been ended with wrong passkey failure.

    ***************************************
    ***************************************
    Central
    ***************************************
    ***************************************
    
    
    [1] : <Info> - 05:39:06.050
    Port opened at 8/4/2016 5:39:06 PM
    --------------------------------------------------------------------
    [2] : <Tx> - 05:39:06.229
    -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> - 05:39:06.241
    -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> - 05:39:06.251
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (Success)
     DevAddr        : 5C:31:3E:83:46:44
     DataPktLen     : 0x001B (27)
     NumDataPkts    : 0x0C (12)
     IRK            : 1B:20:D6:C9:FA:5F:90:C2:EE:6F:85:0D:EB:63:75:4D
     CSRK           : 48:E7:D7:35:7A:5C:A8:62:A1:7D:C1:F8:BF:50:84:F2
    Dump(Rx):
    0000:04 FF 2C 00 06 00 44 46 83 3E 31 5C 1B 00 0C 1B ..,...DF.>1\....
    0010:20 D6 C9 FA 5F 90 C2 EE 6F 85 0D EB 63 75 4D 48  ..._...o...cuMH
    0020:E7 D7 35 7A 5C A8 62 A1 7D C1 F8 BF 50 84 F2    ..5z\.b.}...P..
    --------------------------------------------------------------------
    [5] : <Tx> - 05:39:06.320
    -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> - 05:39:06.330
    -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> - 05:39:06.341
    -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] : <Rx> - 05:39:06.347
    -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.
    --------------------------------------------------------------------
    [9] : <Tx> - 05:39:06.351
    -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...
    --------------------------------------------------------------------
    [10] : <Rx> - 05:39:06.357
    -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> - 05:39:06.377
    -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> - 05:39:06.397
    -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> - 05:40:22.844
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0400 (1024) (GAPBOND_PAIRING_MODE)
     ParamLength    : 0x01 (1)
     Value          : 02
    Dump(Tx):
    0000:01 36 FE 04 00 04 01 02                         .6......
    --------------------------------------------------------------------
    [14] : <Rx> - 05:40:22.880
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [15] : <Tx> - 05:40:29.432
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0402 (1026) (GAPBOND_MITM_PROTECTION)
     ParamLength    : 0x01 (1)
     Value          : 01
    Dump(Tx):
    0000:01 36 FE 04 02 04 01 01                         .6......
    --------------------------------------------------------------------
    [16] : <Rx> - 05:40:29.454
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [17] : <Tx> - 05:40:35.440
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0406 (1030) (GAPBOND_BONDING_ENABLED)
     ParamLength    : 0x01 (1)
     Value          : 00
    Dump(Tx):
    0000:01 36 FE 04 06 04 01 00                         .6......
    --------------------------------------------------------------------
    [18] : <Rx> - 05:40:35.464
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [19] : <Tx> - 05:40:42.890
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x03 (3) byte(s)
     ParamID        : 0x0409 (1033) (GAPBOND_ERASE_ALLBONDS)
     ParamLength    : 0x00 (0)
    Dump(Tx):
    0000:01 36 FE 03 09 04 00                            .6.....
    --------------------------------------------------------------------
    [20] : <Rx> - 05:40:42.975
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [21] : <Tx> - 05:40:50.396
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0403 (1027) (GAPBOND_IO_CAPABILITIES)
     ParamLength    : 0x01 (1)
     Value          : 04
    Dump(Tx):
    0000:01 36 FE 04 03 04 01 04                         .6......
    --------------------------------------------------------------------
    [22] : <Rx> - 05:40:50.420
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [23] : <Tx> - 05:42:16.631
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE04 (GAP_DeviceDiscoveryRequest)
    -Data Length    : 0x03 (3) byte(s)
     Mode           : 0x03 (3) (All)
     ActiveScan     : 0x01 (1) (Enable)
     WhiteList      : 0x00 (0) (Disable)
    Dump(Tx):
    0000:01 04 FE 03 03 01 00                            .......
    --------------------------------------------------------------------
    [24] : <Rx> - 05:42:16.649
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE04 (GAP_DeviceDiscoveryRequest)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 04 FE 00                      .........
    --------------------------------------------------------------------
    [25] : <Rx> - 05:42:16.729
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x10 (16) bytes(s)
     Event          : 0x060D (1549) (GAP_DeviceInformation)
     Status         : 0x00 (0) (Success)
     EventType      : 0x00 (0) (Connectable Undirect Advertisement)
     AddrType       : 0x00 (0) (Public)
     Addr           : 90:59:AF:28:6F:6D
     Rssi           : 0xDE (222)
     DataLength     : 0x03 (3)
     Data           : 02:01:06
    Dump(Rx):
    0000:04 FF 10 0D 06 00 00 00 6D 6F 28 AF 59 90 DE 03 ........mo(.Y...
    0010:02 01 06                                        ...
    --------------------------------------------------------------------
    [26] : <Rx> - 05:42:19.585
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x22 (34) bytes(s)
     Event          : 0x060D (1549) (GAP_DeviceInformation)
     Status         : 0x00 (0) (Success)
     EventType      : 0x00 (0) (Connectable Undirect Advertisement)
     AddrType       : 0x00 (0) (Public)
     Addr           : B0:B4:48:DA:F4:30
     Rssi           : 0xB5 (181)
     DataLength     : 0x15 (21)
     Data           : 02:01:06:03:02:F0:FF:0E:09:36:30:33:30:31:37:30:
                      00:00:00:00:00
    Dump(Rx):
    0000:04 FF 22 0D 06 00 00 00 30 F4 DA 48 B4 B0 B5 15 ..".....0..H....
    0010:02 01 06 03 02 F0 FF 0E 09 36 30 33 30 31 37 30 .........6030170
    0020:00 00 00 00 00                                  .....
    --------------------------------------------------------------------
    [27] : <Rx> - 05:42:26.900
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x14 (20) bytes(s)
     Event          : 0x0601 (1537) (GAP_DeviceDiscoveryDone)
     Status         : 0x00 (0) (Success)
     NumDevs        : 0x02 (2)
     Device #0
     EventType      : 0x00 (0) (Connectable Undirect Advertisement)
     AddrType       : 0x00 (0) (Public)
     Addr           : 90:59:AF:28:6F:6D
     Device #1
     EventType      : 0x00 (0) (Connectable Undirect Advertisement)
     AddrType       : 0x00 (0) (Public)
     Addr           : B0:B4:48:DA:F4:30
    Dump(Rx):
    0000:04 FF 14 01 06 00 02 00 00 6D 6F 28 AF 59 90 00 .........mo(.Y..
    0010:00 30 F4 DA 48 B4 B0                            .0..H..
    --------------------------------------------------------------------
    [28] : <Tx> - 05:42:29.724
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE09 (GAP_EstablishLinkRequest)
    -Data Length    : 0x09 (9) byte(s)
     HighDutyCycle  : 0x00 (0) (Disable)
     WhiteList      : 0x00 (0) (Disable)
     AddrTypePeer   : 0x00 (0) (Public)
     PeerAddr       : 90:59:AF:28:6F:6D
    Dump(Tx):
    0000:01 09 FE 09 00 00 00 6D 6F 28 AF 59 90          .......mo(.Y.
    --------------------------------------------------------------------
    [29] : <Rx> - 05:42:29.742
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE09 (GAP_EstablishLinkRequest)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 09 FE 00                      .........
    --------------------------------------------------------------------
    [30] : <Info> - 05:42:29.898
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (Public)
    BDAddr = 90:59:AF:28:6F:6D
    --------------------------------------------------------------------
    [31] : <Error> - 05:42:29.904
    Could Not Convert All The Data In The Following Message
    (Message Is Missing Data Bytes To Process)
    --------------------------------------------------------------------
    [32] : <Rx> - 05:42:29.882
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0605 (1541) (GAP_EstablishLink)
     Status         : 0x00 (0) (Success)
     DevAddrType    : 0x00 (0) (Public)
     DevAddr        : 90:59:AF:28:6F:6D
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x50 (80) ()
     ConnInterval   : 0x0000 (0)
     ConnLatency    : 0xD000 (53248)
     ConnTimeout    : 0x0007 (7)
    Dump(Rx):
    0000:04 FF 13 05 06 00 00 6D 6F 28 AF 59 90 00 00 50 .......mo(.Y...P
    0010:00 00 00 D0 07 00                               ......
    --------------------------------------------------------------------
    [33] : <Rx> - 05:42:30.012
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x0D (13) bytes(s)
     Event          : 0x060B (1547) (GAP_PasskeyNeeded)
     Status         : 0x00 (0) (Success)
     DevAddr        : 90:59:AF:28:6F:6D
     ConnHandle     : 0x0000 (0)
     UiInput        : 0x01 (1) (Ask User To Input A Passcode)
     UiOutput       : 0x00 (0) (Don�t Display Passcode)
    Dump(Rx):
    0000:04 FF 0D 0B 06 00 6D 6F 28 AF 59 90 00 00 01 00 ......mo(.Y.....
    --------------------------------------------------------------------
    [34] : <Rx> - 05:42:32.092
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x6A (106) bytes(s)
     Event          : 0x060A (1546) (GAP_AuthenticationComplete)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     AuthState      : 0x04 (4) (Man-In-The-Middle protection)
     SecInf.Enable  : 0x01 (1)
     SecInf.LTKSize : 0x10 (16)
     SecInf.LTK     : 28:60:7A:5E:AB:61:B2:BE:97:37:AD:6F:02:FE:60:83
     SecInf.DIV     : 0x4EE8 (20200)
     SecInf.Rand    : 04:F6:50:C3:81:FC:98:23
     DSInf.Enable   : 0x01 (1)
     DSInf.LTKSize  : 0x10 (16)
     DSInf.LTK      : 39:58:DC:D2:AA:9A:A1:7E:B1:B8:24:74:09:18:B3:46
     DSInf.DIV      : 0x34B7 (13495)
     DSInf.Rand     : BC:54:C4:F2:AF:90:C1:FE
     IdInfo.Enable  : 0x01 (1)
     IdInfo.IRK     : 35:4A:3F:54:DF:D1:49:19:A4:75:52:3B:41:FF:44:F3
     IdInfo.BD_Addr : 90:59:AF:28:6F:6D
     SignInfo.Enable: 0x01 (1)
     SignInfo.CSRK  : 3F:52:DF:D1:89:19:58:25:91:3A:7D:AF:6B:62:1E:2E
     SignCounter    : 0xFFFFFFFF (4294967295)
    Dump(Rx):
    0000:04 FF 6A 0A 06 00 00 00 04 01 10 28 60 7A 5E AB ..j........(`z^.
    0010:61 B2 BE 97 37 AD 6F 02 FE 60 83 E8 4E 04 F6 50 a...7.o..`..N..P
    0020:C3 81 FC 98 23 01 10 39 58 DC D2 AA 9A A1 7E B1 ....#..9X.....~.
    0030:B8 24 74 09 18 B3 46 B7 34 BC 54 C4 F2 AF 90 C1 .$t...F.4.T.....
    0040:FE 01 35 4A 3F 54 DF D1 49 19 A4 75 52 3B 41 FF ..5J?T..I..uR;A.
    0050:44 F3 6D 6F 28 AF 59 90 01 3F 52 DF D1 89 19 58 D.mo(.Y..?R....X
    0060:25 91 3A 7D AF 6B 62 1E 2E FF FF FF FF          %.:}.kb......
    --------------------------------------------------------------------
    
    
    
    ***************************************
    ***************************************
    Peripheral
    ***************************************
    ***************************************
    
    [1] : <Tx> - 05:39:18.053
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE00 (GAP_DeviceInit)
    -Data Length    : 0x26 (38) byte(s)
     ProfileRole    : 0x04 (4) (Peripheral)
     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 04 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                   ..........
    --------------------------------------------------------------------
    [2] : <Rx> - 05:39:18.069
    -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                      .........
    --------------------------------------------------------------------
    [3] : <Rx> - 05:39:18.115
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x2C (44) bytes(s)
     Event          : 0x0600 (1536) (GAP_DeviceInitDone)
     Status         : 0x00 (0) (Success)
     DevAddr        : 90:59:AF:28:6F:6D
     DataPktLen     : 0x001B (27)
     NumDataPkts    : 0x0C (12)
     IRK            : 35:4A:3F:54:DF:D1:49:19:A4:75:52:3B:41:FF:44:F3
     CSRK           : 3F:52:DF:D1:89:19:58:25:91:3A:7D:AF:6B:62:1E:2E
    Dump(Rx):
    0000:04 FF 2C 00 06 00 6D 6F 28 AF 59 90 1B 00 0C 35 ..,...mo(.Y....5
    0010:4A 3F 54 DF D1 49 19 A4 75 52 3B 41 FF 44 F3 3F J?T..I..uR;A.D.?
    0020:52 DF D1 89 19 58 25 91 3A 7D AF 6B 62 1E 2E    R....X%.:}.kb..
    --------------------------------------------------------------------
    [4] : <Tx> - 05:39:22.078
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)
    -Data Length    : 0x05 (5) byte(s)
     AdType         : 0x01 (1) (Advertisement data)
     DataLength     : 0x03 (3)
     AdvertData     : 02:01:06
    Dump(Tx):
    0000:01 07 FE 05 01 03 02 01 06                      .........
    --------------------------------------------------------------------
    [5] : <Rx> - 05:39:22.118
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 07 FE 00                      .........
    --------------------------------------------------------------------
    [6] : <Rx> - 05:39:22.128
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x04 (4) bytes(s)
     Event          : 0x0602 (1538) (GAP_AdvertDataUpdate)
     Status         : 0x00 (0) (Success)
     AdType         : 0x01 (1) (Advertisement data)
    Dump(Rx):
    0000:04 FF 04 02 06 00 01                            .......
    --------------------------------------------------------------------
    [7] : <Tx> - 05:41:14.041
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0400 (1024) (GAPBOND_PAIRING_MODE)
     ParamLength    : 0x01 (1)
     Value          : 01
    Dump(Tx):
    0000:01 36 FE 04 00 04 01 01                         .6......
    --------------------------------------------------------------------
    [8] : <Rx> - 05:41:14.072
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [9] : <Tx> - 05:41:17.592
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0402 (1026) (GAPBOND_MITM_PROTECTION)
     ParamLength    : 0x01 (1)
     Value          : 01
    Dump(Tx):
    0000:01 36 FE 04 02 04 01 01                         .6......
    --------------------------------------------------------------------
    [10] : <Rx> - 05:41:17.622
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [11] : <Tx> - 05:41:22.565
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0406 (1030) (GAPBOND_BONDING_ENABLED)
     ParamLength    : 0x01 (1)
     Value          : 00
    Dump(Tx):
    0000:01 36 FE 04 06 04 01 00                         .6......
    --------------------------------------------------------------------
    [12] : <Rx> - 05:41:22.597
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [13] : <Tx> - 05:41:31.301
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x03 (3) byte(s)
     ParamID        : 0x0409 (1033) (GAPBOND_ERASE_ALLBONDS)
     ParamLength    : 0x00 (0)
    Dump(Tx):
    0000:01 36 FE 03 09 04 00                            .6.....
    --------------------------------------------------------------------
    [14] : <Rx> - 05:41:31.385
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [15] : <Tx> - 05:41:38.372
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE36 (GAP_BondSetParam)
    -Data Length    : 0x04 (4) byte(s)
     ParamID        : 0x0403 (1027) (GAPBOND_IO_CAPABILITIES)
     ParamLength    : 0x01 (1)
     Value          : 00
    Dump(Tx):
    0000:01 36 FE 04 03 04 01 00                         .6......
    --------------------------------------------------------------------
    [16] : <Rx> - 05:41:38.408
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE36 (GAP_BondSetParam)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 36 FE 00                      ......6..
    --------------------------------------------------------------------
    [17] : <Tx> - 05:42:14.264
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE06 (GAP_MakeDiscoverable)
    -Data Length    : 0x0A (10) byte(s)
     EventType      : 0x00 (0) (Connectable Undirect Advertisement)
     InitAddrType   : 0x00 (0) (Public)
     InitAddrs      : 00:00:00:00:00:00
     ChannelMap     : 0x07 (7) (Channel 37
                      Channel 38
                      Channel 39)
     FilterPolicy   : 0x00 (0) (Allow Scan Requests From Any, Allow 
                      Connect Request From Any.)
    Dump(Tx):
    0000:01 06 FE 0A 00 00 00 00 00 00 00 00 07 00       ..............
    --------------------------------------------------------------------
    [18] : <Rx> - 05:42:14.283
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE06 (GAP_MakeDiscoverable)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 06 FE 00                      .........
    --------------------------------------------------------------------
    [19] : <Warning> - 05:42:14.312
    The Last 2 Bytes In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [20] : <Rx> - 05:42:14.295
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x05 (5) bytes(s)
     Event          : 0x0603 (1539) (GAP_MakeDiscoverable)
     Status         : 0x00 (0) (Success)
    Dump(Rx):
    0000:04 FF 05 03 06 00 0A 00                         ........
    --------------------------------------------------------------------
    [21] : <Info> - 05:42:29.875
    Device Connected
    Handle = 0x0000
    Addr Type = 0x00 (Public)
    BDAddr = 5C:31:3E:83:46:44
    --------------------------------------------------------------------
    [22] : <Error> - 05:42:29.895
    Could Not Convert All The Data In The Following Message
    (Message Is Missing Data Bytes To Process)
    --------------------------------------------------------------------
    [23] : <Rx> - 05:42:29.873
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0605 (1541) (GAP_EstablishLink)
     Status         : 0x00 (0) (Success)
     DevAddrType    : 0x00 (0) (Public)
     DevAddr        : 5C:31:3E:83:46:44
     ConnHandle     : 0x0000 (0)
     ConnRole       : 0x50 (80) ()
     ConnInterval   : 0x0000 (0)
     ConnLatency    : 0xD000 (53248)
     ConnTimeout    : 0x0507 (1287)
    Dump(Rx):
    0000:04 FF 13 05 06 00 00 44 46 83 3E 31 5C 00 00 50 .......DF.>1\..P
    0010:00 00 00 D0 07 05                               ......
    --------------------------------------------------------------------
    [24] : <Rx> - 05:42:29.913
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x0A (10) bytes(s)
     Event          : 0x060F (1551) (GAP_PairingRequested)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     IOCap          : 0x04 (4) (KeyboardDisplay)
     OobDataFlag    : 0x00 (0) (Out-Of-Bounds (OOB) Data Is NOT Available)
     AuthReq        : 0x04 (4) (Man-In-The-Middle protection)
     MaxEncKeySiz   : 0x10 (16)
     KeyDist        : 0x3F (63) (Slave Encryption Key
                      Slave Identification Key
                      Slave Signing Key
                      Master Encryption Key
                      Master Identification Key
                      Master Signing Key)
    Dump(Rx):
    0000:04 FF 0A 0F 06 00 00 00 04 00 04 10 3F          ............?
    --------------------------------------------------------------------
    [25] : <Rx> - 05:42:29.923
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x0D (13) bytes(s)
     Event          : 0x060B (1547) (GAP_PasskeyNeeded)
     Status         : 0x00 (0) (Success)
     DevAddr        : 5C:31:3E:83:46:44
     ConnHandle     : 0x0000 (0)
     UiInput        : 0x00 (0) (Don�t Ask User To Input A Passcode)
     UiOutput       : 0x01 (1) (Display A Passcode)
    Dump(Rx):
    0000:04 FF 0D 0B 06 00 44 46 83 3E 31 5C 00 00 00 01 ......DF.>1\....
    --------------------------------------------------------------------
    [26] : <Error> - 05:42:30.713
    Could Not Convert Some Of The Data In The Following Message
    (A Specific Message Handler Is Needed To Process The Data)
    --------------------------------------------------------------------
    [27] : <Warning> - 05:42:30.716
    The Last 2 Bytes In The Following Message Were Not Decoded
    (Message Has More Than The Expected Number Of Data Bytes)
    --------------------------------------------------------------------
    [28] : <Rx> - 05:42:30.713
    -Type           : 0x04 (Event)
    -EventCode      : 0x000E (Event)
    -Data Length    : 0x06 (6) bytes(s)
     Packets        : 0x00 (0)
     OpCode         : 0x201A (Unknown Op Code)
     Status         : 0x00 (0) (Success)
     Raw            : 00 00 
    Dump(Rx):
    0000:04 0E 06 00 1A 20 00 00 00                      ..... ...
    --------------------------------------------------------------------
    [29] : <Rx> - 05:42:32.116
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (Event)
    -Data Length    : 0x6A (106) bytes(s)
     Event          : 0x060A (1546) (GAP_AuthenticationComplete)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     AuthState      : 0x04 (4) (Man-In-The-Middle protection)
     SecInf.Enable  : 0x01 (1)
     SecInf.LTKSize : 0x10 (16)
     SecInf.LTK     : 39:58:DC:D2:AA:9A:A1:7E:B1:B8:24:74:09:18:B3:46
     SecInf.DIV     : 0x34B7 (13495)
     SecInf.Rand    : BC:54:C4:F2:AF:90:C1:FE
     DSInf.Enable   : 0x01 (1)
     DSInf.LTKSize  : 0x10 (16)
     DSInf.LTK      : 28:60:7A:5E:AB:61:B2:BE:97:37:AD:6F:02:FE:60:83
     DSInf.DIV      : 0x4EE8 (20200)
     DSInf.Rand     : 04:F6:50:C3:81:FC:98:23
     IdInfo.Enable  : 0x01 (1)
     IdInfo.IRK     : 1B:20:D6:C9:FA:5F:90:C2:EE:6F:85:0D:EB:63:75:4D
     IdInfo.BD_Addr : 5C:31:3E:83:46:44
     SignInfo.Enable: 0x01 (1)
     SignInfo.CSRK  : 48:E7:D7:35:7A:5C:A8:62:A1:7D:C1:F8:BF:50:84:F2
     SignCounter    : 0xFFFFFFFF (4294967295)
    Dump(Rx):
    0000:04 FF 6A 0A 06 00 00 00 04 01 10 39 58 DC D2 AA ..j........9X...
    0010:9A A1 7E B1 B8 24 74 09 18 B3 46 B7 34 BC 54 C4 ..~..$t...F.4.T.
    0020:F2 AF 90 C1 FE 01 10 28 60 7A 5E AB 61 B2 BE 97 .......(`z^.a...
    0030:37 AD 6F 02 FE 60 83 E8 4E 04 F6 50 C3 81 FC 98 7.o..`..N..P....
    0040:23 01 1B 20 D6 C9 FA 5F 90 C2 EE 6F 85 0D EB 63 #.. ..._...o...c
    0050:75 4D 44 46 83 3E 31 5C 01 48 E7 D7 35 7A 5C A8 uMDF.>1\.H..5z\.
    0060:62 A1 7D C1 F8 BF 50 84 F2 FF FF FF FF          b.}...P......
    --------------------------------------------------------------------
    

    Ignore the previous file attached. Use the above file with the trace.

    Thanks and Regards,

    RameshKumar

  • Hi Ramesh,

    It looks like you attached the file for the successful authentication. Could you please attach the file for the failure case?

    Which version of the BLE Stack SDK are you using for the CC2640?
  • HI,

    Please find the failure sequence during the Authentication with PassKey exchange getting failure.

    We are using the 2.1 version of the BLE stack is using in CC2640 smart RF project.

    Also we are using the Peripheral Sample project we are using in the Smart RF board.

    Sniffer logs:

    Failed pairing.zip

    PC Application Logs:

    18/2016 2:31:39 PM		RX : 	04  FF  0B  07  06  00  00  00  14  00  00  00  C8  00  
    8/18/2016 2:31:36 PM		RX : 	04  FF  6A  0A  06  04  00  00  04  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  				 		00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  				 		00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  
    8/18/2016 2:31:36 PM		RX : 	04  FF  06  7F  06  00  0C  FE  00  
    8/18/2016 2:31:36 PM		TX : 	01  0C  FE  08  00  00  31  32  33  34  35  36  
    8/18/2016 2:31:36 PM		RX : 	04  FF  0D  0B  06  00  85  66  B7  84  BE  C4  00  00  01  00  
    8/18/2016 2:31:36 PM		RX : 	04  FF  06  7F  06  11  0B  FE  00  
    8/18/2016 2:31:36 PM		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  
    8/18/2016 2:31:36 PM		RX : 	04  FF  13  05  06  00  00  85  66  B7  84  BE  C4  00  00  50  00  00  00  D0  07  00  
    8/18/2016 2:31:36 PM		RX : 	04  FF  06  7F  06  00  09  FE  00  
    8/18/2016 2:31:36 PM		TX : 	01  09  FE  09  00  00  00  85  66  B7  84  BE  C4  
    8/18/2016 2:31:20 PM		RX : 	04  FF  06  06  06  00  00  00  16  
    8/18/2016 2:31:20 PM		RX : 	04  FF  06  7F  06  00  0A  FE  00  
    8/18/2016 2:31:20 PM		TX : 	01  0A  FE  03  00  00  13  
    8/18/2016 2:31:13 PM		RX : 	04  FF  0B  07  06  00  00  00  14  00  00  00  C8  00  
    8/18/2016 2:31:10 PM		RX : 	04  FF  6A  0A  06  04  00  00  04  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  				 		00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  				 		00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  
    8/18/2016 2:31:10 PM		RX : 	04  FF  06  7F  06  00  0C  FE  00  
    8/18/2016 2:31:10 PM		TX : 	01  0C  FE  08  00  00  31  32  33  34  35  36  
    8/18/2016 2:31:10 PM		RX : 	04  FF  0D  0B  06  00  85  66  B7  84  BE  C4  00  00  01  00  
    8/18/2016 2:31:10 PM		RX : 	04  FF  06  7F  06  11  0B  FE  00  
    8/18/2016 2:31:10 PM		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  
    8/18/2016 2:31:10 PM		RX : 	04  FF  13  05  06  00  00  85  66  B7  84  BE  C4  00  00  50  00  00  00  D0  07  00  
    8/18/2016 2:31:10 PM		RX : 	04  FF  06  7F  06  00  09  FE  00  
    8/18/2016 2:31:10 PM		TX : 	01  09  FE  09  00  00  00  85  66  B7  84  BE  C4  
    8/18/2016 2:31:07 PM		RX : 	04  FF  14  01  06  00  02  00  00  85  66  B7  84  BE  C4  00  00  C4  46  DC  48  B4  B0  
    8/18/2016 2:30:58 PM		RX : 	04  FF  24  0D  06  00  04  00  C4  46  DC  48  B4  B0  B7  17  0C  09  4C  49  42  45  52  54  41  53  				 		20  42  4C  45  05  12  0A  00  14  00  02  0A  00  
    8/18/2016 2:30:58 PM		RX : 	04  FF  22  0D  06  00  00  00  C4  46  DC  48  B4  B0  B7  15  02  01  06  03  02  F0  FF  0E  09  4C  				 		49  42  45  52  54  41  53  20  42  4C  45  
    8/18/2016 2:30:57 PM		RX : 	04  FF  24  0D  06  00  04  00  85  66  B7  84  BE  C4  C4  17  0C  09  4C  49  42  45  52  54  41  53  				 		20  42  4C  45  05  12  0A  00  14  00  02  0A  00  
    8/18/2016 2:30:57 PM		RX : 	04  FF  22  0D  06  00  00  00  85  66  B7  84  BE  C4  C4  15  02  01  06  03  02  F0  FF  0E  09  4C  				 		49  42  45  52  54  41  53  20  42  4C  45  
    8/18/2016 2:30:57 PM		RX : 	04  FF  06  7F  06  00  04  FE  00  
    8/18/2016 2:30:57 PM		TX : 	01  04  FE  03  03  01  00  
    
    8/18/2016 2:32:44 PM		RX : 	04  FF  06  7F  06  00  36  FE  00  
    8/18/2016 2:32:44 PM		RX : 	04  FF  06  7F  06  00  36  FE  00  
    8/18/2016 2:32:44 PM		RX : 	04  FF  06  7F  06  00  36  FE  00  
    8/18/2016 2:32:44 PM		RX : 	04  FF  06  7F  06  00  36  FE  00  
    8/18/2016 2:32:44 PM		RX : 	04  FF  06  7F  06  00  30  FE  00  04  FF  06  7F  06  00  30  FE  00  
    8/18/2016 2:32:44 PM		RX : 	04  FF  06  7F  06  00  00  FE  00  04  FF  2C  00  06  00  44  46  83  3E  31  5C  1B  00  0C  1B  20  				 		D6  C9  FA  5F  90  C2  EE  6F  85  0D  EB  63  75  4D  48  E7  D7  35  7A  5C  A8  62  A1  7D  C1  F8  				 		BF  50  84  F2  04  FF  06  7F  06  00  30  FE  00  04  FF  06  7F  06  00  30  FE  00  
    8/18/2016 2:32:44 PM		TX : 	01  36  FE  04  03  04  01  04  
    8/18/2016 2:32:44 PM		TX : 	01  36  FE  04  06  04  01  00  
    8/18/2016 2:32:44 PM		TX : 	01  36  FE  04  02  04  01  01  
    8/18/2016 2:32:44 PM		TX : 	01  36  FE  04  00  04  01  02  
    8/18/2016 2:32:44 PM		TX : 	01  30  FE  03  1E  60  00  
    8/18/2016 2:32:44 PM		TX : 	01  30  FE  03  01  05  00  
    8/18/2016 2:32:44 PM		TX : 	01  30  FE  03  07  A0  00  
    8/18/2016 2:32:44 PM		TX : 	01  30  FE  03  06  A0  00  
    8/18/2016 2:32:44 PM		TX : 	01  00  FE  26  08  05  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  				 		00  00  00  00  00  00  00  00  00  00  00  00  01  00  00  00  
    8/18/2016 2:32:41 PM		COM18 opened at	8/18/2016 2:32:41 PM

    We have captured the sniffer logs for the packets available in air. Also I have attached Tx and Rx packets captured from PC application.

    Kindly go through the logs and let me know, to make the Authentication complete with Success by exchanging the PassKey.

    Regards,

    Ramesh Kumar

  • Hi Ramesh,

    I am unable to recreate your problem on my side so I have a few questions to make sure we are using identical setups:

    1. What is the exact version number of the BLE Stack you are using on your CC2640 (2.1.0, 2.1.1)?
    2. What is the name of the sample project you are using for the CC2640?
    3. What is the name of the sample project you are using for the CC2540?
    4. What modifications were made to each project?
    5. Are you using the default passcode for pairing?