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
  • you can see my frames that sent via uart for debuging from starting program.(note that my uart frames are always 8 bytes) I have a question. why in some cases nrf8001 send me 03 as len but I receive 4 bytes. for example 03 84 06 01 02 ??? is it a fault?

    00000000: 00 00 00 00 00 00 00 00  |  00 00 00 00 00 00 00 00    ................  
    00000010: 00 04 81 02 00 02 00 00  |  00 03 84 06 01 00 00 00    .........„.....  
    00000020: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000030: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000040: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000050: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000060: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000070: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000080: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000090: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000a0: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000b0: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000c0: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000d0: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000e0: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000f0: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000100: 00 03 84 06 01 00 00 00  |  00 03 84 06 02 00 00 00    ..„.......„.....  
    00000110: 00 04 81 03 00 02 00 00  |  00 04 81 03 00 02 00 00    ..............  
    00000120: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000130: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000140: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000150: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000160: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00
    
Reply
  • you can see my frames that sent via uart for debuging from starting program.(note that my uart frames are always 8 bytes) I have a question. why in some cases nrf8001 send me 03 as len but I receive 4 bytes. for example 03 84 06 01 02 ??? is it a fault?

    00000000: 00 00 00 00 00 00 00 00  |  00 00 00 00 00 00 00 00    ................  
    00000010: 00 04 81 02 00 02 00 00  |  00 03 84 06 01 00 00 00    .........„.....  
    00000020: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000030: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000040: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000050: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000060: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000070: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000080: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000090: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000a0: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000b0: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000c0: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000d0: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000e0: 00 03 84 06 01 00 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    000000f0: 00 03 84 06 01 02 00 00  |  00 03 84 06 01 00 00 00    ..„.......„.....  
    00000100: 00 03 84 06 01 00 00 00  |  00 03 84 06 02 00 00 00    ..„.......„.....  
    00000110: 00 04 81 03 00 02 00 00  |  00 04 81 03 00 02 00 00    ..............  
    00000120: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000130: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000140: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000150: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00    ..„.......„.....  
    00000160: 00 03 84 0F 00 00 00 00  |  00 03 84 0F 00 00 00 00
    
Children
No Data
Related