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

Developing on EVK NINA B111

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?   

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_peer_manager.html 

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Flib_crypto.html&anchor=lib_crypto_installing    

Parents Reply Children
  • Hi,

    I'm happy to hear it worked. 

    The event length is the time set aside for a connection on every connection interval in 1.25 ms units. The event length should be used together with the connection interval to set the desired bandwidth of the connection. It is used to ensure a fair allocation of the available radio time resources between the existing roles(i.e. if you run multilink). There is no defined maximum value, but for a single-link peripheral you should set it to match the maximum connection interval you use, in order to be able to send packets for the whole connection event

Related