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

About UUID_Services and UUID_CHARACTERISTICS

Hi,I use 51822 to make a fitness device. one of the function is advertising current value(Steps,Heart rate,Distance,Calorie) to the phone over BLE. What the default service and characteristics I must add? Or I can add a customer service and characteristics by myself.

Anyway, how do I start?

The ble_app_hrs example can work well on my EVK board. Can I use BLE_UUID_HEART_RATE_SERVICE and BLE_UUID_HEART_RATE_MEASUREMENT_CHAR to do these things or I must create new one?

Thank you.

Parents
  • Hi there,

    There's a certain set of profiles defined by the Bluetooth SIG. If you stick to those, then you have to use the UUIDs defined by it, which are all named BLE_UUID_*. If one (or a combination of several) Bluetooth SIG profile does not match the requirements of your application, you will have to create your custom one using Vendor Specific UUIDs.

    The UUIDs and code you mention in your post refer to the standard Heart Rate Service, defined by the SIG and therefore already having its own set of assigned UUIDs.

    For a full list of adopted SIG profiles check this page: www.bluetooth.org/.../adopted-specifications

    Carles

Reply
  • Hi there,

    There's a certain set of profiles defined by the Bluetooth SIG. If you stick to those, then you have to use the UUIDs defined by it, which are all named BLE_UUID_*. If one (or a combination of several) Bluetooth SIG profile does not match the requirements of your application, you will have to create your custom one using Vendor Specific UUIDs.

    The UUIDs and code you mention in your post refer to the standard Heart Rate Service, defined by the SIG and therefore already having its own set of assigned UUIDs.

    For a full list of adopted SIG profiles check this page: www.bluetooth.org/.../adopted-specifications

    Carles

Children
No Data
Related