version 1.1.1.1.2.8, 2011/11/21 14:40:56
|
version 1.1.1.1.2.9, 2011/11/21 14:51:23
|
Line 218 int mqtt_msgCONNACK(mqtt_msg_t * __restrict buf, unsig
|
Line 218 int mqtt_msgCONNACK(mqtt_msg_t * __restrict buf, unsig
|
* @msgID = MessageID >0, if QOS != MQTT_QOS_ONCE |
* @msgID = MessageID >0, if QOS != MQTT_QOS_ONCE |
* @Dup = Duplicate message |
* @Dup = Duplicate message |
* @QOS = QoS |
* @QOS = QoS |
* @Retain = Retain message |
|
* return: -1 error or >-1 message size for send |
* return: -1 error or >-1 message size for send |
*/ |
*/ |
int mqtt_msgPUBLISH(mqtt_msg_t * __restrict buf, const char *csTopic, unsigned short msgID, | int mqtt_msgPUBLISH(mqtt_msg_t * __restrict buf, const char *csTopic, |
unsigned char Dup, unsigned char QOS, unsigned char Retain); | unsigned short msgID, unsigned char Dup, unsigned char QOS); |
/* |
/* |
* mqtt_msgPUBACK() Create PUBACK message |
* mqtt_msgPUBACK() Create PUBACK message |
* |
* |