Hi,
I want to make a BLE Multirole application where the central demands LESC, bonding and MITM and peripheral connections is JUST WORKS bonding.
Is that possible? If yes, how is it setup?
Thanks in advance.
Hi,
I want to make a BLE Multirole application where the central demands LESC, bonding and MITM and peripheral connections is JUST WORKS bonding.
Is that possible? If yes, how is it setup?
Thanks in advance.
Hi,
Yes, it's possible. You can see how it's done in the ble_app_gls example on the PM_EVT_CONN_SEC_SUCCEEDED event. The difference in your case will be that you have to make the handling dependent what GAP role the event was for (i.e. check if the event was for the Central or Peripheral connection)
You can use ble_conn_state_role() to check if a given connection handle is a central or peripheral connection.
Best regards,
Vidar
Hi,
Yes, it's possible. You can see how it's done in the ble_app_gls example on the PM_EVT_CONN_SEC_SUCCEEDED event. The difference in your case will be that you have to make the handling dependent what GAP role the event was for (i.e. check if the event was for the Central or Peripheral connection)
You can use ble_conn_state_role() to check if a given connection handle is a central or peripheral connection.
Best regards,
Vidar