genie_model_msg_t struct
p_elem: pointer to the element which the messsage want to be sent to retry: retry counts before desired confirm message received * fill negative value if retransmission is not necessary * fill positive value if retransmission is needed * * will be round in this scope - [GENIE_MODEL_MSG_DFT_RETRY_TIMES, GENIE_MODEL_MSG_MAX_RETRY_TIMES] retry_period: wait for retry_period before retransmit the message, in unit of ms opid: hightest byte in Opcode defined in the vendor model spec designed by Alibaba IoT Group * e.g. for Vendor Message Attr Get message, Opcode is 0xD001A8, corresponding opid is 0xD0 * refer to the marco named VENDOR_OP_ATTR_xxxx tid: * if the message is with type of GENIE_OP_ATTR_CONFIME or GENIE_OP_ATTR_CONFIME_TG, * tid should be filled with the replied message's tid len: payload length data: pointer to the genie vendor message's payload
Fields