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?