Просмотр исходного кода

Squashed 'uart_terminal/' changes from 99ff14a4b..28ce9ee40

28ce9ee40 fix catalog versions
2b88b79c6 update ublox, game15, uart terminal, intervalometer, seader
99478f29d combine 1
0d7216b28 move base pack here
REVERT: 99ff14a4b Add more baud rates
REVERT: 3b57cf05a Set console scroll on end
REVERT: 93a293c21 Merge pull request #12 from xMasterX/fix_crashes_on_rx
REVERT: fe484070a Fix crashes
REVERT: 6557a763e update README
REVERT: 51c6f8813 Improvement of sending AT commands
REVERT: d39aa4a8e test for LoRa
REVERT: 3f8887a90 Added AT commands support & keyboard modification for AT commands
REVERT: c260b473d Update README.md
REVERT: 00feb8734 Update README.md
REVERT: b80cefbd7 Update README.md
REVERT: df01b123a Update README.md
REVERT: 0ee7e0b36 Create LICENSE
REVERT: 2f22507fa Update README.md
REVERT: ab011d57e Update README.md
REVERT: 6116f87d5 Update README.md
REVERT: 6f938a538 keyboard modification, more symbols added
REVERT: 406e1b70c Update README.md
REVERT: 7dd9bb90e Update README.md
REVERT: e334fc688 Update README.md
REVERT: ab4742993 Update README.md
REVERT: 65cf4df44 Update README.md
REVERT: d67767d64 Update README.md
REVERT: 9e33a882d Update README.md
REVERT: e1286d8b3 Update README.md
REVERT: 14cc83109 Update README.md
REVERT: 7c53a45df Merge pull request #3 from cool4uma/dev
REVERT: 0517b2d6c Merge branch 'main' into dev
REVERT: 578d2f0f3 Update README.md
REVERT: 0305017a5 Update README.md
REVERT: fafee0f89 add of the ability to change baudrate
REVERT: a2353669e add of the ability to change baudrate
REVERT: e5fa5ffda add of the ability to change baudrate
REVERT: 6519b50a6 add fast commands and minor improvements
REVERT: 6fe0df655 fixed uart_text_input.c for build in ufbt
REVERT: 982b2c87d Update README.md
REVERT: 054a0a43c Update README.md
REVERT: df751351a Update README.md
REVERT: 726f65cde Update README.md
REVERT: 4db3bb8a2 upload UART_Terminal to github
REVERT: fef45f254 add modification stock keyboard
REVERT: a906f0778 Update README.md
REVERT: e6daa91ec Update README.md
REVERT: 44fbf815b Update README.md
REVERT: c83ae33ff Initial commit

git-subtree-dir: uart_terminal
git-subtree-split: 28ce9ee400421635c0c8af4203f48e0392c1829c
Willy-JL 2 лет назад
Родитель
Сommit
bb800f7db8
9 измененных файлов с 13 добавлено и 13 удалено
  1. 5 0
      README-catalog.md
  2. 2 8
      README.md
  3. 4 2
      application.fam
  4. BIN
      img/1.png
  5. BIN
      img/2.png
  6. BIN
      img/3.png
  7. 0 1
      uart_terminal_app_i.h
  8. 1 1
      uart_terminal_uart.c
  9. 1 1
      uart_text_input.c

+ 5 - 0
README-catalog.md

@@ -0,0 +1,5 @@
+The UART Terminal application allows you to use UART (Universal Asynchronous Receiver-Transmitter) even without a computer, only with your Flipper Zero:
+
+1. On your Flipper Zero, run the UART Terminal app.
+2. Connect your Flipper Zero to a device that uses the UART  protocol for communication.
+3. Select the desired communication frequency. After that, you can start reading and writing data directly from the application.

+ 2 - 8
README.md

@@ -1,4 +1,4 @@
-# UART Terminal for Flipper Zero
+# UART Terminal for Flipper Zero 
 [Flipper Zero](https://flipperzero.one/) app to control various devices via UART interface.
 [Flipper Zero](https://flipperzero.one/) app to control various devices via UART interface.
 ## Download fap
 ## Download fap
 | **FW Official** | **FW Unleashed** |
 | **FW Official** | **FW Unleashed** |
@@ -8,7 +8,6 @@
 ## Capabilities
 ## Capabilities
 - Read log and command output by uart
 - Read log and command output by uart
 - Send commands by uart
 - Send commands by uart
-- Send AT commands
 - Set baud rate
 - Set baud rate
 - Fast commands
 - Fast commands
 
 
@@ -28,18 +27,12 @@ To accommodate more characters on a small display, some characters are called up
 
 
 ![kbf](https://user-images.githubusercontent.com/122148894/212286637-7063f1ee-c6ff-46b9-8dc5-79a5f367fab1.png)
 ![kbf](https://user-images.githubusercontent.com/122148894/212286637-7063f1ee-c6ff-46b9-8dc5-79a5f367fab1.png)
 
 
-## Supported send AT commands
-In the "Send AT command" mode, the keyboard settings are changed for the convenience of entering AT commands.
-
-![AT](https://user-images.githubusercontent.com/122148894/230785072-319fe5c9-deca-49f9-bfe4-5ace89d38d53.png)
-
 
 
 ## How to install
 ## How to install
 Copy the contents of the repository to the applications_user/uart_terminal folder Flipper Zero firmware and build app with the command ./fbt fap_uart_terminal.
 Copy the contents of the repository to the applications_user/uart_terminal folder Flipper Zero firmware and build app with the command ./fbt fap_uart_terminal.
 
 
 Or use the tool [uFBT](https://github.com/flipperdevices/flipperzero-ufbt) for building applications for Flipper Zero.
 Or use the tool [uFBT](https://github.com/flipperdevices/flipperzero-ufbt) for building applications for Flipper Zero.
 
 
-Download ready [fap](https://github.com/playmean/fap-list)
 
 
 ## How it works
 ## How it works
 
 
@@ -50,6 +43,7 @@ Download ready [fap](https://github.com/playmean/fap-list)
 ![2f](https://user-images.githubusercontent.com/122148894/211161456-4d2be15b-4a05-4450-a62e-edcaab3772fd.jpg)
 ![2f](https://user-images.githubusercontent.com/122148894/211161456-4d2be15b-4a05-4450-a62e-edcaab3772fd.jpg)
 
 
 
 
+![4f](https://user-images.githubusercontent.com/122148894/211161461-4507120b-42df-441f-9e01-e4517aa83537.jpg)
 
 
 ## INFO:
 ## INFO:
 
 

+ 4 - 2
application.fam

@@ -1,13 +1,15 @@
 App(
 App(
     appid="uart_terminal",
     appid="uart_terminal",
-    name="UART_Terminal",
+    name="UART Terminal",
     apptype=FlipperAppType.EXTERNAL,
     apptype=FlipperAppType.EXTERNAL,
     entry_point="uart_terminal_app",
     entry_point="uart_terminal_app",
-    cdefines=["APP_UART_TERMINAL"],
     requires=["gui"],
     requires=["gui"],
     stack_size=1 * 1024,
     stack_size=1 * 1024,
     order=90,
     order=90,
     fap_icon="uart_terminal.png",
     fap_icon="uart_terminal.png",
     fap_category="GPIO",
     fap_category="GPIO",
     fap_icon_assets="assets",
     fap_icon_assets="assets",
+    fap_author="@cool4uma & (some fixes by @xMasterX)",
+    fap_version="1.2",
+    fap_description="Control various devices via the Flipper Zero UART interface.",
 )
 )




+ 0 - 1
uart_terminal_app_i.h

@@ -18,7 +18,6 @@
 #define UART_TERMINAL_TEXT_INPUT_STORE_SIZE (512)
 #define UART_TERMINAL_TEXT_INPUT_STORE_SIZE (512)
 #define UART_CH (FuriHalUartIdUSART1)
 #define UART_CH (FuriHalUartIdUSART1)
 
 
-
 struct UART_TerminalApp {
 struct UART_TerminalApp {
     Gui* gui;
     Gui* gui;
     ViewDispatcher* view_dispatcher;
     ViewDispatcher* view_dispatcher;

+ 1 - 1
uart_terminal_uart.c

@@ -94,4 +94,4 @@ void uart_terminal_uart_free(UART_TerminalUart* uart) {
     furi_hal_console_enable();
     furi_hal_console_enable();
 
 
     free(uart);
     free(uart);
-}
+}

+ 1 - 1
uart_text_input.c

@@ -418,7 +418,7 @@ static void uart_text_input_handle_ok(
     }
     }
 
 
     if(shift) {
     if(shift) {
-        if (0 == strcmp(model->header, mode_AT)){
+        if(0 == strcmp(model->header, mode_AT)) {
             selected = char_to_lowercase(selected);
             selected = char_to_lowercase(selected);
         } else {
         } else {
             selected = char_to_uppercase(selected);
             selected = char_to_uppercase(selected);