Hii...
I try to implement Switch role in barebone example. Indvidually its work fine. First i started advertising and issuing a GAPM_RESET_CMD in a timer. I think its works because its enter GAPM_SET_DEV_CONFIG in gapm_cmp_evt_handler() but nothing will change its act as same advertiser. can you help me what are the changes i done before i change to role switching? where i change?
Device:
Hi alan.a,
In order to implement a role switching you can do it as you have already mentioned by issuing a GAPM_RESET_CMD command and reconfiguring the device. Please check some posts below:
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/switch-role-between-observer-and
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/dynamic-adv-data-scan
Thanks, PM_Dialog