Procházet zdrojové kódy

Merge pull request #12 from jblanked/dev

FlipWiFi - v1.5.2
JBlanked před 8 měsíci
rodič
revize
e4bfe0897d
6 změnil soubory, kde provedl 16 přidání a 11 odebrání
  1. 4 0
      CHANGELOG.md
  2. 8 1
      README.md
  3. 1 1
      application.fam
  4. binární
      assets/01-home.png
  5. 2 8
      callback/callback.c
  6. 1 1
      flip_wifi.h

+ 4 - 0
CHANGELOG.md

@@ -1,3 +1,7 @@
+## v1.5.2
+- Fixed a BusFault when leaving the AP Mode.
+- Increased the buffer size for sending HTML data.
+
 ## v1.5.1
 - Fixed a crash when setting an SSID in the Saved APs view.
 - Fixed auto-update functionality.

+ 8 - 1
README.md

@@ -1,12 +1,19 @@
 FlipWiFi is the companion app for the popular FlipperHTTP flash, originally introduced in the https://github.com/jblanked/WebCrawler-FlipperZero/tree/main/assets/FlipperHTTP. It allows you to scan and save WiFi networks for use across all FlipperHTTP apps.
 
 ## Requirements
-- WiFi Developer Board, BW16, Raspberry Pi, or ESP32 Device flashed with FlipperHTTP v1.8.3 or higher: https://github.com/jblanked/FlipperHTTP
+- WiFi Developer Board, BW16, Raspberry Pi, or ESP32 Device flashed with FlipperHTTP v1.8.5 or higher: https://github.com/jblanked/FlipperHTTP
 - 2.4 GHz WiFi Access Point
 
+## Connect Online
+- Discord: https://discord.gg/5aN9qwkEc6
+- YouTube: https://www.youtube.com/@jblanked
+- Instagram: https://www.instagram.com/jblanked
+- Other: https://www.jblanked.com/social/
+
 ## Features
 
 - **Scan**: Discover nearby WiFi networks and add them to your list.
+- **AP Mode**: Create a captive portal with custom HTML and auto-input routing.
 - **Saved Access Points**: View your saved networks, manually add new ones, or configure the WiFi network to be used across all FlipperHTTP apps.
 
 ## Setup

+ 1 - 1
application.fam

@@ -9,6 +9,6 @@ App(
     fap_icon_assets="assets",
     fap_author="JBlanked",
     fap_weburl="https://github.com/jblanked/FlipWiFi",
-    fap_version="1.5.1",
+    fap_version="1.5.2",
     fap_description="FlipperHTTP companion app.",
 )

binární
assets/01-home.png


+ 2 - 8
callback/callback.c

@@ -13,12 +13,6 @@ uint32_t callback_submenu_ap(void *context)
 {
     FlipWiFiApp *app = (FlipWiFiApp *)context;
     furi_check(app);
-    if (app->timer)
-    {
-        furi_timer_stop(app->timer);
-        furi_timer_free(app->timer);
-        app->timer = NULL;
-    }
     back_from_ap = true;
     return FlipWiFiViewSubmenu;
 }
@@ -214,7 +208,7 @@ bool callback_view_input_callback_saved(InputEvent *event, void *context)
             furi_delay_ms(100);
         }
 
-                // check success (if [SUCCESS] is in the response)
+        // check success (if [SUCCESS] is in the response)
         if (strstr(fhttp->last_response, "[SUCCESS]") == NULL)
         {
             char response[256];
@@ -357,7 +351,7 @@ static bool callback_run_ap_mode(void *context)
         size_t offset = 0;
         while (offset < send_buffer_size)
         {
-            size_t chunk_size = send_buffer_size - offset > 64 ? 64 : send_buffer_size - offset;
+            size_t chunk_size = send_buffer_size - offset > 512 ? 512 : send_buffer_size - offset;
             furi_hal_serial_tx(app->fhttp->serial_handle, (const uint8_t *)(send_buffer + offset), chunk_size);
             offset += chunk_size;
             furi_delay_ms(50); // cant go faster than this, no matter the chunk size

+ 1 - 1
flip_wifi.h

@@ -6,7 +6,7 @@
 #include <storage/storage.h>
 
 #define TAG "FlipWiFi"
-#define VERSION "1.5.1"
+#define VERSION "1.5.2"
 #define VERSION_TAG TAG " " VERSION
 #define MAX_SCAN_NETWORKS 100
 #define MAX_SAVED_NETWORKS 25