[riot-notifications] [RIOT-OS/RIOT] pkg/nimble: add IP-over-BLE support via netif/GNRC (#11578)

Hauke Petersen notifications at github.com
Tue Jun 4 14:13:40 CEST 2019


haukepetersen commented on this pull request.



> +    return memcmp(argv, "help", 4) == 0;
+}
+
+void app_ble_init(void)
+{
+    /* setup the scanning environment */
+    nimble_scanlist_init();
+    nimble_scanner_init(NULL, nimble_scanlist_update);
+
+    /* register event callback with the netif wrapper */
+    nimble_netif_eventcb(_on_ble_evt);
+}
+
+int app_ble_cmd(int argc, char **argv)
+{
+    if ((argc == 1) || _ishelp(argv[1])) {

true, but I would take this as optimization that might be done in the future. This is IMO not the most relevant code path anyway.

-- 
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/11578#discussion_r290264595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190604/1b128336/attachment.html>


More information about the notifications mailing list