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

undocumented error hci_slip_rx_buffer_register error 7

I'm receiveing this error 7 on line error 296. the only APP_ERROR_CHECK on line 296 is hci_slip_rx_buffer_register . this documentation doesn't not give any description of error 0x07

Parents
  • Hi

    That's very odd. Since you are linking to documentation for SDK 8.x.x I assume this is the SDK you are using. I looked at the example "dfu\bootloader\pca10028\single_bank_serial_s110" and had a look at line 296 in hci_transport.c:

    err_code = hci_slip_rx_buffer_register(mp_slip_used_rx_buffer, RX_BUF_SIZE);                            
    APP_ERROR_CHECK(err_code);    
    

    What I find very strange is that if you look at the definition of hci_slip_rx_buffer_register() in hci_slip.c the only value it can return i 0 (NRF_SUCCESS). Are you sure you are debugging correctly and that you get the return value 7? Error 7, by the way, is NRF_ERROR_INVALID_PARAM.

Reply
  • Hi

    That's very odd. Since you are linking to documentation for SDK 8.x.x I assume this is the SDK you are using. I looked at the example "dfu\bootloader\pca10028\single_bank_serial_s110" and had a look at line 296 in hci_transport.c:

    err_code = hci_slip_rx_buffer_register(mp_slip_used_rx_buffer, RX_BUF_SIZE);                            
    APP_ERROR_CHECK(err_code);    
    

    What I find very strange is that if you look at the definition of hci_slip_rx_buffer_register() in hci_slip.c the only value it can return i 0 (NRF_SUCCESS). Are you sure you are debugging correctly and that you get the return value 7? Error 7, by the way, is NRF_ERROR_INVALID_PARAM.

Children
Related