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

How to adapt code from device_manager.h to peer_manager.h?

Hello.

I am trying to migrate from sdk 11 to sdk 12 and I am having difficulty in adapting the device_manager.h functions that I am using in my code to the peer_manager.h functions.

What are the equivalences between these two? The device_manager.h and peer_manager.h

I am using the functions below:

dm_init(dm_init_param_t const * p_init_param)

dm_register(dm_application_instance_t * p_appl_instance, dm_application_param_t const * p_appl_param)

dm_ble_evt_handler(ble_evt_t * p_ble_evt)

and the struct:

dm_handle_t

dm_event_t

Thank you in advance!

Related