diff --git a/main/globals.h b/main/globals.h index 43a20aa..0951cd9 100644 --- a/main/globals.h +++ b/main/globals.h @@ -24,9 +24,9 @@ #include "db_esp32_control.h" #define MAX_LTM_FRAMES_IN_BUFFER 5 -#define BUILDVERSION 9 +#define BUILDVERSION 10 #define MAJOR_VERSION 1 -#define MINOR_VERSION 4 +#define MINOR_VERSION 5 // can be set by user extern uint8_t DB_WIFI_MODE; diff --git a/main/http_server.c b/main/http_server.c index 9b4b567..1f66011 100644 --- a/main/http_server.c +++ b/main/http_server.c @@ -333,6 +333,9 @@ static esp_err_t settings_data_get_handler(httpd_req_t *req) { cJSON_AddNumberToObject(root, "trans_pack_size", TRANSPARENT_BUF_SIZE); cJSON_AddNumberToObject(root, "tx_pin", DB_UART_PIN_TX); cJSON_AddNumberToObject(root, "rx_pin", DB_UART_PIN_RX); + cJSON_AddNumberToObject(root, "cts_pin", DB_UART_PIN_CTS); + cJSON_AddNumberToObject(root, "rts_pin", DB_UART_PIN_RTS); + cJSON_AddNumberToObject(root, "rts_thresh", DB_UART_RTS_THRESH); cJSON_AddNumberToObject(root, "baud", DB_UART_BAUD_RATE); cJSON_AddNumberToObject(root, "telem_proto", SERIAL_PROTOCOL); cJSON_AddNumberToObject(root, "ltm_pp", LTM_FRAME_NUM_BUFFER);