foldl commented on issue #273: 0 is a possible value for conn_handle. URL: https://github.com/apache/mynewt-nimble/pull/273#issuecomment-448826331 More comments: For GATT bearer, conn_handle can be 0. So it is not proper to use "if (conn_handle)" to judge if connection has been established or not.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
