build_write_command

Function build_write_command 

Source
pub fn build_write_command(page: u16, data: &[u8; 256]) -> Vec<u8> 
Expand description

Build a binary write command for a given page address with 256-byte data.

Format: W + 2-byte big-endian page + 0x00 0x00 + 256-byte data = 261 bytes.

The radio responds with a single ACK byte (0x06) on success.