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

what's "CHANNEL_IN_WRONG_STATE" ?

hello,

Have any example about how to use "CHANNEL_IN_WRONG_STATE" ?

I don't know how to use it. and also don't know when softdevice return this even.

///< Command response on attempt to perform an action from the wrong channel state

#define CHANNEL_IN_WRONG_STATE ((uint8_t)0x15)


condition: nrf51422/s310

Parents
  • You need to use the debugger to figure out what SoftDevice function that returns the error. Turn off optimization and put a breakpoint in the app_error_handler, this will give you the error code, the line number and the file name.

    You can also put breakpoints in different places in main() and see how far you get before you get the error.

Reply
  • You need to use the debugger to figure out what SoftDevice function that returns the error. Turn off optimization and put a breakpoint in the app_error_handler, this will give you the error code, the line number and the file name.

    You can also put breakpoints in different places in main() and see how far you get before you get the error.

Children
Related