Home
last modified time | relevance | path

Searched refs:optcount (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/linkkit/iot_coap/CoAPPacket/
A DCoAPMessage_common.c42 if (COAP_MSG_MAX_OPTION_NUM <= message->optcount) { in CoAPStrOption_add()
47 message->options[message->optcount].len = datalen; in CoAPStrOption_add()
54 message->options[message->optcount].val = ptr; in CoAPStrOption_add()
56 message->optcount++; in CoAPStrOption_add()
92 message->options[message->optcount].len = 0; in CoAPUintOption_add()
94 message->options[message->optcount].len = 1; in CoAPUintOption_add()
100 message->options[message->optcount].len = 2; in CoAPUintOption_add()
107 message->options[message->optcount].len = 4; in CoAPUintOption_add()
116 message->options[message->optcount].val = ptr; in CoAPUintOption_add()
118 message->optcount += 1; in CoAPUintOption_add()
[all …]
A DCoAPDeserialize_common.c107 msg->optcount = 0; in CoAPDeserialize_Options()
114 msg->optcount += 1; in CoAPDeserialize_Options()
A DCoAPSerialize_common.c94 for (i = 0; i < msg->optcount; i++) { in CoAPSerialize_Options()
134 for (i = 0; i < msg->optcount; i++) { in CoAPSerialize_OptionsLen()
/AliOS-Things-master/components/linkkit/iot_coap/
A Diotx_coap_internal.h211 unsigned char optcount; member
/AliOS-Things-master/components/linkkit/iot_coap/client/
A DCloud_CoAPMessage.c229 COAP_DEBUG("Option : %d", message.optcount); in Cloud_CoAPMessage_handle()
/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPMessage.c160 COAP_FLOW("Option : %d", message->optcount); in CoAPMessage_dump()
482 for (index = 0; index < message->optcount; index++) { in CoAPRequestMessage_handle()

Completed in 9 milliseconds