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

To add firmware revision in advertisement packet

Hello Everyone,

I want firmware revision to be added in advertisement packet how can i do it . is it ok to add it to manufacturer data or it is nordic proprietary .

i have done it like this. to add firmware revision 1.2

adv_manuf_data_data[0] = 0x00;
adv_manuf_data_data[1] = 0x12;
    
adv_manuf_data_array.p_data = adv_manuf_data_data;
adv_manuf_data_array.size = 2;
    
adv_manuf_data.company_identifier = 0xFF00;
adv_manuf_data.data = adv_manuf_data_array;
    
advdata.p_manuf_specific_data = &adv_manuf_data;

it is showing me on MCP :

Manufacturer data(Bluetooth core v4.1) Company: Reserved<0x10000> 0x0012

What is 0x10000 here?

Thanks & Regards Asma

Parents
  • I think a better solution may be to use the Device Information Service the AD type Service Data to have the firmware version in it as date. I.e. <UUID = Device Information><Data = Firmware Revision> The Firmware Revision is a characteristic in the Device Information Service. This leverages existing UUIDs and does not use a vendor specific format.

Reply
  • I think a better solution may be to use the Device Information Service the AD type Service Data to have the firmware version in it as date. I.e. <UUID = Device Information><Data = Firmware Revision> The Firmware Revision is a characteristic in the Device Information Service. This leverages existing UUIDs and does not use a vendor specific format.

Children
  • I agree,but i dont want to add more service to my profile as it will take more time for app to read the services and their characteristics. once the firmware revision is advertised along with other data and accepted by client(Mobile App) it will store it in memory thats my idea.

  • If you are not a Bluetooth SIG member I would urge you to use the Device Information Service and the Firmware revision number. Yes, there will be a marginal impact during Service Discovery if you add the Device Information Service to the GATT, other wise you can use the Device Information Service Details only on the Advertising packet and not in the GATT.

    Choose whichever works for you , the important point is to know the options available and the advice provided for each option.

  • Thank you David