version 1.1.1.1.2.8, 2011/11/21 14:40:56
|
version 1.1.1.1.2.11, 2011/11/21 15:27:26
|
Line 219 int mqtt_msgCONNACK(mqtt_msg_t * __restrict buf, unsig
|
Line 219 int mqtt_msgCONNACK(mqtt_msg_t * __restrict buf, unsig
|
* @Dup = Duplicate message |
* @Dup = Duplicate message |
* @QOS = QoS |
* @QOS = QoS |
* @Retain = Retain message |
* @Retain = Retain message |
|
* @pData = Publish data into topic |
|
* @datlen = Publish data length |
* 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 short msgID, |
unsigned char Dup, unsigned char QOS, unsigned char Retain); | unsigned char Dup, unsigned char QOS, unsigned char Retain, |
| const void *pData, unsigned short datlen); |
/* |
/* |
* mqtt_msgPUBACK() Create PUBACK message |
* mqtt_msgPUBACK() Create PUBACK message |
* |
* |