This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf8001 ancs library

Hi

I have recently purchased an Adafruit Bluefruit LE board (www.adafruit.com/.../1697), that uses the nRF8001 chip, so that I would be able to send iOS notifications to an arduino uno. I have tried out the UART project template in the sdk examples with the Bluefruit LE app which worked fine. Subsequently I opened the ANCS template and uploaded it to the arduino but my iPhone could not see it. I'm not sure what I have done wrong so any help is appreciated.

Thanks DH

  • Are you referring to the ANCS template as provided in the github.com/.../ble-sdk-arduino ? If so please post the debug trace of the ACI messages by setting the lib_aci_init() debug option to true.

  • Thanks for the response. That is what I'm referring to. Here is the debug trace:

        <Arduino setup
     E4 :4, 81, 2, 0, 2, 
    Evt Device Started: Setup
    C7 :7, 6, 0, 0, 3, 2, 41, FE, 
    C31 :1F, 6, 10, 0, 1, 0, 0, 0, 2, 3, 6, 5, C, 1, 1, 0, 0, 6, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
    C31 :1F, 6, 10, 1C, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, F4, 31, 2, 0, 0, 40, 10, 0, 0, 40, 10, 3, 90, 4, 64, 
    C31 :1F, 6, 10, 38, 2, FF, 2, 58, 63, 5, 0, 0, 8, 40, 0, 0, 8, 40, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 
    Error in ACI Setup
    
  • hi did u found the solution? i have the same breakout board from adafruit with nrf8001 and i too would like to receive iOS notifications from iPhone

  • Looks like you have a bad nRF8001 setup as I do not see the command responses coming back from the nRF8001, can you do the same(debug printing) for the UART template so we can be certain that the connectivity between the nRF8001 and the UNO is ok ? Use the UART template in the Nordic github repo.

Related