chg: lf psksim - uses NG

This commit is contained in:
iceman1001 2019-05-24 09:11:30 -04:00
commit 0d1438d156
8 changed files with 87 additions and 47 deletions

View file

@ -176,7 +176,7 @@ typedef struct {
uint8_t flags;
} PACKED t55xx_write_block_t;
// For CMD_FSK_SIM_TAG
// For CMD_FSK_SIM_TAG (FSK)
typedef struct {
uint8_t fchigh;
uint8_t fclow;
@ -185,7 +185,7 @@ typedef struct {
uint8_t data[];
} PACKED lf_fsksim_t;
// For CMD_ASK_SIM_TAG
// For CMD_ASK_SIM_TAG (ASK)
typedef struct {
uint8_t encoding;
uint8_t invert;
@ -194,6 +194,15 @@ typedef struct {
uint8_t data[];
} PACKED lf_asksim_t;
// For CMD_PSK_SIM_TAG (PSK)
typedef struct {
uint8_t carrier;
uint8_t invert;
uint8_t clock;
uint8_t data[];
} PACKED lf_psksim_t;
// For the bootloader
#define CMD_DEVICE_INFO 0x0000
#define CMD_SETUP_WRITE 0x0001