BLE Raw advertising some company id's are showing as Unknown company
Posted: Thu Aug 04, 2022 8:57 am
Hello. I use BLE raw advertisment and I notice that some company ID's that I try from :
https://www.bluetooth.com/specification ... entifiers/
Are showing as Unknown company ID.
I use the following raw advertising structure:
For example, the above sets the company ID to Ecolab Inc (0x0BB0) . When I check at raw data on the LightBlue app, I see the following company ID:
https://imgur.com/a/jwR1L1z
I then try to set to company ID to 0x02 0xff which is (Silicon Laboratories)
I can see the company ID displayed as Silicon laboratories:
https://imgur.com/a/zveNvVT
Could someone help me understand what is the issue here?
https://www.bluetooth.com/specification ... entifiers/
Are showing as Unknown company ID.
I use the following raw advertising structure:
Code: Select all
raw_adv_data2[0] = 0x02;
raw_adv_data2[1] = 0x01;
raw_adv_data2[2] = 0x06;
raw_adv_data2[3] = 0x03; // length
raw_adv_data2[4] = 0xFF; // flag company ID
// must be set in reverse. If I want to set 0x0BB0 I must write first 0xB0 and then 0x0B
raw_adv_data2[5] = 0xB0;
raw_adv_data2[6] = 0x0B;
raw_adv_data2[7] = 0x05; // length
raw_adv_data2[8] = 0x09; //local name
raw_adv_data2[9] = 0x33;
raw_adv_data2[10] = 0x33;
raw_adv_data2[11] = 0x33;
raw_adv_data2[12] = 0x33;
https://imgur.com/a/jwR1L1z
I then try to set to company ID to 0x02 0xff which is (Silicon Laboratories)
Code: Select all
raw_adv_data2[0] = 0x02;
raw_adv_data2[1] = 0x01;
raw_adv_data2[2] = 0x06;
raw_adv_data2[3] = 0x03; // length
raw_adv_data2[4] = 0xFF; // flag company ID
// must be set in reverse. If I want to set 0x0BB0 I must write first 0xB0 and then 0x0B
raw_adv_data2[5] = 0xff;
raw_adv_data2[6] = 0x02;
raw_adv_data2[7] = 0x05; // length
raw_adv_data2[8] = 0x09; //local name
raw_adv_data2[9] = 0x33;
raw_adv_data2[10] = 0x33;
raw_adv_data2[11] = 0x33;
raw_adv_data2[12] = 0x33;
https://imgur.com/a/zveNvVT
Could someone help me understand what is the issue here?