version 1.1.1.1.2.11, 2012/04/27 08:12:30
|
version 1.1.1.1.2.13, 2012/04/27 15:49:07
|
Line 508 int mqtt_readPINGRESP(mqtt_msg_t * __restrict buf);
|
Line 508 int mqtt_readPINGRESP(mqtt_msg_t * __restrict buf);
|
* @topicLen = Topic length |
* @topicLen = Topic length |
* @msgID = MessageID |
* @msgID = MessageID |
* @pData = Data buffer |
* @pData = Data buffer |
* @datLen = Data buffer length, if *datLen == 0 allocate memory for pData | * return: -1 error or !=-1 allocated data buffer length |
* return: NULL error or !=NULL MQTT fixed header | |
*/ |
*/ |
struct mqtthdr *mqtt_readPUBLISH(mqtt_msg_t * __restrict buf, char * __restrict psTopic, | int mqtt_readPUBLISH(mqtt_msg_t * __restrict buf, char * __restrict psTopic, |
int topicLen, unsigned short *msgID, void * __restrict pData, int *datLen); | int topicLen, unsigned short *msgID, void ** __restrict pData); |
/* |
/* |
* mqtt_readPUBACK() Read PUBACK message |
* mqtt_readPUBACK() Read PUBACK message |
* |
* |