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.

Procedure to add 128 bit UUID under Primary Service for HOST TEST APP in CC2540

Other Parts Discussed in Thread: CC2540

Hi,

Do we have a provision to add 128 bit UUID as a primary service in CC2540 under Hosttestapp project.

Currently we are having 2800 as primary service in stack.

Please let me know the steps to replace 2800 as 128 bit UUID for Primary service in CC2540.

Regards,

Neil Samuel

  • Hi Neil,

    All primary service declaration characteristics have will UUID of 0x2800. This is defined by BTSIG, you can read more about this in the v4.1 spec doc volume part g, part 3.

    In summary what that section says is that the service declaration characteristic always has UUID of 0x2800, but the value of that characteristic contains the UUID of the service which can be 16 or 128 bits. If you would like to initialize a service with 128 bit UUID, then add a characteristic with UUID of 0x2800 and value of your new service's UUID.