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

ble_nfc_pairing_reference example pairing problem

Hello,

     I wish to use "ble_nfc_pairing_reference" example with nRF52832 IC and SDK15. I flashed the example into "nRF52 DK" board. When I enable the NFC and BLE on my phone and put it closer to the "nRF52 DK" board, a message pops up on my phone and says "hello". Nothing happens other than this message. No BLE pairing occurs.

     In addition, I would like to use this "ble_nfc_pairing_reference" example with "ble_app_uart" example. Is it possible? can I merge them easily? 

Can somebody help?

Parents Reply Children
  • #ifndef NFC_PAIRING_MODE
        #define NFC_PAIRING_MODE NFC_PAIRING_MODE_JUST_WORKS
    #endif
    
    
    static void nrf_ble_pairing_init(void)
    {
        ret_code_t err_code;
        err_code = nfc_ble_pair_init(&m_advertising, (nfc_pairing_mode_t)NFC_PAIRING_MODE);
        APP_ERROR_CHECK(err_code);
    }
    
    int main(void)
    {
        nrf_ble_pairing_init(); // Call this function after you've initialized the ble stack.
        
        while(1)
        {
        
        }
    }

Related