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

Method decrypt_f_opts

lrwn/src/phy_payload.rs:835–840  ·  view source on GitHub ↗
(&mut self, nwk_s_enc_key: &AES128Key)

Source from the content-addressed store, hash-verified

833 /// This automatically calls decode_f_opts_to_mac_commands.
834 #[cfg(feature = "crypto")]
835 pub fn decrypt_f_opts(&mut self, nwk_s_enc_key: &AES128Key) -> Result<()> {
836 self.encrypt_f_opts(nwk_s_enc_key)?;
837 self.decode_f_opts_to_mac_commands()?;
838
839 Ok(())
840 }
841
842 /// Decode f_opts to mac-commands.
843 pub fn decode_f_opts_to_mac_commands(&mut self) -> Result<()> {

Callers 2

log_downlink_frameMethod · 0.80

Calls 2

encrypt_f_optsMethod · 0.80

Tested by

no test coverage detected