5 years, 1 month ago.

BLE: Cordio BLE API, operating as both Central & Peripheral.

I was wondering with the BLE Cordio API, can we operate the NRF52840 in both central and peripheral at the same time?

Thanks, Yogesh

Question relating to:

The nRF52840 Development Kit is a single-board development kit for Bluetooth low energy, ANT, 802.15.4, and 2.4 GHz proprietary applications using the nRF52840 SoC.

1 Answer

5 years, 1 month ago.

Hi Yogesh,

Definitely, please refer to this very simple example, it is built from BLE_LEDBlinker example.

https://os.mbed.com/users/sayhuthut/code/mbed-os-example-ble-LEDBlinkerWithLED/

This example will do scanning first to search advertising BLE_LED(This is another BLE example from Mbed OS), and after connected, it will start advertising, so you can use mobile or other scanners to discover it and connect to it.

Please let me know for any questions!

Thanks,

- Desmond, team Mbed