[riot-notifications] [RIOT-OS/RIOT] pkg/nimble/netif: allow to apply and enforce random and unique connection intervals (#16372)
notifications at github.com
Wed Jun 16 09:53:36 CEST 2021
@haukepetersen commented on this pull request.
> + *
+ * @return true if given interval is used
+ * @return false if given interval is not used
+int nimble_netif_conn_itvl_used(uint16_t itvl, int skip_handle);
+ * @brief Check if connection interval used by the given connection is valid
+ * @param[in] handle connection to verify
+ * @return true if the connection interval of the given connection collides
+ * with the connection interval of another BLE connection
+ * @return false if the connection interval of the given connection is valid
+int nimble_netif_conn_itvl_invalid(int handle);
because for some subjective (and probably nonesense) reason, I don't like bools in C :-)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications