This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sd_ble_uuid_vs_add and multiple clients => error

Hello,

I modified ble_nus_c to manage multiple connections.

The first time (first client) i call sd_ble_uuid_vs_add in init, it returns OK. The second time ERR_NO_MEM (it's the same base uuid). Why ?

It's just a for loop that call n time init and variables have been "arraytized" to manage several connections.

I don't really understand the use of sd_ble_uuid_vs_add, documentation is not clear for me.

Parents
  • What version of the SDK/SD? There's a documented and often-discussed bug in a previous version which returns that error message when you add the same UUID twice.

  • I think that's possibly one of the SDs which has that bug, if the table is full then even if you add the same one again, which ought to work, it doesn't. You can set the number of user uuids to more than 1, that will avoid the error, or only call it once with the same UUID, your code, your choice.

Reply
  • I think that's possibly one of the SDs which has that bug, if the table is full then even if you add the same one again, which ought to work, it doesn't. You can set the number of user uuids to more than 1, that will avoid the error, or only call it once with the same UUID, your code, your choice.

Children
No Data
Related