sunspec 0.8.0

SunSpec 1.1 compliant library with tokio support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Inclinometer Model
/// Inclinometer Model
///
/// Include to support orientation measurements
#[derive(Debug)]
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct Model304 {}
#[allow(missing_docs)]
impl Model304 {}
impl crate::Model for Model304 {
    const ID: u16 = 304;
    fn from_data(#[allow(unused)] data: &[u16]) -> Result<Self, crate::DecodeError> {
        Ok(Self {})
    }
    fn addr(models: &crate::Models) -> crate::ModelAddr<Self> {
        models.m304
    }
}