ace-doip 0.2.1

DoIP typed message and session layer implementing ISO 13400-2.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::error::DoipError;
use ace_macros::FrameCodec;
use ace_proto::doip::constants::DOIP_DIAG_COMMON_SOURCE_LEN;

#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, FrameCodec)]
#[frame(error = DoipError)]
pub struct AliveCheckRequest {}

#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, FrameCodec)]
#[frame(error = DoipError)]
pub struct AliveCheckResponse {
    pub source_address: [u8; DOIP_DIAG_COMMON_SOURCE_LEN],
}