Searched refs:optcount (Results 1 – 6 of 6) sorted by relevance
42 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 …]
107 msg->optcount = 0; in CoAPDeserialize_Options()114 msg->optcount += 1; in CoAPDeserialize_Options()
94 for (i = 0; i < msg->optcount; i++) { in CoAPSerialize_Options()134 for (i = 0; i < msg->optcount; i++) { in CoAPSerialize_OptionsLen()
211 unsigned char optcount; member
229 COAP_DEBUG("Option : %d", message.optcount); in Cloud_CoAPMessage_handle()
160 COAP_FLOW("Option : %d", message->optcount); in CoAPMessage_dump()482 for (index = 0; index < message->optcount; index++) { in CoAPRequestMessage_handle()
Completed in 9 milliseconds