version 1.3, 2012/06/28 11:06:17
|
version 1.4, 2013/05/30 09:18:33
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 160 _mqtt_msgPUB_(mqtt_msg_t * __restrict buf, u_char cmd,
|
Line 160 _mqtt_msgPUB_(mqtt_msg_t * __restrict buf, u_char cmd,
|
* @msgID = MessageID |
* @msgID = MessageID |
* return: -1 error or >-1 message size for send |
* return: -1 error or >-1 message size for send |
*/ |
*/ |
inline int | int |
mqtt_msgPUBACK(mqtt_msg_t * __restrict buf, u_short msgID) |
mqtt_msgPUBACK(mqtt_msg_t * __restrict buf, u_short msgID) |
{ |
{ |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBACK, msgID); |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBACK, msgID); |
Line 173 mqtt_msgPUBACK(mqtt_msg_t * __restrict buf, u_short ms
|
Line 173 mqtt_msgPUBACK(mqtt_msg_t * __restrict buf, u_short ms
|
* @msgID = MessageID |
* @msgID = MessageID |
* return: -1 error or >-1 message size for send |
* return: -1 error or >-1 message size for send |
*/ |
*/ |
inline int | int |
mqtt_msgPUBREC(mqtt_msg_t * __restrict buf, u_short msgID) |
mqtt_msgPUBREC(mqtt_msg_t * __restrict buf, u_short msgID) |
{ |
{ |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBREC, msgID); |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBREC, msgID); |
Line 186 mqtt_msgPUBREC(mqtt_msg_t * __restrict buf, u_short ms
|
Line 186 mqtt_msgPUBREC(mqtt_msg_t * __restrict buf, u_short ms
|
* @msgID = MessageID |
* @msgID = MessageID |
* return: -1 error or >-1 message size for send |
* return: -1 error or >-1 message size for send |
*/ |
*/ |
inline int | int |
mqtt_msgPUBREL(mqtt_msg_t * __restrict buf, u_short msgID) |
mqtt_msgPUBREL(mqtt_msg_t * __restrict buf, u_short msgID) |
{ |
{ |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBREL, msgID); |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBREL, msgID); |
Line 199 mqtt_msgPUBREL(mqtt_msg_t * __restrict buf, u_short ms
|
Line 199 mqtt_msgPUBREL(mqtt_msg_t * __restrict buf, u_short ms
|
* @msgID = MessageID |
* @msgID = MessageID |
* return: -1 error or >-1 message size for send |
* return: -1 error or >-1 message size for send |
*/ |
*/ |
inline int | int |
mqtt_msgPUBCOMP(mqtt_msg_t * __restrict buf, u_short msgID) |
mqtt_msgPUBCOMP(mqtt_msg_t * __restrict buf, u_short msgID) |
{ |
{ |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBCOMP, msgID); |
return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBCOMP, msgID); |