diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-08-30 13:44:45 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-08-30 13:44:45 +0200 |
commit | d4885f39f5012f082e0ebbbf7c3aae385187facf (patch) | |
tree | 0bd8862f922b70565098d3cae90db2b00b1f6975 /code/esp32/components/eos/include/fe310.h | |
parent | 37a18889be8efa08c9e054014ca7058768b51a61 (diff) |
stub drivers added
Diffstat (limited to 'code/esp32/components/eos/include/fe310.h')
-rw-r--r-- | code/esp32/components/eos/include/fe310.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/code/esp32/components/eos/include/fe310.h b/code/esp32/components/eos/include/fe310.h index f4bc787..21b12dc 100644 --- a/code/esp32/components/eos/include/fe310.h +++ b/code/esp32/components/eos/include/fe310.h @@ -1,18 +1,19 @@ #include <stdint.h> -#define EOS_FE310_CMD_FLAG_ONEW 0x10 +#define EOS_FE310_CMD_FLAG_ONEW 0x10 -#define EOS_FE310_CMD_CONNECT 1 -#define EOS_FE310_CMD_DISCONNECT 2 -#define EOS_FE310_CMD_SCAN 3 -#define EOS_FE310_CMD_PKT 4 +#define EOS_FE310_CMD_WIFI_CONNECT 1 +#define EOS_FE310_CMD_WIFI_DISCONNECT 2 +#define EOS_FE310_CMD_WIFI_SCAN 3 +#define EOS_FE310_CMD_WIFI_PKT 4 +#define EOS_FE310_CMD_MODEM_DATA 5 +#define EOS_FE310_CMD_MODEM_CALL 6 -#define EOS_FE310_MAX_CMD 8 -#define EOS_FE310_SIZE_Q 64 -#define EOS_FE310_SIZE_BUF 2048 +#define EOS_FE310_MAX_CMD 8 +#define EOS_FE310_SIZE_Q 64 +#define EOS_FE310_SIZE_BUF 2048 typedef void (*eos_fe310_fptr_t) (unsigned char, unsigned char *, uint16_t); void eos_fe310_init(void); int eos_fe310_send(unsigned char cmd, unsigned char *buffer, uint16_t len); -void eos_fe310_set_handler(unsigned char cmd, eos_fe310_fptr_t handler); |