BlueNRG-2N configure the same device as Server, Client and observer simulataneusly
Hello,
i need to configure the same device as Server, Client and observer simultaneously
is it right to initialise like this ?
//GAP Init
uint8_t bluetooth_role = 0;
bluetooth_role |= GAP_PERIPHERAL_ROLE;
bluetooth_role |= GAP_CENTRAL_ROLE;
bluetooth_role |= GAP_OBSERVER_ROLE;
ret = aci_gap_init(bluetooth_role, 0x00, sizeof(device_name), &generic_service_handle, &dev_name_char_handle, &appearance_char_handle);
and what is the rule to manage scanning and advertising intervals ?
Thank you,
Sincerely.
