The heart rate service follow a definite specification and the size cannot be varied. You can only do this in a custom profile, or you can implement a service similar to HRS using custom profile.
- Madhu Sudhan
The first byte of the HRS indicates the payload configuration. So the transmission size actually varies from 5 bytes to say 17 (guess). So it is a variable size and optimizes power.
The service definition has a nice display of that functionality but doesn't permit users to create a similar service in the custom profile. I wondered if there were any nice examples of something using flags in a custom service. Having software Patterns through examples always help users, hence the request for an example. I'll try the custom flags in our service at some point and raise any questions if I have issues then.