Hi,
I need to have a custom service which allows configuration of multiple parameters (perhaps 50 or more - which control registers in external peripherals)
I've looked at the examples and existing services to see if there is anything similar, but all I can find is code where each characteristic has its own, rather large, setup function.
Is there an example of having an array of characteristics? (They don't even need to be named, they could just be numbered)
BTW. I had initially thought that I would just duplicate the UART service and put it on a private UUID, but I think the maximum data size for a single write or read from a service would not be large enough to hold 50 or more bytes if config data, and having the ability to read or write individual characteristics is more flexible.
Thanks.