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

pm_peer_new() causing "PM_EVT_ERROR_UNEXPECTED"

Hi,

I want to add new peer to peer manager using pm_peer_new().

pm_peer_id_t p1 = 0;

pm_peer_new(&p1,&bond_info,NULL);

there are no peers, so trying to add as peer_id 0. but this causing "PM_EVT_ERROR_UNEXPECTED" error in pm_evt_handler() function.

bond_info is filled with information.

Parents Reply Children
Related