- AF8D8AEF6AF31A1E9B664ED49AA62785576DE0526849596269EC46EDE622C474756FB58AC151A26C93484913881AFDEDD3A069D4327CBC741D6F0C62FED9238D
+ 6E8E85BFAFE5928021EE613A17D9F7D1BEFE761771E1508141128BE52B52424D380199D14EC42A5B1256373030BC474F3568038DBB2B3DA034715A9D7B61C5D6
smg_comms/src/raw_types.ads
(16 . 6)(16 . 17)
612 -- all messages and packets are simply arrays of octets at low level/raw
613 type Octets is array( Natural range <> ) of Interfaces.Unsigned_8;
614
615 -- length of a text field (i.e. 16 bits, strictly > 0)
616 subtype Text_Len is Positive range 1..2**16-1;
617
618 -- "text" type has a 2-byte header with total length
619 -- Len here is length of actual content ONLY (i.e. it needs + 2 for total)
620 type Text_Octets( Len: Text_Len := 1 ) is
621 record
622 -- actual octets making up the "text"
623 Content: Octets( 1..Len ) := (others => 0);
624 end record;
625
626 -- constants from SMG.COMMS standard specification
627
628 -- RSA key size in octets