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

Method update_device

chirpstack/src/downlink/data.rs:1076–1089  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1074 }
1075
1076 async fn update_device(&self) -> Result<()> {
1077 trace!("Updating device");
1078
1079 device::partial_update(
1080 self.device.dev_eui,
1081 &device::DeviceChangeset {
1082 device_session: Some(self.device.device_session.clone()),
1083 ..Default::default()
1084 },
1085 )
1086 .await?;
1087
1088 Ok(())
1089 }
1090
1091 async fn send_downlink_frame_passive_roaming(&self) -> Result<()> {
1092 trace!("Sending downlink-frame using passive-roaming");

Callers 2

_handle_responseMethod · 0.45

Calls 1

partial_updateFunction · 0.50

Tested by

no test coverage detected