Send large BLE host frames across multiple notifies.
Prefer ATT MTU 517 and chunk oversized responses so CLIENT_INFO/BATTERY work with many pods; reset the goTool parser after timeouts so partial frames do not poison the next exchange. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-1
@@ -42,7 +42,8 @@ void uart_cmd_init_response(alox_UartMessage *msg, alox_MessageType type,
|
||||
esp_err_t uart_cmd_send(const alox_UartMessage *msg, const char *log_tag) {
|
||||
esp_err_t err = uart_send_uart_message(msg);
|
||||
if (err != ESP_OK && log_tag != NULL) {
|
||||
ESP_LOGE(log_tag, "failed to send UART response");
|
||||
ESP_LOGE(log_tag, "failed to send UART response: %s",
|
||||
esp_err_to_name(err));
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user