ble_store_gen_key_fn
Generates key required by security module. This can be used to use custom routines to generate keys instead of simply randomizing them. \p conn_handle is set to \p BLE_HS_CONN_HANDLE_NONE if key is not requested for a specific connection (e.g. an IRK).
Syntax
typedef int ble_store_gen_key_fn(uint8_t key,
struct ble_store_gen_key *gen_key,
uint16_t conn_handle);