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

Update Readmes, added version to info screen

David Lee 1 год назад
Родитель
Сommit
925d739e74
6 измененных файлов с 22 добавлено и 3 удалено
  1. 9 2
      README.md
  2. 1 1
      application.fam
  3. 1 0
      docs/README.md
  4. 6 0
      docs/changelog.md
  5. 4 0
      views/xremote_infoscreen.c
  6. 1 0
      xremote_i.h

+ 9 - 2
README.md

@@ -30,9 +30,16 @@ Wouldn't it be nicer to simply click one button and let everything happen? This
 - Add pauses, becaue target systems are not always fast enough for multiple commands<br>
 - Run file containing chained IR & SubGhz commands<br>
 
+### Settings
+- LED FX, allow the LED to blink
+- Save settings, stores a file with your settings in it on exit
+- IR time ms, the default duration of an IR signal transmission. Individual times can be set
+- SubG. time ms, the default duration of a SubGhz signal. Only needed for Encoded signals, RAW files play until finished
+
 ### Limitations
-SubGhz commands will stop working if you move/rename/delete the original files on your Flipper. This is because 
-of how the Flippers SubGhz worker expects data. 
+SubGhz commands will stop working if you move/rename/delete the original files on your Flipper. This is because of how the Flippers SubGhz worker expects data. 
+
+After an upgrade a crash on exit can occur, due to small improvements to the file formats. Sorry about that, it only happens once. 
 
 ## How to install on Flipper Zero
 - If you do not have one, download a firmware<br>

+ 1 - 1
application.fam

@@ -6,7 +6,7 @@ App(
     stack_size=3 * 1024,
     fap_icon="icons/xremote_10px.png",
     fap_icon_assets="icons",
-    fap_version="2.3",
+    fap_version="2.4",
     fap_category="Infrared",
     fap_author="Leedave",
     fap_description="One-Click, sends multiple commands",

+ 1 - 0
docs/README.md

@@ -10,6 +10,7 @@ This app combines your IR and SubGhz commands into a playlist that can be run wi
 - Save your command chain / playlist to flipper
 - Disable LED effects if not wanted
 - Configure duration of IR Signals
+- Configure default duration of Encoded SubGhz Signals
 
 ## What good is this?
 

+ 6 - 0
docs/changelog.md

@@ -1,3 +1,9 @@
+## 2.4
+- Added support for encoded SubGhz files
+- Added timer for SubGhz transmission (not needed in RAW files)
+- Added version number to app info screen
+- Minor updates/instrutions in readme.md
+
 ## 2.3
 - Fixed Crash after creating chains with SubGhz Items
 

+ 4 - 0
views/xremote_infoscreen.c

@@ -23,6 +23,7 @@ void xremote_infoscreen_set_callback(
 
 void xremote_infoscreen_draw(Canvas* canvas, XRemoteInfoscreenModel* model) {
     UNUSED(model);
+    char buffer[64];
     canvas_clear(canvas);
     canvas_set_color(canvas, ColorBlack);
     canvas_set_font(canvas, FontPrimary);
@@ -30,6 +31,9 @@ void xremote_infoscreen_draw(Canvas* canvas, XRemoteInfoscreenModel* model) {
     canvas_set_font(canvas, FontSecondary);
     canvas_draw_str_aligned(canvas, 64, 22, AlignCenter, AlignTop, "Chain IR and SubGhz");
     canvas_draw_str_aligned(canvas, 64, 32, AlignCenter, AlignTop, "Commands");
+
+    snprintf(buffer, sizeof(buffer), "Version: %s", XREMOTE_VERSION);
+    canvas_draw_str_aligned(canvas, 64, 42, AlignCenter, AlignTop, buffer);
     elements_button_center(canvas, "Back");
 }
 

+ 1 - 0
xremote_i.h

@@ -53,6 +53,7 @@
 #define XREMOTE_TEXT_STORE_SIZE 128
 #define XREMOTE_MAX_ITEM_NAME_LENGTH 22
 #define XREMOTE_MAX_REMOTE_NAME_LENGTH 22
+#define XREMOTE_VERSION "2.4"
 
 #define INFRARED_APP_EXTENSION ".ir"
 #define INFRARED_APP_FOLDER ANY_PATH("infrared")