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
//! SunSpec Test Model 2
/// SunSpec Test Model 2
#[derive(Debug)]
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct Model63002 {}
#[allow(missing_docs)]
impl Model63002 {}
impl crate::Model for Model63002 {
    const ID: u16 = 63002;
    fn from_data(#[allow(unused)] data: &[u16]) -> Result<Self, crate::DecodeError> {
        Ok(Self {})
    }
    fn addr(models: &crate::Models) -> crate::ModelAddr<Self> {
        models.m63002
    }
}