瀏覽代碼

NFC Maker: Init app catalog

Willy-JL 1 年之前
父節點
當前提交
261262b246
共有 7 個文件被更改,包括 24 次插入2 次删除
  1. 二進制
      nfc_maker/.catalog/1.png
  2. 二進制
      nfc_maker/.catalog/2.png
  3. 二進制
      nfc_maker/.catalog/3.png
  4. 2 0
      nfc_maker/.catalog/CHANGELOG.md
  5. 20 0
      nfc_maker/.catalog/README.md
  6. 1 1
      nfc_maker/application.fam
  7. 1 1
      nfc_maker/dropin/text_input.c

二進制
nfc_maker/.catalog/1.png


二進制
nfc_maker/.catalog/2.png


二進制
nfc_maker/.catalog/3.png


+ 2 - 0
nfc_maker/.catalog/CHANGELOG.md

@@ -0,0 +1,2 @@
+v1.2:
+Initial release on app catalog

+ 20 - 0
nfc_maker/.catalog/README.md

@@ -0,0 +1,20 @@
+NFC Maker generates Flipper NFC (.nfc) files containing NDEF formatted data of various types.
+
+After saving in NFC Maker, you can find and emulate the file in NFC app > Saved.
+
+Supported data types:
+  - Bluetooth MAC
+  - Contact Vcard
+  - HTTPS Link
+  - Mail Address
+  - Text Note
+  - Plain URL
+  - WiFi Login
+
+Supported tag types:
+  - NTAG203
+  - NTAG213
+  - NTAG215
+  - NTAG216
+  - NTAG I2C 1K
+  - NTAG I2C 2K

+ 1 - 1
nfc_maker/application.fam

@@ -8,7 +8,7 @@ App(
     fap_category="NFC",
     fap_author="@Willy-JL",
     fap_weburl="https://github.com/Next-Flip/Momentum-Apps/tree/dev/nfc_maker",
-    fap_version="1.1",
+    fap_version="1.2",
     fap_description="Create NFC files for BT MACs, Contacts, Links, Emails, Phones, Text and WiFis",
     fap_icon_assets="icons",
     fap_libs=["assets"],

+ 1 - 1
nfc_maker/dropin/text_input.c

@@ -337,7 +337,7 @@ static void text_input_view_draw_callback(Canvas* canvas, void* _model) {
         while(len && canvas_string_width(canvas, str) > needed_string_width) {
             str[len--] = '\0';
         }
-        strcat(str, "...");
+        strlcat(str, "...", sizeof(buf) - (str - buf));
     }
 
     canvas_draw_str(canvas, start_pos, 22, str);