Hi Nordic developers,
For my internship I’m developing a BLE application on de NINA-B111 module which does have the nRF52832. I'm using SDK 15.0.0 and Softdevice 132 v6.0.0 in Segger Embedded Studio.
Currently I’m developing on a EVK-NINA-B111. But the BLE application is supposed to run on a different custom board.
The data transfer on that custom board looks like this: LPC ---UART--->NINA---BLE--->UWP App.
So the NINA is supposed to be a bridge between UART and BLE. The ble_nus example is a good example to start. But I want to know what is the best way to have the nus service with security (like pairing and bonding) and the Device Information Service.
I think I have four options:
1: Implement security parameters in the ble_nus example.
2: Implement nus service and security in ble_template example.
3: Implement nus service in an example with security already implemented (like ble_hrs example). And remove the other services.
4: Build everything from scratch
What do you think of this?
Kind regards,
Bob Göbel
EDIT: I have chosen to use option 2. I successfully added the nus and dis to the ble_app_template. My next step will be configuring the peer manager. I have no I/O capabilities on my custom_board. I’ve read the chapter peer manager in the infocenter. When I set the different configurations as given in the Usage tab I don’t recognize any differences in connecting when using the nRF Connect app. Do you have a tutorial about this subject and is the multirole_lesc a good reference?