物联网操作系统AliOS Things 3.3 |
#include <mbmaster.h>
成员变量 | |
| uint8_t | used |
| uint8_t | slave_addr |
| uint8_t | mode |
| uint8_t | mb_frame_buff [ADU_BUF_MAX_LENGTH] |
| uint8_t | pdu_offset |
| uint8_t | pdu_length |
| uint32_t | mb_frame_length |
| uint32_t | respond_timeout |
| frame_send_func_t | frame_send |
| frame_recv_func_t | frame_recv |
| adu_assemble_func_t | adu_assemble |
| adu_disassemble_func_t | adu_disassemble |
| MB_MUTEX_T | mb_mutex |
| void * | private |
在文件 mbmaster.h 第 70 行定义.
| adu_assemble_func_t adu_assemble |
The callback funciton to assemble frame at ADU layer
在文件 mbmaster.h 第 84 行定义.
| adu_disassemble_func_t adu_disassemble |
The callback funciton to disassemble frame at ADU layer
在文件 mbmaster.h 第 85 行定义.
| frame_recv_func_t frame_recv |
The callback funciton to receive the frame
在文件 mbmaster.h 第 83 行定义.
| frame_send_func_t frame_send |
The callback funciton to send the frame
在文件 mbmaster.h 第 82 行定义.
| uint8_t mb_frame_buff[ADU_BUF_MAX_LENGTH] |
Buffer used to send and receive frame
在文件 mbmaster.h 第 75 行定义.
| uint32_t mb_frame_length |
The length of the whole frame
在文件 mbmaster.h 第 78 行定义.
| MB_MUTEX_T mb_mutex |
在文件 mbmaster.h 第 87 行定义.
| uint8_t mode |
在文件 mbmaster.h 第 73 行定义.
| uint8_t pdu_length |
length of the pdu on mb_frame_buff[]
在文件 mbmaster.h 第 77 行定义.
| uint8_t pdu_offset |
Offset of the pdu on mb_frame_buff[]
在文件 mbmaster.h 第 76 行定义.
| void* private |
在文件 mbmaster.h 第 89 行定义.
| uint32_t respond_timeout |
在文件 mbmaster.h 第 80 行定义.
| uint8_t slave_addr |
在文件 mbmaster.h 第 72 行定义.
| uint8_t used |
The value is 1 when used
在文件 mbmaster.h 第 71 行定义.