This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What is the purpose of service UUID?

Hi

     When creating a new profile in the gatt attribute table the first attribute is the service UUID.What is the use of this UUID

For example in case of simple ble peripheral what is the use of simpleprofileUUID 0xfff0

Thanks

  • From the BT 4.0 spec:

    A service is a collection of data and associated behaviors to accomplish a particular function or feature. In GATT, a service is defined by its service definition. A service definition may contain referenced services, mandatory characteristics and optional characteristics.

    The service UUID is there so that the GATT client device knows what service the GATT server device is exposing. The BT SIG is in the process of defining specifications for profiles and services. When the service specifications are released, the BT SIG will assign a UUID for the service.

     

  • Hi Willis,

    Willis said:
    The service UUID is there so that the GATT client device knows what service the GATT server device is exposing

                          How do I scan for all the  service UUID using one command or rather find out capabilities of a device.