feat: 完成通信帧从机应用层模板

This commit is contained in:
bmy
2024-02-23 22:25:47 +08:00
parent 3a4c25dc4d
commit 399ebeea1a
10 changed files with 87 additions and 10 deletions

View File

@@ -5,8 +5,13 @@
#if defined(BY_TF_DEVICE_SLAVE)
#define BY_TINY_FRAME_WRITE_CMD_CODE (0x03)
#include "by_tiny_frame_parse.h"
#define BY_TINY_FRAME_READ_CMD_CODE (0x03)
#define BY_TINY_FRAME_WRITE_CMD_CODE (0x06)
extern void by_tiny_frame_read_write_run(void);
extern void by_tiny_frame_read_write_handle(by_tf_parse_frame_t frame_s, uint8_t status);
#endif
#endif