Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit a3b88c1

Browse files
committed
Update with latest custom meshtastic IDF lib builds per:
meshtastic/esp32-arduino-lib-builder@4898fe4
1 parent c4d8178 commit a3b88c1

File tree

140 files changed

+1500
-464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+1500
-464
lines changed

tools/sdk/bin/bootloader_dio_40m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dio_80m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_40m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_80m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_40m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_80m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_40m.bin

-32 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_80m.bin

-32 Bytes
Binary file not shown.

tools/sdk/include/bt/esp_bt.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
extern "C" {
2626
#endif
2727

28-
#define ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL 0x20190506
28+
#define ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL 0x20200106
2929

3030
/**
3131
* @brief Bluetooth mode for controller enable/disable
@@ -96,6 +96,12 @@ the adv packet will be discarded until the memory is restored. */
9696
#define BTDM_CONTROLLER_MODE_EFF ESP_BT_MODE_BTDM
9797
#endif
9898

99+
#ifdef CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF
100+
#define BTDM_CTRL_AUTO_LATENCY_EFF CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF
101+
#else
102+
#define BTDM_CTRL_AUTO_LATENCY_EFF false
103+
#endif
104+
99105
#define BTDM_CONTROLLER_BLE_MAX_CONN_LIMIT 9 //Maximum BLE connection limitation
100106
#define BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_LIMIT 7 //Maximum ACL connection limitation
101107
#define BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_LIMIT 3 //Maximum SCO/eSCO connection limitation
@@ -118,6 +124,7 @@ the adv packet will be discarded until the memory is restored. */
118124
.ble_max_conn = CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF, \
119125
.bt_max_acl_conn = CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF, \
120126
.bt_sco_datapath = CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF, \
127+
.auto_latency = BTDM_CTRL_AUTO_LATENCY_EFF, \
121128
.bt_max_sync_conn = CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF, \
122129
.magic = ESP_BT_CONTROLLER_CONFIG_MAGIC_VAL, \
123130
};
@@ -149,6 +156,7 @@ typedef struct {
149156
uint8_t ble_max_conn; /*!< BLE maximum connection numbers */
150157
uint8_t bt_max_acl_conn; /*!< BR/EDR maximum ACL connection numbers */
151158
uint8_t bt_sco_datapath; /*!< SCO data path, i.e. HCI or PCM module */
159+
bool auto_latency; /*!< BLE auto latency, used to enhance classic BT performance */
152160
/*
153161
* Following parameters can not be configured runtime when call esp_bt_controller_init()
154162
* It will be overwrite with a constant value which in menuconfig or from a macro.

tools/sdk/include/bt/esp_gatt_common_api.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ extern "C" {
4444
*/
4545
extern esp_err_t esp_ble_gatt_set_local_mtu (uint16_t mtu);
4646

47+
#if (BLE_INCLUDED == TRUE)
48+
extern uint16_t esp_ble_get_sendable_packets_num (void);
49+
#endif
50+
4751
#ifdef __cplusplus
4852
}
4953
#endif

0 commit comments

Comments
 (0)