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, 9, "(SAC) System Area Code".to_string(), "sac".to_string(), AttributeType::UInt16),
            AsterixAttribute::new(2, 1,   8, 1, "(SIC) System Identification Code".to_string(),"sic".to_string(), AttributeType::UInt16)
            ]
        }
    };
}

pub(crate) use get_attributes;