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

NUS with more then one device NRF51822

Hello what we want : One central and several periphals. The periphals will have different DEVICENAME. Is this possible with the NUS Service?

The doku says ; Note This application will connect to only one device that delivers the NUS. If the application cannot find the NUS in the device discovery, it will not disconnect. This makes it possible to use more GATT clients at the same time.

We want to use the ble_app_uart as base for our developtment.

Andreas

Parents
  • Yes, you can make it work and yes you can take ble_app_uart as starting point. Just remember that it's better to have GAP Central and GATT Client as center of star topology because that's how it was meant since BT4.0 specification. However today you could use nRF52 and S132 to have multiple GAP Peripheral and GATT Server connections. If you want to go with old nRF1 then I'm afraid S130 cannot do multiple GAP Peripheral connections so this example isn't the good source. However you might succeed with other stacks like Zephyr (but then you are on your own, I don't think there is NUS example for that stack) or switch to more logical GAP Central + GATT Client role for multi-connectable device.

  • No question so nothing to answer (the only question from you so far was "Is this possible with the NUS Service?" and you got the answer "Yes it is possible":)))))

Reply Children
No Data
Related