I was looking for a way to connect multiple nrf52832 via ble and connect the master to a smartphone app. Right now I'm focussing on connecting two nrf52832 through BLE. Can someone give me some insight or an example code maybe? Thanks!
I was looking for a way to connect multiple nrf52832 via ble and connect the master to a smartphone app. Right now I'm focussing on connecting two nrf52832 through BLE. Can someone give me some insight or an example code maybe? Thanks!
Hi,
You can start by looking at the BLE central & peripheral examples. The easiest example would be to program one board as client (master) and another board as peripheral (slave/server).
After verifying that you get this up and running the next step would be to make the DK that connects to the phone and peripherals have multiple roles. It must be both a master and peripheral at the same time; A master for connecting to the nRF52832 peripherals and a peripheral for the phone.
Some good starting points are the BLE Multi-link Example and the Experimental: LE Secure Connections Multirole Example.
Ketil
Thanks that was really insightful,!
will post back results or any further questions