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
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
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.
Still, I looked at the same example mentioned above, but in SDK 10 and hci_slip_rx_buffer_register() can still only return success. What example do you use (if any)? In what file do your error originate?
Still, I looked at the same example mentioned above, but in SDK 10 and hci_slip_rx_buffer_register() can still only return success. What example do you use (if any)? In what file do your error originate?