Exportable version of WizziLab's modem driver.
Diff: include/cup.h
- Revision:
- 37:f5424d109c6d
- Parent:
- 35:ac940cf8ebe6
- Child:
- 52:cce5347a94af
diff -r ac940cf8ebe6 -r f5424d109c6d include/cup.h --- a/include/cup.h Thu Sep 06 10:41:51 2018 +0000 +++ b/include/cup.h Thu Oct 04 09:36:44 2018 +0000 @@ -17,8 +17,14 @@ // Delay between a (Valid) START and actual reboot. // Should let enough time for responding to the guy that started the CUP. #define CUP_REBOOT_DELAY 600 + +// Delay for interface response. +// Should let enough time for responding to the guy that issued the command. +#define CUP_RESP_DELAY 100 + // CUP Command Codes #define CUP_CMD_UPGRADE_UPLOAD 0x10AD +#define CUP_CMD_UPGRADE_UPLOAD_ALT 0x10AC #define CUP_CMD_UPGRADE_START 0xC0D5 #define CUP_CMD_UPGRADE_CONFIRMED 0xC0DC #define CUP_CMD_UPGRADE_DONE 0xC0DD