aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 6a9d858a6ab52d18ac1f924ce15651f7b6118969 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![no_std]

#[derive(
    Debug, Clone, PartialEq, PartialOrd, molybdos::serde::Serialize, molybdos::serde::Deserialize,
)]
pub enum Uplink {
    Ping,
}

#[derive(
    Debug, Clone, PartialEq, PartialOrd, molybdos::serde::Serialize, molybdos::serde::Deserialize,
)]
pub enum Downlink {
    Pong,
    PDM(molybdos::heapless::Vec<u8, 48>),
}