Skip to content

Commit 50181e9

Browse files
committed
Version 0.5
1 parent 70bcd70 commit 50181e9

File tree

11 files changed

+712
-332
lines changed

11 files changed

+712
-332
lines changed

.DS_Store

0 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
## 0.5 (Cleanup)
2+
- Refactored using the easy flipper library
3+
- New python library for the FlipperHTTP flash
4+
- Removed unnecessary GPIO initialization
5+
- Removed unnecessary logging
6+
17
## 0.4 (New Keyboard and HTTP Methods)
28
- Updated the text input to match the text input from the UART Terminal app (big thanks to xMasterx)
39
- Added POST, DELETE, and PUT requests (with payloads)
410
- Added headers
511
- Added more error handling
612

713
## 0.3 (New Features)
8-
- Updated the progress messages displayed after sending a GET request.
14+
- Updated the progress messages displayed after sending a HTTP request.
915
- Renamed the "Config" main submenu option to "Settings."
1016
- Added a submenu (WiFi, File, Request) that appears when users click the "Settings" option.
1117

@@ -23,7 +29,7 @@ Clicking **Request** displays a variable item list with a single text input opti
2329

2430
## 0.2 (Stability Patch)
2531
- Changed serial functions from synchronous to asynchronous.
26-
- Added error handling for GET requests and WiFi Dev Board connections.
32+
- Added error handling for HTTP requests and WiFi Dev Board connections.
2733
- Updated the WiFi Dev Board firmware (FlipperHTTP) to blink the green LED three times when the board is first connected, remain solid green when the board receives a serial command, and stay solid green while processing.
2834
- Added auto-connect and auto-disconnect for WiFi when a user enters or exits the app.
2935
- Added an option to view saved data.

application.fam

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ App(
44
apptype=FlipperAppType.EXTERNAL,
55
entry_point="web_crawler_app",
66
stack_size=4 * 1024,
7-
requires=[
8-
"gui",
9-
],
10-
order=10,
11-
fap_version = (0, 4),
127
fap_icon="app.png",
138
fap_category="GPIO",
14-
fap_author="JBlanked",
159
fap_icon_assets="assets",
1610
fap_description="Use Wi-Fi to access the internet and scrape data from the web.",
11+
fap_author="JBlanked",
12+
fap_weburl="https://github.com/jblanked/WebCrawler-FlipperZero",
13+
fap_version = "0.5",
1714
)

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/FlipperHTTP/.DS_Store

0 Bytes
Binary file not shown.

assets/FlipperHTTP/flipper_http.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ bool flipper_http_delete_request_with_headers(const char *url, const char *heade
4242
bool flipper_http_save_received_data(size_t bytes_received, const char line_buffer[]);
4343
static char *trim(const char *str);
4444

45-
// Define GPIO pins for UART
46-
GpioPin test_pins[2] = {
47-
{.port = GPIOA, .pin = LL_GPIO_PIN_7}, // USART1_RX
48-
{.port = GPIOA, .pin = LL_GPIO_PIN_6} // USART1_TX
49-
};
50-
5145
// State variable to track the UART state
5246
typedef enum
5347
{
@@ -253,10 +247,6 @@ bool flipper_http_init(FlipperHTTP_Callback callback, void *context)
253247
furi_thread_start(fhttp.rx_thread);
254248
fhttp.rx_thread_id = furi_thread_get_id(fhttp.rx_thread);
255249

256-
// Initialize GPIO pins for UART
257-
furi_hal_gpio_init_simple(&test_pins[0], GpioModeInput);
258-
furi_hal_gpio_init_simple(&test_pins[1], GpioModeOutputPushPull);
259-
260250
// handle when the UART control is busy to avoid furi_check failed
261251
if (furi_hal_serial_control_is_busy(UART_CH))
262252
{

0 commit comments

Comments
 (0)