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

Maximum number of characteristics

Hi I am using S110 v6.0.0 I have written an app that has a single service and I then register the same characteristics until it fails. The properties is 0xA (read/write). When I use _VLOC_STACK it runs out of memory and for value len=10 I can register 24 characteristics and for value len = 20 I can register 20 (for value len = 1, I can register 29)

I then modified my app so that it uses _VLOC_USER and then regardless of value len I can register 30 for all.

We have a customer who is asking to be able to register at least 33 characteristics spread over 8 services. My guess is that registering the service attribute is going to reduce that number down even more.

Is there anything you can suggest?

Look forward to hearing from you

Related