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

Class MACPayload

lrwn/src/payload.rs:234–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232#[derive(PartialEq, Eq, Debug, Clone, Default)]
233#[cfg_attr(feature = "serde", derive(Serialize))]
234pub struct MACPayload {
235 pub fhdr: FHDR,
236 pub f_port: Option<u8>,
237 pub frm_payload: Option<FRMPayload>,
238}
239
240impl MACPayload {
241 pub fn from_slice(b: &[u8]) -> Result<Self> {

Callers 15

set_phy_payloadsMethod · 0.85
set_phy_payloadMethod · 0.85
test_device_sessionFunction · 0.85
test_lorawan_10Function · 0.85
test_fns_uplinkFunction · 0.85
test_sns_uplinkFunction · 0.85
test_sns_dev_not_foundFunction · 0.85
test_class_bFunction · 0.85

Calls

no outgoing calls

Tested by 15

test_device_sessionFunction · 0.68
test_lorawan_10Function · 0.68
test_fns_uplinkFunction · 0.68
test_sns_uplinkFunction · 0.68
test_sns_dev_not_foundFunction · 0.68
test_class_bFunction · 0.68
test_uplinkFunction · 0.68
test_lorawan_10Function · 0.68
test_handle_uplinkFunction · 0.68