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

a problem in "ACI_DEVICE_STANDBY"

hi. Im working with nrf8001 type c in a self-designed board and im using arduino library driver on github by nordic. my mcu is stm32 and i ported library to my mcu. when I debug my program i find that my program go to "ACI_DEVICE_STANDBY" case in aci loop and nrf respond me with "03 84 0F" . as i understand, it means that nrf will advertise in this state. but when i use a smartphone with android 4.4 and BLE enabled i cant see nrf8001 in nrf uart app that made by nordic in play store. and im using service.h in "hello world" project.(type c , internal 32768, external crystal 16 MHz). please help what problems may be exist im my project or what points I have to check again? thank you.

Parents
    • Run the ACI transport verification.

    • Look at Section 7 in the nRF8001 Datasheet which explains the position of the debug byte.

    • Get an nRF8001 D version as that is the latest version with a number of bug fixes, you will save yourself a lot of pain.

    • The length bytes are to strictly used i.e. any data beyond the length should be discarded.

    • You receive the "03 84 06 02" (see the Section on the setup command in section 24.6) followed by a Device Started Event (04 81 03 00 02) so the nRF8001 seems to have started successfully.

    • The Connect command seems to have been successfully sent but there is no Disconnected Event after that.

    • Your UART trace is not easy to understand, how are we to see the order of the ACI Events. Attach a trace that has shows the order of the messages.

Reply
    • Run the ACI transport verification.

    • Look at Section 7 in the nRF8001 Datasheet which explains the position of the debug byte.

    • Get an nRF8001 D version as that is the latest version with a number of bug fixes, you will save yourself a lot of pain.

    • The length bytes are to strictly used i.e. any data beyond the length should be discarded.

    • You receive the "03 84 06 02" (see the Section on the setup command in section 24.6) followed by a Device Started Event (04 81 03 00 02) so the nRF8001 seems to have started successfully.

    • The Connect command seems to have been successfully sent but there is no Disconnected Event after that.

    • Your UART trace is not easy to understand, how are we to see the order of the ACI Events. Attach a trace that has shows the order of the messages.

Children
No Data
Related