Hi, All,
I'm testing multi-connection central function. And I am struggled in getting relation of address.
AFSK, there are several types of address in BLE.
I found that the peer address is changed after connection established with same peer device. I can read the peer address information from "ble_evt_t" data which is passed to the on_ble_evt() and ble_nus_c_evt_handler().
Peer address read in "on_ble_evt ()" and "ble_nus_c_evt_handler()" are not same.
My plan service logic is as followed
- when receiving adverting packet, I extract peer address and registered in local DB.
- Can register Several peripherals in local DB
- When receiving notify packet from some peripheral with peer address, I want to find the DB registered at adverting stage with connection stage's peer address.
How can I find the adverting stage's peer address by connection stage' peer address?
BR Paul