Report
4 months, 1 week 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.
Comment on this question

1 Answer

4 months, 1 week 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


To post an answer, please log in.