Skip to main content

prepare_write_request

Function prepare_write_request 

Source
pub fn prepare_write_request(handle: u16, offset: u16, value: &[u8]) -> Vec<u8> ⓘ
Expand description

A write with no response. The peer never acknowledges it, so there is nothing to wait for and nothing to learn if it is dropped. Prepare Write Request — one fragment of a value too long for one write.

The peer queues the fragment and echoes it back; nothing is applied until execute_write_request. offset is the position within the attribute, so the fragments together spell the whole value.