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.

CCS/LAUNCHXL-CC26X2R1: Multi_role connecting devices: Unknown Cmd Status: 0x2025::0x00

Part Number: LAUNCHXL-CC26X2R1

Tool/software: Code Composer Studio

Hello,

I am using LAUNCHXL-CC26X2R1 & my project is based on multi_role example.

SDK simplelink_cc13x2_26x2_sdk_3_40_00_02.

I am connecting 2 units: 1st one advertises, 2nd scans & connects to it.

I get some unknown commands in multi_role_processStackMsg():

I've looked for those commands in hci_tl.h:

#define HCI_LE_READ_LOCAL_P256_PUBLIC_KEY     0x2025

#define HCI_LE_GENERATE_DHKEY                             0x2026

#define HCI_LE_CONNECTION_UPDATE                      0x2013

But for some reason these commands doesn't show up in the TI BLE5-Stack API Documentation of the HCI Constants.

What are those commands? Is there anything I should do about it?

Thanks,

Amit

  • Hi Amit, 

    What functionality have you added to the multi_role project? Did you see this kind of behavior using the unmodified multi_role project? 

    Thanks, 
    Elin

  • Hey Elin,

    I get the same results on the base project of Multi-Role. This is a print that occurs when reaching a command type that doesn't have a case handling it on the function processStackMsg, and the base code of the Multi-Role project doesn't handle these commands as well.

    In order to resolve these unhandled commands, I need to know what they mean, however, as stated before, I cannot find those on the API reference. I will appreciate if you can elaborate what it means.

    It is important since I sometimes get a pairing error number 11 (which I believe that it stands for: SMP_PAIRING_FAILED_DHKEY_CHECK_FAILED)

    I suspect that these two issues are connected, but I don't have a way to make sure of that.

  • Hi Amit, 

    Apologies for the delay and thank you for providing more details to your problem.

    Since you are experiencing the same issue using multi_role project straight from the SDK I will try and reproduce your issue using your setup. Are you using two CC26X2R1 LaunchPads? Are you using multi_role on both or does the second device use another project like simple_peripheral?

    Thanks, 
    Elin

  • Hey Elin,

    Yes. I am using two CC26X2R1 LaunchPads, multi_role on both sides.

    Thanks,

    Amit

  • Hi Amit, 

    Apologies for the delay.

    I'll try and reproduce your issue sometime this week. I will let you know as soon as I have an update. 

    Thanks, 
    Elin

  • Hi Amit, 

    Just tested and I don't see the issue you are describing.

    Thanks,
    Elin