|
@@ -14,15 +14,15 @@
|
|
|
#include <furi_hal_serial.h>
|
|
#include <furi_hal_serial.h>
|
|
|
#include <storage/storage.h>
|
|
#include <storage/storage.h>
|
|
|
|
|
|
|
|
-#define HTTP_TAG "FlipWiFi" // change this to your app name
|
|
|
|
|
-#define http_tag "flip_wifi" // change this to your app id
|
|
|
|
|
-#define UART_CH (FuriHalSerialIdUsart) // UART channel
|
|
|
|
|
-#define TIMEOUT_DURATION_TICKS (5 * 1000) // 5 seconds
|
|
|
|
|
-#define BAUDRATE (115200) // UART baudrate
|
|
|
|
|
-#define RX_BUF_SIZE 2048 // UART RX buffer size
|
|
|
|
|
-#define RX_LINE_BUFFER_SIZE 4096 // UART RX line buffer size (increase for large responses)
|
|
|
|
|
-#define MAX_FILE_SHOW 4096 // Maximum data from file to show
|
|
|
|
|
-#define FILE_BUFFER_SIZE 512 // File buffer size
|
|
|
|
|
|
|
+#define HTTP_TAG "FlipWiFi" // change this to your app name
|
|
|
|
|
+#define http_tag "flip_wifi" // change this to your app id
|
|
|
|
|
+#define UART_CH (FuriHalSerialIdUsart) // UART channel
|
|
|
|
|
+#define TIMEOUT_DURATION_TICKS (15 * 1000) // 15 seconds (for WiFi scanning)
|
|
|
|
|
+#define BAUDRATE (115200) // UART baudrate
|
|
|
|
|
+#define RX_BUF_SIZE 2048 // UART RX buffer size
|
|
|
|
|
+#define RX_LINE_BUFFER_SIZE 4096 // UART RX line buffer size (increase for large responses)
|
|
|
|
|
+#define MAX_FILE_SHOW 4096 // Maximum data from file to show
|
|
|
|
|
+#define FILE_BUFFER_SIZE 512 // File buffer size
|
|
|
|
|
|
|
|
// Forward declaration for callback
|
|
// Forward declaration for callback
|
|
|
typedef void (*FlipperHTTP_Callback)(const char *line, void *context);
|
|
typedef void (*FlipperHTTP_Callback)(const char *line, void *context);
|