These are functions whose pointers are passed from the application to the GAPRole so that the GAPRole can send events to the application.
§ gapRolesParamUpdateCB_t
typedef void(* gapRolesParamUpdateCB_t) (uint16_t connInterval, uint16_t connSlaveLatency, uint16_t connTimeout) |
Callback when the connection parameters are updated.
- Parameters
-
connInterval | new connection interval |
connSlaveLatency | new slave latency |
connTimeout | new supervision timeout |
§ gapRolesStateNotify_t
State Change Callback Type.
Callback to notify the application of a GAPRole state change
- Parameters
-
newState | new GAPRole state |