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
  • Hi If I always use VLOC_USER ...

    For 128 bit uuids ... (and Characteristics with 0xA property plus 20 byte length)

    With 1 svc, I can install 30 characteristics. With 4 svcs it drops to 28 characteistics. with 8 svcs it drops to 25 characteristics.

    If I use 16 bit uuid ... (and Characteristics with 0xA property plus 10 byte length), then

    With 1 svc, I can install 45 characteristics. With 4 svcs it drops to 44 characteistics. with 8 svcs it drops to 42 characteristics.

    This seems to suggest the gatt table is populated with the actual uuid numbers (2 or 16 bytes) and not the uuid handles.

    I have not yet moved over to the latest 7.0.0 stack. Anyone care to comment if it is likely to be different?

Reply
  • Hi If I always use VLOC_USER ...

    For 128 bit uuids ... (and Characteristics with 0xA property plus 20 byte length)

    With 1 svc, I can install 30 characteristics. With 4 svcs it drops to 28 characteistics. with 8 svcs it drops to 25 characteristics.

    If I use 16 bit uuid ... (and Characteristics with 0xA property plus 10 byte length), then

    With 1 svc, I can install 45 characteristics. With 4 svcs it drops to 44 characteistics. with 8 svcs it drops to 42 characteristics.

    This seems to suggest the gatt table is populated with the actual uuid numbers (2 or 16 bytes) and not the uuid handles.

    I have not yet moved over to the latest 7.0.0 stack. Anyone care to comment if it is likely to be different?

Children
No Data
Related