I suggest to change return type from uint16_t to int and in case of chan==NULL return -1. This is now API for the application so let's be on the safe side.
[ Full content available at: https://github.com/apache/mynewt-nimble/pull/177 ] This message was relayed via gitbox.apache.org for [email protected]
