version 1.1.1.1.2.12, 2012/04/27 15:15:12
|
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 data buffer | |
*/ |
*/ |
void *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 |
* |
* |