diff options
Diffstat (limited to 'src/stm32/can.h')
-rw-r--r-- | src/stm32/can.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/stm32/can.h b/src/stm32/can.h new file mode 100644 index 00000000..92429a26 --- /dev/null +++ b/src/stm32/can.h @@ -0,0 +1,13 @@ +#ifndef __STM32_CAN_H__ +#define __STM32_CAN_H__ + +// Read UUID (6bytes) +#define PKT_ID_UUID (0x321) +// Set address (2bytes) to UUID (6b) +#define PKT_ID_SET (0x322) +// UUID response from slave (6bytes) +#define PKT_ID_UUID_RESP (0x323) + +#define SHORT_UUID_LEN (6) + +#endif /* __STM32_CAN_H__*/ |