pub const fn version_read() -> (u16, usize)Expand description
Asks the radio which patch it is running.
§Returns
The address to read from, and how many bytes the read moves. The string arrives after the
address and the byte the radio answers over, which is what version accounts for.
§Examples
use pamoja_radios::sx1302::sx1261::{version_read, VERSION_TRANSFER};
let (address, length) = version_read();
assert_eq!(address, 0x0320);
assert_eq!(length, VERSION_TRANSFER);