asterix_parser 0.1.1

Playground do Protocolo ASTERIX
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
macro_rules! get_attributes {
    () => {
        {
            use crate::asterix::uap::common::datatypes::{AsterixAttribute, AttributeType}; 
            vec![
                AsterixAttribute::new(2, 1, 16, 1, "X-Component".to_string(), "x".to_string(), AttributeType::UInt16),
                AsterixAttribute::new(2, 2, 16, 1, "Y-Component".to_string(),"y".to_string(), AttributeType::UInt16)
            ]
        }
    };
}

pub(crate) use get_attributes;