Searched refs:coap_fixed_point_t (Results 1 – 6 of 6) sorted by relevance
/third_party/libcoap/include/coap3/ |
D | coap_session.h | 30 typedef struct coap_fixed_point_t { struct 34 } coap_fixed_point_t; typedef 458 #define COAP_DEFAULT_ACK_TIMEOUT ((coap_fixed_point_t){2,0}) 467 #define COAP_DEFAULT_ACK_RANDOM_FACTOR ((coap_fixed_point_t){1,500}) 492 #define COAP_DEFAULT_DEFAULT_LEISURE ((coap_fixed_point_t){5,0}) 527 #define COAP_DEFAULT_NON_TIMEOUT ((coap_fixed_point_t){2,0}) 536 #define COAP_DEFAULT_NON_RECEIVE_TIMEOUT ((coap_fixed_point_t){4,0}) 556 coap_fixed_point_t value); 569 coap_fixed_point_t coap_session_get_ack_timeout(const coap_session_t *session); 583 coap_fixed_point_t value); [all …]
|
D | coap_session_internal.h | 146 coap_fixed_point_t ack_timeout; /**< timeout waiting for ack 148 coap_fixed_point_t ack_random_factor; /**< ack random factor backoff (default 154 coap_fixed_point_t default_leisure; /**< Mcast leisure time 163 coap_fixed_point_t non_timeout; /**< Q-BlockX timeout waiting for response 165 coap_fixed_point_t non_receive_timeout; /**< Q-BlockX receive timeout before 168 coap_fixed_point_t non_probing_wait_base; /**< Q-BlockX max wait time base 171 coap_fixed_point_t non_partial_timeout; /**< Q-BlockX time to wait before 231 coap_fixed_point_t coap_multi_fixed_fixed(coap_fixed_point_t fp1, 232 coap_fixed_point_t fp2); 234 coap_fixed_point_t coap_multi_fixed_uint(coap_fixed_point_t fp1, [all …]
|
/third_party/libcoap/tests/ |
D | test_session.c | 35 fpeq(const coap_fixed_point_t a, const coap_fixed_point_t b) { in fpeq() 63 fp_to_double(const coap_fixed_point_t fp) { in fp_to_double() 81 timeout(const coap_fixed_point_t ack_timeout, in timeout() 82 const coap_fixed_point_t ack_random_factor, in timeout() 102 const coap_fixed_point_t ato = COAP_DEFAULT_ACK_TIMEOUT; in t_session3() 103 const coap_fixed_point_t arf = COAP_DEFAULT_ACK_RANDOM_FACTOR; in t_session3() 116 const coap_fixed_point_t ato = {8,300}; in t_session4() 117 const coap_fixed_point_t arf = {2,011}; in t_session4()
|
/third_party/libcoap/src/ |
D | coap_session.c | 160 coap_fixed_point_t 161 coap_multi_fixed_fixed(coap_fixed_point_t fp1, coap_fixed_point_t fp2) { in coap_multi_fixed_fixed() 162 coap_fixed_point_t res; in coap_multi_fixed_fixed() 170 coap_fixed_point_t 171 coap_multi_fixed_uint(coap_fixed_point_t fp1, uint32_t u2) { in coap_multi_fixed_uint() 172 coap_fixed_point_t res; in coap_multi_fixed_uint() 180 coap_fixed_point_t 181 coap_add_fixed_fixed(coap_fixed_point_t fp1, coap_fixed_point_t fp2) { in coap_add_fixed_fixed() 182 coap_fixed_point_t res; in coap_add_fixed_fixed() 190 coap_fixed_point_t [all …]
|
D | coap_net.c | 892 #define FP1 Q(FRAC_BITS, ((coap_fixed_point_t){1,0})) in coap_calc_timeout()
|
/third_party/libcoap/man/ |
D | coap_recovery.txt.in | 42 coap_fixed_point_t _value_)*; 44 *coap_fixed_point_t coap_session_get_ack_random_factor( 48 coap_fixed_point_t _value_)*; 50 *coap_fixed_point_t coap_session_get_ack_timeout( 54 coap_fixed_point_t _value_)*; 56 *coap_fixed_point_t coap_session_get_default_leisure( 75 coap_fixed_point_t _value_)*; 77 *coap_fixed_point_t coap_session_get_non_receive_timeout( 81 coap_fixed_point_t _value_)*; 83 *coap_fixed_point_t coap_session_get_non_timeout( [all …]
|