Hi,
I am working on the sample ble_gls app provided in the SDK 8.1. Also i am using S110 softdevice version 8.0.
I want to add static passkey to my code. I made the following changes in the code:
In function gap_params_init(), i added the following code:
uint8_t passkey[] = STATIC_PASSKEY; m_static_pin_option.gap.passkey.p_passkey = passkey; err_code = sd_ble_opt_set(BLE_GAP_OPT_PASSKEY, &m_static_pin_option); APP_ERROR_CHECK(err_code);
Is this all the changes that i need to make or do i have to make more changes.
Thanks & Regards, Sumit