Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

which example to use for a Peripheral Server GATT ?

In SDK5, I found 2 examples : a server GATT in Central & a client GATT in Peripheral...

But in my case my device (nrf52840 board) needs to be :

  • a peripheral : slave IoT device advertising and notifying but not connecting
  • server Gatt : sending sensors data to the gateway as central (connecting) and client Gatt (write/read data to/from device)

If I took the server gatt example in central, do I need to transform it for running as server gatt peripheral ?

thks

Related