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

Parents
  • Another observation I have test code that uses VLOC_STACK and I register chracteristics with various different properties. They all successfully register.

    I then change the firmware so that where I use VLOC_STACK I specify VLOC_USER. In this case only the properties with 0xA value succeeds. All the others come back with INVALID_PARAM error code.

    Question, why should just changing the location of the memory make that happen?

Reply
  • Another observation I have test code that uses VLOC_STACK and I register chracteristics with various different properties. They all successfully register.

    I then change the firmware so that where I use VLOC_STACK I specify VLOC_USER. In this case only the properties with 0xA value succeeds. All the others come back with INVALID_PARAM error code.

    Question, why should just changing the location of the memory make that happen?

Children
No Data
Related