This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Whitelist Not working

HI All,

I did all the things as in this post devzone.nordicsemi.com/.../

But Whitelist is not working for me. My requirement is this, I need to add the first connected device to whitelist, after that I need to connect only to device .

Then if the user want to connect to any other device he need to click forget device button and I will advertise without whitelist .

How can I do this ?

I use S132 softdevice, NRF52 , Device Manager , and Peer manager modules .. Thanks in Advance

  • I just commented some events in on_ble_evt to make it working

    	/*case BLE_GAP_EVT_SEC_PARAMS_REQUEST:
    	// Pairing not supported
    	err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
    	APP_ERROR_CHECK(err_code);
    	break;
    
    case BLE_GATTS_EVT_SYS_ATTR_MISSING:
    	// No system attributes have been stored.
    	err_code = sd_ble_gatts_sys_attr_set(m_conn_handle, NULL, 0, 0);
    	APP_ERROR_CHECK(err_code);
    	break;
    	 */
    

    This I saw in another question posted in our forum .. Thank You ,

Related