Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Characteristic values for Device Information Service (DIS)?

Hallo,

As I am developing a new product (peripheral acceleration sensor device) I would like to update the DIS service data with the following characteristics, Manufacturer Name string, Model Number String, Serial Number String, Hardware and Firmware revision string and System ID....How can I update those characteristics? Is there any standards in order to create those values? how can I get those values which suitable for my product....(I developed custom board with nRF52840)

Thanks for your time and effort.

Thanks and Regards,

Sreejith 

Parents Reply Children
  • Hi Sigurd,

    Many thanks for your message!

    You can set these values as you like. See the specification for the service here: https://www.bluetooth.com/specifications/specs/device-information-service-1-1/

    How can I get those Manufacturer ID, (The id which I have is not number it is a string and size is too small than required size for the manufacture ID) how can I set it? also confused about Organizational Unique ID, how should I update these two fields?

    Also confused from the GLS service that they defined MODEL NUMBER, but given this value to the SERIAL NUMBER STRING, why? How can I set those model number string? 

    Really interested to learn from you,

    Thanks and Regards,

    Sreejith

  • Hi,

    They are all optional, use those you feel are useful for your product. If you don't have a Organizational Unique ID, you don't need to use this.

    Sreejith Sundh said:
    Also confused from the GLS service that they defined MODEL NUMBER, but given this value to the SERIAL NUMBER STRING, why? How can I set those model number string? 

    That looks like a bug in the GLS example actually.

    ble_srv_ascii_to_utf8(&dis_init.serial_num_str, MODEL_NUMBER);

    should have been

    ble_srv_ascii_to_utf8(&dis_init.model_num_str, MODEL_NUMBER);

Related