forked from Derrick45/modbus-host
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mb_hook.c
52 lines (38 loc) · 1.01 KB
/
mb_hook.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
******************************************************************************
* @file mb_hook.c
* @author Derrick Wang
* @brief modebus回调函数接口
******************************************************************************
* @note
* 针对modbus的回调处理,请再该文件中添加
******************************************************************************
*/
#include "mb_include.h"
void mbh_hook_rec01(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec02(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec03(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec04(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec05(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec06(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec15(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_rec16(uint8_t add,uint8_t *data,uint8_t datalen)
{
}
void mbh_hook_timesErr(uint8_t add,uint8_t cmd)
{
}