This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Multilink - sending data to many peers

Hello.
I'm working with multilink example and I've got some problem. I want to send data to specific peer device, but after restart central or one of the peer, they reconnects in different order.
So I made procedure to write peer address and conn_handle to my own structure while connecting. I'm doing it in:

  

static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)

After reconnecting and changing peer order I want to send data to peer via:

uint32_t ble_lbs_led_status_send(ble_lbs_c_t * p_ble_lbs_c, uint8_t status)

I'm going to to compare each address from my structure with new peer address, but....
Where I should find peer addresses assign after restart? I can catch them i while connection but where are they store after that?

Best regards 

PW

Related