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

advertising custom data in standard services

We need to send some custom data in advertising packet. Is it possible to use 'ble_advdata_service_data_t' with UUID of a standard service (e.g. battery service or device information service) or is it necessary to get our own 16-bit UUID for this purpose?

Regards, Cyril.

Parents
  • The BT SIG specifies a set of standard UUID's for predefined set set of services and characteristics which is 16 bit.

    But if we has to advertise a custom service or custom characteristic we have to use the 128bit custom UUID's for this.

    For example of adding 128bit custom UUID ,refer to the example \nrf51822_v5.2.0\Board\nrf6310\device_firmware_updates\bootloader\

    and have a look at the service ble_dfu.c

Reply
  • The BT SIG specifies a set of standard UUID's for predefined set set of services and characteristics which is 16 bit.

    But if we has to advertise a custom service or custom characteristic we have to use the 128bit custom UUID's for this.

    For example of adding 128bit custom UUID ,refer to the example \nrf51822_v5.2.0\Board\nrf6310\device_firmware_updates\bootloader\

    and have a look at the service ble_dfu.c

Children
No Data
Related