Searched refs:obs_token (Results 1 – 3 of 3) sorted by relevance
432 coap_bin_const_t *otoken = lg_crcv->obs_token ? in coap_cancel_observe()433 lg_crcv->obs_token[0] ? in coap_cancel_observe()434 lg_crcv->obs_token[0] : in coap_cancel_observe()1902 tmp = coap_realloc_type(COAP_STRING, lg_crcv->obs_token, in track_fetch_observe()1903 (block_num + 1) * sizeof(lg_crcv->obs_token[0])); in track_fetch_observe()1906 lg_crcv->obs_token = tmp; in track_fetch_observe()1908 coap_delete_bin_const(lg_crcv->obs_token[block_num]); in track_fetch_observe()1911 lg_crcv->obs_token[block_num] = coap_new_bin_const(token->s, in track_fetch_observe()1913 if (lg_crcv->obs_token[block_num] == NULL) in track_fetch_observe()1918 if (lg_crcv->obs_token[block_num]) { in track_fetch_observe()[all …]
1322 if (pdu->code == COAP_REQUEST_CODE_FETCH && lg_crcv->obs_token && in coap_send()1323 lg_crcv->obs_token[0]) { in coap_send()1324 memcpy(buf, lg_crcv->obs_token[0]->s, lg_crcv->obs_token[0]->length); in coap_send()1325 len = lg_crcv->obs_token[0]->length; in coap_send()
163 coap_bin_const_t **obs_token; /**< Tokens used in setting up Observe member