toggle quoted messageShow quoted text
Take a look at tests/bluetooth/shell that uses subsys/bluetooth/shell/bt.c
The shell application combines all states and roles into single application
On 18-Jul-2019, at 5:19 PM, Cufi, Carles <carles.cufi@...
I don’t think there’s a sample that shows both roles, but combining one of the peripheral samples and a central one should be very straightforward.
Please consider contributing such a sample if you put one together that can serve as a starting point for others.
Is there a sample code or documentation explaining how to use a BLE device in both central and peripheral roles concurrently?
I have a couple of environmental sensors (BLE peripherals) talking to a hub (BLE Central).
I want to control the hub and get data out of the hub through a smartphone.
So, I want the hub to function as both central and peripheral.