Searched refs:packettype (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/components/mqtt/MQTTPacket/ |
A D | MQTTFormat.c | 80 int MQTTStringFormat_ack(char* strbuf, int strbuflen, unsigned char packettype, unsigned char dup, … in MQTTStringFormat_ack() argument 82 …int strindex = snprintf(strbuf, strbuflen, "%s, packet id %d", MQTTPacket_names[packettype], packe… in MQTTStringFormat_ack() 155 unsigned char packettype, dup; in MQTTFormat_toClientString() local 157 if (MQTTDeserialize_ack(&packettype, &dup, &packetid, buf, buflen) == 1) in MQTTFormat_toClientString() 158 strindex = MQTTStringFormat_ack(strbuf, strbuflen, packettype, dup, packetid); in MQTTFormat_toClientString() 225 unsigned char packettype, dup; in MQTTFormat_toServerString() local 227 if (MQTTDeserialize_ack(&packettype, &dup, &packetid, buf, buflen) == 1) in MQTTFormat_toServerString() 228 strindex = MQTTStringFormat_ack(strbuf, strbuflen, packettype, dup, packetid); in MQTTFormat_toServerString()
|
A D | MQTTSerializePublish.c | 104 int MQTTSerialize_ack(unsigned char* buf, int buflen, unsigned char packettype, unsigned char dup, … in MQTTSerialize_ack() argument 116 header.bits.type = packettype; in MQTTSerialize_ack() 118 header.bits.qos = (packettype == PUBREL) ? 1 : 0; in MQTTSerialize_ack()
|
A D | MQTTDeserializePublish.c | 82 int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* packetid, un… in MQTTDeserialize_ack() argument 93 *packettype = header.bits.type; in MQTTDeserialize_ack()
|
A D | MQTTConnectClient.c | 169 int MQTTSerialize_zero(unsigned char* buf, int buflen, unsigned char packettype) in MQTTSerialize_zero() argument 182 header.bits.type = packettype; in MQTTSerialize_zero()
|
A D | MQTTFormat.h | 28 int MQTTStringFormat_ack(char* strbuf, int strbuflen, unsigned char packettype, unsigned char dup, …
|
A D | MQTTPacket.h | 98 DLLExport int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* pa…
|
/AliOS-Things-master/components/linkkit/mqtt/impl/ |
A D | MQTTSerializePublish.c | 106 int MQTTSerialize_ack(unsigned char *buf, int buflen, unsigned char packettype, in MQTTSerialize_ack() argument 117 MQTT_HEADER_SET_TYPE(header.byte, packettype); in MQTTSerialize_ack() 119 MQTT_HEADER_SET_QOS(header.byte, ((packettype == PUBREL) ? 1 : 0)); in MQTTSerialize_ack()
|
A D | MQTTDeserializePublish.c | 87 int MQTTDeserialize_ack(unsigned char *packettype, unsigned char *dup, in MQTTDeserialize_ack() argument 99 *packettype = MQTT_HEADER_GET_TYPE(header.byte); in MQTTDeserialize_ack()
|
A D | MQTTConnectClient.c | 175 int MQTTSerialize_zero(unsigned char *buf, int buflen, unsigned char packettype) in MQTTSerialize_zero() argument 186 MQTT_HEADER_SET_TYPE(header.byte, packettype); in MQTTSerialize_zero()
|
A D | MQTTPacket.h | 119 int MQTTDeserialize_ack(unsigned char *packettype, unsigned char *dup,
|
Completed in 9 milliseconds