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

nrf51822 central not working

Hello,

I am working on S130 stack with version 1.0.0 and SDK 9.0 . I am testing the example of ble_app_hrs_rscs_relay_s1 project and it is working as a peripheral but the central is not working.

I wanted to get BLE_GAP_EVT_ADV_REPORT event if it scans for the peripherals, but I am getting BLE_GAP_EVT_TIMEOUT event and the timeout source I am getting is BLE_GAP_TIMEOUT_SRC_ADVERTISING.

And also I am testing the application with iPad Light Blue application. Am I missing anything in the configuration for central?

And also I testing the application on PCA10004 v2.2.0 evaluation board.

Regards, Sowmya

Parents
  • No it is not connected. But on nRF, I am getting BLE_GAP_EVT_ADV_REPORT and also it verified with BLE_UUID_HEART_RATE_SERVICE and there is a code snippet to copy the address as:

    memcpy(&m_hrs_peripheral_address, p_gap_evt->params.adv_report.peer_addr,sizeof(ble_gap_addr_t));
    

    But the address copied to m_hrs_peripheral_address is not my iPad device address.

Reply
  • No it is not connected. But on nRF, I am getting BLE_GAP_EVT_ADV_REPORT and also it verified with BLE_UUID_HEART_RATE_SERVICE and there is a code snippet to copy the address as:

    memcpy(&m_hrs_peripheral_address, p_gap_evt->params.adv_report.peer_addr,sizeof(ble_gap_addr_t));
    

    But the address copied to m_hrs_peripheral_address is not my iPad device address.

Children
No Data
Related