(&self)
| 1056 | } |
| 1057 | |
| 1058 | fn check_for_first_uplink(&self) -> Result<(), Error> { |
| 1059 | trace!("Checking if device has sent its first uplink already"); |
| 1060 | self.device.get_device_session().map_err(|_| Error::Abort)?; |
| 1061 | |
| 1062 | if self.device.f_cnt_up == 0 { |
| 1063 | debug!("Device must send its first uplink first"); |
| 1064 | return Err(Error::Abort); |
| 1065 | } |
| 1066 | |
| 1067 | Ok(()) |
| 1068 | } |
| 1069 | |
| 1070 | fn set_immediately(&mut self) -> Result<()> { |
| 1071 | trace!("Setting immediately flag"); |
no test coverage detected