data service message structure type More...
#include <data_service.h>
Data Fields | |
uint16_t | src_cid |
uint16_t | dst_cid |
uint16_t | msg_id |
uint16_t | len |
uint32_t | no_free: 1 |
uint32_t | reserved: 31 |
uint8_t | body [(12)] |
data service message structure type
uint8_t data_msg_t::body[(12)] |
Saving whole short msg body, which length <= SHORT_DATA_MSG_BODY_THRESHOLD. For long msg body which length > SHORT_DATA_MSG_BODY_THRESHOLD, we'll allocate a memroy from heap and save a pointer here.
uint16_t data_msg_t::len |
Parameter length
uint16_t data_msg_t::msg_id |
Message ID, see MSG_SERVICE_XXX
uint32_t data_msg_t::no_free |
1: no need to free memory of long msg, 0: need to free memory of long msg