micropython/extmod/nimble
Thomas Friebel 18fb5b4432 extmod/nimble: Make error code mapping default to MP_EIO.
Before this change, any NimBLE error that does not appear in the
ble_hs_err_to_errno_table maps to return code 0, meaning success.  If we
miss adding an error code to the table we end up returning success in case
of failure.

Instead, handle the zero case explicitly and default to MP_EIO.  This
allows removing the now-redundant MP_EIO entries from the mapping.
2020-05-11 22:31:30 +10:00
..
bsp extmod/nimble: Add nimble bindings. 2019-10-01 09:51:02 +10:00
hal stm32: Refactor bluetooth stack/hci/driver bindings. 2020-03-10 01:53:42 +11:00
nimble stm32: Refactor Bluetooth HCI RX to be independent of transport layer. 2020-03-10 01:53:42 +11:00
syscfg extmod/nimble: Update to work with NimBLE 1.3. 2020-04-27 22:51:10 +10:00
modbluetooth_nimble.c extmod/nimble: Make error code mapping default to MP_EIO. 2020-05-11 22:31:30 +10:00
modbluetooth_nimble.h extmod/nimble: Clarify active state and check for active in all methods. 2020-03-11 13:01:35 +11:00
nimble.mk stm32/Makefile: Rename SRC_LIB to LIB_SRC_C to match other ports. 2020-04-29 16:38:18 +10:00