mirror of
				https://github.com/0xFEEDC0DE64/arduino-esp32.git
				synced 2025-11-03 23:51:39 +01:00 
			
		
		
		
	Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878)
* TX Flow Control and Code cleanup * Use semaphore instead of delay TX functionality is done. * Use single buffer and empty queue on exit * Fix compile issues because of LwIP code relocation * Add temporary header to fix Azure not compiling * Fix AsyncUDP early init * AsyncUDP Multicast fixes * Add source mac address and rework multicast * Allow redefinition of default pins for Serials 1 and 2 * Update IDF to 3276a13 * Update esptool.py to 2.5.0 * Fix sketches * Fix log level in BluetoothSetial
This commit is contained in:
		@@ -26,8 +26,12 @@ typedef enum {
 | 
			
		||||
    BTC_GAP_BT_SEARCH_DEVICES_EVT = 0,
 | 
			
		||||
    BTC_GAP_BT_SEARCH_SERVICES_EVT,
 | 
			
		||||
    BTC_GAP_BT_SEARCH_SERVICE_RECORD_EVT,
 | 
			
		||||
    BTC_GAP_BT_READ_RSSI_DELTA_EVT,
 | 
			
		||||
    BTC_GAP_BT_AUTH_CMPL_EVT,
 | 
			
		||||
    BTC_GAP_BT_PIN_REQ_EVT,
 | 
			
		||||
    BTC_GAP_BT_CFM_REQ_EVT,
 | 
			
		||||
    BTC_GAP_BT_KEY_NOTIF_EVT,
 | 
			
		||||
    BTC_GAP_BT_KEY_REQ_EVT,
 | 
			
		||||
    BTC_GAP_BT_READ_RSSI_DELTA_EVT,
 | 
			
		||||
}btc_gap_bt_evt_t;
 | 
			
		||||
 | 
			
		||||
typedef enum {
 | 
			
		||||
@@ -39,6 +43,11 @@ typedef enum {
 | 
			
		||||
    BTC_GAP_BT_ACT_SET_COD,
 | 
			
		||||
    BTC_GAP_BT_ACT_READ_RSSI_DELTA,
 | 
			
		||||
    BTC_GAP_BT_ACT_REMOVE_BOND_DEVICE,
 | 
			
		||||
    BTC_GAP_BT_ACT_SET_PIN_TYPE,
 | 
			
		||||
    BTC_GAP_BT_ACT_PIN_REPLY,
 | 
			
		||||
    BTC_GAP_BT_ACT_SET_SECURITY_PARAM,
 | 
			
		||||
    BTC_GAP_BT_ACT_PASSKEY_REPLY,
 | 
			
		||||
    BTC_GAP_BT_ACT_CONFIRM_REPLY,
 | 
			
		||||
} btc_gap_bt_act_t;
 | 
			
		||||
 | 
			
		||||
/* btc_bt_gap_args_t */
 | 
			
		||||
@@ -79,11 +88,46 @@ typedef union {
 | 
			
		||||
    struct rm_bond_device_args {
 | 
			
		||||
       bt_bdaddr_t bda;
 | 
			
		||||
    } rm_bond_device;
 | 
			
		||||
 | 
			
		||||
    // BTC_GAP_BT_ACT_SET_PIN_TYPE
 | 
			
		||||
    struct set_pin_type_args {
 | 
			
		||||
        esp_bt_pin_type_t pin_type;
 | 
			
		||||
        uint8_t pin_code_len;
 | 
			
		||||
        esp_bt_pin_code_t pin_code;
 | 
			
		||||
    } set_pin_type;
 | 
			
		||||
 | 
			
		||||
    // BTC_GAP_BT_ACT_PIN_REPLY
 | 
			
		||||
    struct pin_reply_args {
 | 
			
		||||
        bt_bdaddr_t bda;
 | 
			
		||||
        bool accept;
 | 
			
		||||
        uint8_t pin_code_len;
 | 
			
		||||
        esp_bt_pin_code_t pin_code;
 | 
			
		||||
    } pin_reply;
 | 
			
		||||
 | 
			
		||||
    // BTC_GAP_BT_ACT_SET_SECURITY_PARAM
 | 
			
		||||
    struct set_sec_param_args {
 | 
			
		||||
        esp_bt_sp_param_t param_type;
 | 
			
		||||
        uint8_t len;
 | 
			
		||||
        uint8_t *value;
 | 
			
		||||
    } set_security_param;
 | 
			
		||||
 | 
			
		||||
    // BTC_GAP_BT_ACT_PASSKEY_REPLY
 | 
			
		||||
    struct passkey_reply_args {
 | 
			
		||||
       bt_bdaddr_t bda;
 | 
			
		||||
       bool accept;
 | 
			
		||||
       uint32_t passkey;
 | 
			
		||||
    } passkey_reply;
 | 
			
		||||
 | 
			
		||||
    // BTC_GAP_BT_ACT_CONFIRM_REPLY
 | 
			
		||||
    struct confirm_reply_args {
 | 
			
		||||
       bt_bdaddr_t bda;
 | 
			
		||||
       bool accept;
 | 
			
		||||
    } confirm_reply;
 | 
			
		||||
} btc_gap_bt_args_t;
 | 
			
		||||
 | 
			
		||||
void btc_gap_bt_call_handler(btc_msg_t *msg);
 | 
			
		||||
void btc_gap_bt_cb_handler(btc_msg_t *msg);
 | 
			
		||||
 | 
			
		||||
void btc_gap_bt_arg_deep_copy(btc_msg_t *msg, void *p_dest, void *p_src);
 | 
			
		||||
void btc_gap_bt_busy_level_updated(uint8_t bl_flags);
 | 
			
		||||
 | 
			
		||||
esp_err_t btc_gap_bt_get_cod(esp_bt_cod_t *cod);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user