[riot-notifications] [RIOT-OS/RIOT] pkg/nimble/netif: migrate to use errno return values (#16838)

Hauke Petersen notifications at github.com
Fri Sep 10 21:15:52 CEST 2021


### Contribution description
Took me some time but at some point even I started to understand the value of using `errno` values for functions :-)

This PR adapts `nimble_netif` to do just so, its pretty much a plain replacement of custom values with fitting `errno` values, so this change should be straight forward.

### Testing procedure
Build test and a manual code review should be sufficient in this case

### Issues/PRs references
none
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16838

-- Commit Summary --

  * pkg/nimble/netif: migrate return values to errno
  * pkg/nimble/netif_conn: fix doxygen
  * pkg/nimble/netif: fix doxygen leftover
  * shell/sc_nimble_netif: adapt to new return values
  * nimble/rpble: adapt to new return values
  * nimble/autoconn: adapt to new return values

-- File Changes --

    M pkg/nimble/autoconn/nimble_autoconn.c (2)
    M pkg/nimble/netif/include/nimble_netif.h (59)
    M pkg/nimble/netif/include/nimble_netif_conn.h (3)
    M pkg/nimble/netif/nimble_netif.c (30)
    M pkg/nimble/netif/nimble_netif_conn.c (4)
    M pkg/nimble/rpble/nimble_rpble.c (2)
    M sys/shell/commands/sc_nimble_netif.c (12)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16838.patch
https://github.com/RIOT-OS/RIOT/pull/16838.diff

-- 
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/16838
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210910/821c2543/attachment.htm>


More information about the notifications mailing list