Searched refs:block_option (Results 1 – 2 of 2) sorted by relevance
773 int block_option; in handle_response() local905 block_option = coap_get_option_int(response, COAP_OPTION_BLOCK2); in handle_response()906 if (block_option > 0 || response_truncated) { in handle_response()908 last_block = response_truncated ? false : !GET_MORE(block_option); in handle_response()909 block_num = (block_option > 0) ? GET_BLOCK_NUM(block_option) : 0; in handle_response()
1091 const uint8_t block_option = 0b11001; in ZTEST() local1093 r = coap_append_option_int(&cpkt, COAP_OPTION_BLOCK2, block_option); in ZTEST()1122 zassert_equal(*opt.value, block_option, "Wrong option content"); in ZTEST()