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

ANCS and nrf8001

I used nrf8001 to implement ANCS.It working fine.But when it disconnect for a while and reconnect(reconnect successed).I found Iphone can't send any ANCS message to nrf8001 until turn off/on bluetooth on iphone and reconnect again and it can work fine.

Is it IOS bug or nrf8001 limitation ?

Parents Reply Children
  • As you suggested .I'm doing the following

    void lib_aci_pipe_status_hook(aci_evt_t *p_rcvd_evt_data) { if (lib_aci_is_discovery_finished()) { if (lib_aci_is_pipe_available(PIPE_ANCS_NOTIFICATION_SOURCE_RX)) { lib_aci_close_remote_pipe(PIPE_ANCS_NOTIFICATION_SOURCE_RX); } }

    .....
    

    }

    But sometime get the pipe error(0x92) when Send the Close Remote Pipe,(The success rate is not 100%).

    have you got any idea what am I doing wrong here?

Related