Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 8 months 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:
1 Answer
5 years, 8 months 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