bug: change PTYPEs to avoid clash with bootloader

ertm bootloader interprets
which is
as a very destructive command, which has consequences when cmds are
accidentally sent while the board is in bootloader mode.

This takes care to avoid this kind of collision and the ensuing
deletion of firmware/bricking of the board.
Signed-off-by: Juan David González Cobas's avatarJuan David Gonzalez Cobas <dcobas@cern.ch>
Reported-by: 's avatarTomasz Wlostowski <twlostow@cern.ch>
parent 142606c5
......@@ -61,9 +61,9 @@
#define ERTM14_MAX_UART_LINK_PAYLOAD 512
// UART Protocol packet types
#define ERTM14_UART_PTYPE_PING 1
#define ERTM14_UART_PTYPE_SNMP_REQ 2
#define ERTM14_UART_PTYPE_SNMP_RESP 3
#define ERTM14_UART_PTYPE_PING 101
#define ERTM14_UART_PTYPE_SNMP_REQ 102
#define ERTM14_UART_PTYPE_SNMP_RESP 103
#define ERTM14_UART_PTYPE_MMC_STATUS_REQ 4
#define ERTM14_UART_PTYPE_MMC_STATUS_RESP 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment