[riot-notifications] [RIOT-OS/RIOT] sys/nimble_autoadv: add new module (#13425)

Francisco notifications at github.com
Tue Nov 3 16:03:28 CET 2020


@fjmolinas commented on this pull request.



> +*/
+#ifndef NIMBLE_AUTOADV_DEVICE_NAME
+    #define NIMBLE_AUTOADV_DEVICE_NAME NULL
+#endif
+
+/**
+* @brief    If an application is calling functions from nimble, e.g.
+ *          ble_svc_gap_device_name_set(), NIMBLE_AUTOADV_START_MANUALLY should
+ *          be set to 1 and then the application should call
+ *          nimble_autoadv_start() after all of its nimble calls to prevent
+ *          errors like BLE_HS_EBUSY.
+ *
+ *          Defined as 0 by default.
+*/
+#ifndef NIMBLE_AUTOADV_START_MANUALLY
+    #define NIMBLE_AUTOADV_START_MANUALLY 0

Is this the case in any of the nimble example applications?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13425#pullrequestreview-522586143
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201103/4d45b213/attachment-0001.htm>


More information about the notifications mailing list