Home
last modified time | relevance | path

Searched refs:packettype (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/mqtt/MQTTPacket/
A DMQTTFormat.c80 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 DMQTTSerializePublish.c104 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 DMQTTDeserializePublish.c82 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 DMQTTConnectClient.c169 int MQTTSerialize_zero(unsigned char* buf, int buflen, unsigned char packettype) in MQTTSerialize_zero() argument
182 header.bits.type = packettype; in MQTTSerialize_zero()
A DMQTTFormat.h28 int MQTTStringFormat_ack(char* strbuf, int strbuflen, unsigned char packettype, unsigned char dup, …
A DMQTTPacket.h98 DLLExport int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* pa…
/AliOS-Things-master/components/linkkit/mqtt/impl/
A DMQTTSerializePublish.c106 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 DMQTTDeserializePublish.c87 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 DMQTTConnectClient.c175 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 DMQTTPacket.h119 int MQTTDeserialize_ack(unsigned char *packettype, unsigned char *dup,

Completed in 9 milliseconds