JBlanked 1 год назад
Родитель
Сommit
a1cb522d22
1 измененных файлов с 9 добавлено и 6 удалено
  1. 9 6
      assets/FlipperHTTP/README.md

+ 9 - 6
assets/FlipperHTTP/README.md

@@ -37,10 +37,11 @@ Star the repository (https://github.com/jblanked/WebCrawler-FlipperZero) and fol
 | `flipper_http_ping`                              | `bool`           | None                                                                                                           | Sends a ping request to test connectivity.                                                         |
 | `flipper_http_scan_wifi`                         | `bool`           | `const char *ssid`, `const char *password`                                                                     | Scans for nearby WiFi networks.                                                                    |
 | `flipper_http_save_wifi`                         | `bool`           | `const char *ssid`, `const char *password`                                                                     | Saves WiFi credentials for future connections.                                                     |
+| `flipper_http_ip_wifi`                           | `bool`           | None                                                                                                           | Retrieves the IP address of the connected WiFi network.                                            |
 | `flipper_http_ip_address`                        | `bool`           | None                                                                                                           | Retrieves the IP address of the WiFi Devboard.                                                     |
 | `flipper_http_list_commands`                     | `bool`           | None                                                                                                           | Lists all available commands.                                                                      |
-| `flipper_http_led_on`                            | `bool`           | None                                                                                                           | Turns on the LED.                                                                                  |
-| `flipper_http_led_off`                           | `bool`           | None                                                                                                           | Turns off the LED.                                                                                 |
+| `flipper_http_led_on`                            | `bool`           | None                                                                                                           | Allow the LED to display while processing.                                                         |
+| `flipper_http_led_off`                           | `bool`           | None                                                                                                           | Disable the LED from displaying while processing.                                                  |
 | `flipper_http_parse_json`                        | `bool`           | `const char *key`, `const char *json_data`                                                                     | Parses JSON data for a specified key.                                                              |
 | `flipper_http_parse_json_array`                  | `bool`           | `const char *key`, `int index`, `const char *json_data`                                                        | Parses an array within JSON data for a specified key and index.                                    |
 | `flipper_http_send_data`                         | `bool`           | `const char *data`                                                                                             | Sends the specified data to the server.                                                            |
@@ -64,10 +65,11 @@ Star the repository (https://github.com/jblanked/WebCrawler-FlipperZero) and fol
 | `fhttp.ping`                           | `bool`           | None                                                | Sends a ping request to test connectivity and returns whether a response was received.                |
 | `fhttp.scan_wifi`                      | `string`         | None                                                | Scans for nearby WiFi access points and returns a string with each access point separated by a comma.  |
 | `fhttp.save_wifi`                      | `bool`           | `ssid: string`, `password: string`                  | Saves WiFi credentials and returns whether the save operation was successful.                         |
+| `fhttp.ip_wifi`                        | `string`         | None                                                | Gets the IP address of the connected WiFi network and returns it as a string.                      |
 | `fhttp.ip_address`                     | `string`         | None                                                | Gets the IP address of the WiFi Devboard and returns it as a string.                                  |
 | `fhttp.list_commands`                  | `string`         | None                                                | Lists all available commands and returns them as a string.                                            |
-| `fhttp.led_on`                         | `void`           | None                                                | Sends a command to turn on the LED.                                                                   |
-| `fhttp.led_off`                        | `void`           | None                                                | Sends a command to turn off the LED.                                                                  |
+| `fhttp.led_on`                         | `void`           | None                                                | Sends a command to allow the LED to display while processing.                                         |
+| `fhttp.led_off`                        | `void`           | None                                                | Sends a command to disable the LED from displaying while processing.                                  |
 | `fhttp.parse_json`                     | `string`         | `key: string`, `data: string`                       | Parses JSON data for a specified key and returns the corresponding value as a string.                 |
 | `fhttp.parse_json_array`               | `string`         | `key: string`, `index: number`, `data: string`      | Parses an array within JSON data for a specified key and index, returning the corresponding value.    |
 | `fhttp.send_data`                      | `void`           | `data: string`                                      | Sends the specified data to the serial port.                                                          |
@@ -86,10 +88,11 @@ Star the repository (https://github.com/jblanked/WebCrawler-FlipperZero) and fol
 | `flipper_http_ping`                           | `bool`           | None                                                | Sends a ping request to test connectivity and returns whether a response was received.                |
 | `flipper_http_save_wifi`                      | `bool`           | `ssid: str`, `password: str`                  | Saves WiFi credentials and returns whether the save operation was successful.                         |
 | `flipper_http_scan_wifi`                      | `str`            | None                                          | Scans for nearby WiFi access points and returns a string listing each access point, separated by commas.  |
+| `flipper_http_ip_wifi`                        | `str`            | None                                          | Gets the IP address of the connected WiFi network and returns it as a string.                       |
 | `flipper_http_ip_address`                     | `str`            | None                                          | Gets the IP address of the WiFi Devboard and returns it as a string.                                  |
 | `flipper_http_list_commands`                  | `str`            | None                                          | Lists all available commands and returns them as a string.                                            |
-| `flipper_http_led_on`                         | `void`           | None                                          | Sends a command to turn on the LED.                                                                   |
-| `flipper_http_led_off`                        | `void`           | None                                          | Sends a command to turn off the LED.                                                                  |
+| `flipper_http_led_on`                         | `void`           | None                                          | Sends a command to allow the LED to display while processing.                                         |
+| `flipper_http_led_off`                        | `void`           | None                                          | Sends a command to disable the LED from displaying while processing.                                  |
 | `flipper_http_parse_json`                     | `str`            | `key: str`, `json_data: str`                   | Parses JSON data for a specified key and returns the corresponding value as a string.                 |
 | `flipper_http_parse_json_array`               | `str`            | `key: str`, `index: int`, `json_data: str`       | Parses an array within JSON data for a specified key and index, returning the corresponding value.    |
 | `flipper_http_send_data`                      | `void`           | `data: str`                                      | Sends the specified data to the serial port.                                                          |