extmod/nimble: Update to work with NimBLE 1.3.
This commit is contained in:
parent
0dceab0ddf
commit
347c8917dc
|
@ -40,7 +40,6 @@ SRC_LIB += $(addprefix $(NIMBLE_LIB_DIR)/, \
|
|||
ble_hs.c \
|
||||
ble_hs_cfg.c \
|
||||
ble_hs_conn.c \
|
||||
ble_hs_dbg.c \
|
||||
ble_hs_flow.c \
|
||||
ble_hs_hci.c \
|
||||
ble_hs_hci_cmd.c \
|
||||
|
|
|
@ -95,6 +95,7 @@ int nimble_sprintf(char *str, const char *fmt, ...);
|
|||
#define MYNEWT_VAL_BLE_HS_FLOW_CTRL_TX_ON_DISCONNECT (0)
|
||||
#define MYNEWT_VAL_BLE_HS_PHONY_HCI_ACKS (0)
|
||||
#define MYNEWT_VAL_BLE_HS_REQUIRE_OS (1)
|
||||
#define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN_TIMEOUT (2000)
|
||||
#define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM (0)
|
||||
#define MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS (1)
|
||||
#define MYNEWT_VAL_BLE_L2CAP_MAX_CHANS (3*MYNEWT_VAL_BLE_MAX_CONNECTIONS)
|
||||
|
@ -157,4 +158,7 @@ int nimble_sprintf(char *str, const char *fmt, ...);
|
|||
#define MYNEWT_VAL_BLE_HCI_UART_PORT (MICROPY_HW_BLE_UART_ID)
|
||||
#define MYNEWT_VAL_BLE_HCI_UART_STOP_BITS (1)
|
||||
|
||||
/* Required for code that uses BLE_HS_LOG */
|
||||
#define MYNEWT_VAL_NEWT_FEATURE_LOGCFG (1)
|
||||
|
||||
#endif // MICROPY_INCLUDED_EXTMOD_NIMBLE_SYSCFG_H
|
||||
|
|
Loading…
Reference in New Issue