MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / encode

Method encode

lrwn/src/maccommand.rs:819–821  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

817 }
818
819 fn encode(&self) -> Result<Vec<u8>> {
820 Ok(vec![self.dev_lorawan_version.to_u8()])
821 }
822}
823
824#[derive(Debug, PartialEq, Eq, Clone)]

Callers 1

to_vecMethod · 0.45

Calls 5

encode_freqFunction · 0.85
to_bytesMethod · 0.45
to_u8Method · 0.45
to_le_bytesMethod · 0.45
to_vecMethod · 0.45

Tested by

no test coverage detected