This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to set manufacturer specific data in NCS?

Hello, I am trying to set the company ID and manufacturer specific data in the NCS SDK using nRF52840 dev board

I have the following array of structure

uint8_t COMPANY_ID[] = { 0x4c0x00};

static const struct bt_data ad[] = {
BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)),
BT_DATA(BT_DATA_MANUFACTURER_DATA, COMPANY_ID, 2), // This will show me the correct company ID
};

But how can I get the manufacturer data on the wireshark? I have attached a picture which is just for example and it is about one of the devices around me. 

I was successful in setting up the company ID for my device but how to send data with all these options of undecoded, severity level, group ? 

Parents
  • I think the contents inside the manufacturer specific data can be anything after the company ID.

    My understanding here is that the structure of the wireshark UI is not just well adapted to show the expert info of the manufacturer specific data.

    As long as you are following the Apple specific rules for the Manufacturer data here, you do not need to worry about the expert info contents being empty.

Reply
  • I think the contents inside the manufacturer specific data can be anything after the company ID.

    My understanding here is that the structure of the wireshark UI is not just well adapted to show the expert info of the manufacturer specific data.

    As long as you are following the Apple specific rules for the Manufacturer data here, you do not need to worry about the expert info contents being empty.

Children
Related