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.

MSP432P401R: BLE Plugin: advertData

Part Number: MSP432P401R
Other Parts Discussed in Thread: CC2650MODA, CC2650

Hi,

I am using MSP432 as my application processor to interface with CC2650MODA as the Simple NP, and SimpleLink SDK BLE Plugin version 1.40.00.42.

I noticed in the Project Zero example that there are 5 bytes of manufacturing-specific advertisement data.

static uint8_t advertData[] = {
0x02, /* Length */
SAP_GAP_ADTYPE_FLAGS,
DEFAULT_DISCOVERABLE_MODE | SAP_GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED,

/* Manufacturer specific advertising data */
0x06,
0xFF, /* SAP_GAP_ADTYPE_MANUFACTURER_SPECIFIC */
LO_UINT16(BLE_COMPANY_ID), HI_UINT16(BLE_COMPANY_ID),
BLE_ST_DEVICE_ID,
BLE_ST_KEY_DATA_ID,
0x00 /* Key state */
};

What are the BLE_ST_DEVICE_ID, BLE_ST_KEY_DATA_ID, and "Key state" used for?

Thanks,

Jeffrey

  • Hello Jeffrey,

    Can you check if the following SimpleLink Academy lab is helpful: dev.ti.com/.../

    This lab is for the CC2640R2 SDK but the concepts can be applied to the BLE Plugin.

    Thanks,
    Sai
  • Hi Sai,
    From the lab, it seems the manufacturer-specific data can be anything. The plug-in examples contain manufacturer-specific advertising data that seems to be important. Is it safe to remove these from my application code?
    There is a list of Company IDs in Bluetooth SIG. Is the Company ID reported in another way besides in the advertisement data? How can my application change this? Also, are the Device ID, Key Data ID, and Key State fields used in any way by the CC2650 configured as the Simple NP?
    Thanks,
    Jeffrey
  • Hello Jeffrey,

    Jeffrey Lomibao76 said:
    From the lab, it seems the manufacturer-specific data can be anything. The plug-in examples contain manufacturer-specific advertising data that seems to be important. Is it safe to remove these from my application code?

    Correct, and yes you can remove it. For more information you may want to review this other SLA dev.ti.com/.../ble_scan_adv_basic.html

    Jeffrey Lomibao76 said:
    Also, are the Device ID, Key Data ID, and Key State fields used in any way by the CC2650 configured as the Simple NP?

    In some cases this can be used for filtering device discovery results based on this information.

    Hopefully this helps.

      David

**Attention** This is a public forum