Searched refs:opt_num (Results 1 – 2 of 2) sorted by relevance
/third_party/libcoap/tests/ |
D | test_pdu.c | 721 uint8_t opt_num[] = { 50, 51, 52, 53, 54, 55, 56, 57, 58, 59 }; in t_encode_pdu12() local 731 for (n = 0; n < (int)sizeof(opt_num); n++) { in t_encode_pdu12() 732 coap_insert_optlist(&optlist, coap_new_optlist(opt_num[n], in t_encode_pdu12() 739 for (n = 0; n < (int)sizeof(opt_num); n++) { in t_encode_pdu12() 756 uint8_t opt_num[] = { 59, 58, 57, 56, 55, 54, 53, 52, 51, 50 }; in t_encode_pdu13() local 766 for (n = 0; n < (int)sizeof(opt_num); n++) { in t_encode_pdu13() 767 coap_insert_optlist(&optlist, coap_new_optlist(opt_num[n], in t_encode_pdu13() 774 for (n = 0; n < (int)sizeof(opt_num); n++) { in t_encode_pdu13() 791 uint8_t opt_num[] = { 53, 52, 51, 50, 51, 52, 52, 51, 50, 50 }; in t_encode_pdu14() local 801 for (n = 0; n < (int)sizeof(opt_num); n++) { in t_encode_pdu14() [all …]
|
/third_party/libcoap/src/ |
D | coap_net.c | 2374 coap_option_num_t opt_num = 0; /* used for calculating delta-storage */ in coap_new_error_response() local 2418 uint16_t delta = opt_iter.number - opt_num; in coap_new_error_response() 2443 opt_num = opt_iter.number; in coap_new_error_response()
|