mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 16:38:35 -07:00
NFC Maker tidy up buffers and rename scenes
This commit is contained in:
20
applications/external/nfc_maker/nfc_maker.h
vendored
20
applications/external/nfc_maker/nfc_maker.h
vendored
@@ -17,8 +17,12 @@
|
||||
#include <applications/main/nfc/nfc_i.h>
|
||||
#include <furi_hal_bt.h>
|
||||
|
||||
#define TEXT_INPUT_LEN 248
|
||||
#define WIFI_INPUT_LEN 90
|
||||
#define MAC_INPUT_LEN GAP_MAC_ADDR_SIZE
|
||||
#define MAIL_INPUT_LEN 128
|
||||
#define PHONE_INPUT_LEN 17
|
||||
|
||||
#define BIG_INPUT_LEN 248
|
||||
#define SMALL_INPUT_LEN 90
|
||||
|
||||
typedef enum {
|
||||
WifiAuthenticationOpen = 0x01,
|
||||
@@ -45,10 +49,14 @@ typedef struct {
|
||||
ByteInput* byte_input;
|
||||
Popup* popup;
|
||||
|
||||
uint8_t mac_buf[GAP_MAC_ADDR_SIZE];
|
||||
char text_buf[TEXT_INPUT_LEN];
|
||||
char pass_buf[WIFI_INPUT_LEN];
|
||||
char name_buf[TEXT_INPUT_LEN];
|
||||
uint8_t mac_buf[MAC_INPUT_LEN];
|
||||
char mail_buf[MAIL_INPUT_LEN];
|
||||
char phone_buf[PHONE_INPUT_LEN];
|
||||
|
||||
char big_buf[BIG_INPUT_LEN];
|
||||
char small_buf1[SMALL_INPUT_LEN];
|
||||
char small_buf2[SMALL_INPUT_LEN];
|
||||
char save_buf[BIG_INPUT_LEN];
|
||||
} NfcMaker;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user