q931iefmt.hpp
来自「ABis无线接口全套资料」· HPP 代码 · 共 1,125 行 · 第 1/3 页
HPP
1,125 行
UINT8 Mtdv2 : 7; // byte 5b,Maximum transit delay value (cont.) UINT8 b5bext : 1; // byte 5b,default 1 };}; struct SQ931InformationRate { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 iir : 5; // byte 3,Incoming information rate UINT8 spare1 : 2; // byte 3,default 00 UINT8 b3ext : 1; // byte 3,default 1 UINT8 oir : 5; // byte 4,Outgoing information rate UINT8 spare2 : 2; // byte 4,default 00 UINT8 b4ext : 1; // byte 4,default 1 UINT8 miir : 5; // byte 5,Minimum incoming information rate UINT8 spare3 : 2; // byte 5,default 00 UINT8 b5ext : 1; // byte 5,default 1 UINT8 moinr : 5; // byte 6,Minimum outgoing information rate UINT8 spare4 : 2; // byte 6,default 00 UINT8 b6ext : 1; // byte 6,default 1 }; struct SQ931PacketLayerBinaryParameters { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 Modulus : 1; // byte 3,Modulus UINT8 dc : 1; // byte 3,Delivery conf UINT8 ed : 1; // byte 3,Exp data UINT8 fs : 2; // byte 3,Fast selected UINT8 spare : 2; // byte 3,default 00 UINT8 b3ext : 1; // byte 3,fefault 1}; struct SQ931PacketLayerWindowSize { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 fv : 7; // byte 3,Forward value UINT8 b3ext : 1; // byte 3,default 1 UINT8 bv : 7; // byte 4,Backward value UINT8 b4ext : 1; // byte 4,default 1}; struct SQ931PacketSize { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 fv : 7; // byte 3,Forward value UINT8 b3ext : 1; // byte 3,default 1 UINT8 bv : 7; // byte 4,Backward value UINT8 b4ext : 1; // byte 4,default 1 }; struct SQ931RedirectingNumber // Not include byte 3a and 3b.{ UINT8 npi : 4; // byte 3,Numbering plan identification UINT8 type : 3; // byte 3,Type of number UINT8 b3ext : 1; // byte 3,0/1 ext char digits[MAX_DIGITS];};struct SQ931RedirectingNumber3a // Include byte 3a not include byte 3b.{ UINT8 npi : 4; // byte 3,Numbering plan identification UINT8 type : 3; // byte 3,Type of number UINT8 b3ext : 1; // byte 3,0/1 ext UINT8 si : 2; // byte 3a ,Screening indicator UINT8 spare1 : 3; // byte 3a ,default 000 UINT8 pi : 2; // byte 3a ,Presentation indicator UINT8 b3aext : 1; // byte 3a ,0/1 ext char digits[MAX_DIGITS];};struct SQ931RedirectingNumber3a3b // Include byte 3a and 3b.{ // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 npi : 4; // byte 3,Numbering plan identification UINT8 type : 3; // byte 3,Type of number UINT8 b3ext : 1; // byte 3,0/1 ext UINT8 si : 2; // byte 3a ,Screening indicator UINT8 spare1 : 3; // byte 3a ,default 000 UINT8 pi : 2; // byte 3a ,Presentation indicator UINT8 b3aext : 1; // byte 3a ,0/1 ext UINT8 rfr : 4; // byte 3b ,Reason for redirection UINT8 spare2 : 3; // byte 3b ,defaulr 000 UINT8 b3bext : 1; // byte 3b ,default 1 // UINT8 nd : 7; // byte 4,Number digits (IA5 characters) // UINT8 spare3 : 1; // byte 4,default 0 char digits[MAX_DIGITS];}; struct SQ931RedirectionNumber{ UINT8 npi : 4; // byte 3, Numbering plan identification. UINT8 type : 3; // byte 3, Type of number. UINT8 b3ext : 1; // byte 3, 0/1 ext char digits[MAX_DIGITS];};struct SQ931RedirectionNumber3a{ UINT8 npi : 4; // byte 3, Numbering plan identification. UINT8 type : 3; // byte 3, Type of number. UINT8 b3ext : 1; // byte 3, 0/1 ext UINT8 spare1 : 2; // byte 3a UINT8 spare2 : 3; // byte 3a UINT8 pi : 2; // byte 3a, Presentation indicator. UINT8 b3aext : 1; char digits[MAX_DIGITS];};typedef struct SQ931RedirectingNumber SQ931ConnectedNumber;typedef struct SQ931RedirectingNumber3a SQ931ConnectedNumber3a;struct SQ931ReverseChargingIndication { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 rci : 3; // byte 3,Reverse charging indication UINT8 spare : 4; // byte 3,default 0000 UINT8 b3ext : 1; // byte 3,default 1}; struct SQ931TransitDelaySelectionAndIndication { // UINT8 id; // byte 1 // UINT8 len; // byte 2 struct SQ931TransitDelaySelectionAndIndication_byte3 { UINT8 tdsaiv1 : 2; // byte 3,Transit delay selection and indication value UINT8 spare : 5; // byte 3,default 00000 UINT8 b3ext : 1; // byte 3,default 0 UINT8 tdsaiv2 : 7; // byte 3a,Transit delay selection and indication value (cont.) UINT8 b3aext : 1; // byte 3a,default 0 UINT8 tdsaiv3 : 7; // byte 3b,Transit delay selection and indication value (cont.) UINT8 b3bext : 1; // byte 3b,default 1 };}; struct SQ931LockingShift { UINT8 cid : 3; // byte1 ,New codeset identification UINT8 flag : 1; // byte1,0=flag UINT8 id : 3; // byte1,id UINT8 one : 1; // byte1 ,1};struct SQ931Non_LockingShift { UINT8 cid : 3; // byte1 ,New codeset identification UINT8 flag : 1; // byte1,1=flag UINT8 id : 3; // byte1,id UINT8 one : 1; // byte1 ,1};struct SQ932EndpointIdentifier { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 usi : 7; // byte3,User service identifier UINT8 b3ext : 1; // byte3,default 1 UINT8 tid : 5; // byte4,Terminal identifier UINT8 i : 2; // byte4,Interpreter UINT8 b4ext : 1; // byte4,default 1};struct SQ932Facility{ // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 PP : 5; // byte3,Protocol Profile UINT8 spare : 2; // byte3,default 00 UINT8 b3ext : 1; // byte3,default1 UINT8 pdu ; // byte4,PDUs};struct SQ932ExtendedFacility{ // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 pp : 5; // byte 3,Protocol Profile UINT8 spare : 2; // byte 3,default 00 UINT8 one : 1; // byte 3,1=one UINT8 pdu ; // byte4,pdu};struct SQ932FeatureActivation{ // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 fid1 : 7; // byte3,Feature identifier number UINT8 b3ext : 1; // byte3,0/1 ext UINT8 fid2 : 7; // byte4,Feature identifier number (continuation) UINT8 b4ext : 1; // byte4,default 1};struct SQ932FeatureIndication{ // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 fIDnum1 : 7; // byte 3,Feature identifier number UINT8 b3ext : 1; // byte 3,0/1 ext UINT8 fIDnum2 : 7; // byte 4,Feature identifier number (continuation) UINT8 b4ext : 1; // byte 4,default 1 UINT8 sInd : 4; // byte 5,Status indicator UINT8 spare : 4; // byte 5,default 0000};struct SQ932InformationRequest { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 type : 6; // byte 3,Type of information UINT8 infoReqInd : 2; // byte 3,Info. req. ind UINT8 b3ext : 1; // byte 3,default 1};struct SQ932NotificationIndicator { // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 ndsc1 : 7; // byte 3,Notification description UINT8 b3ext : 1; // byte 3,0/1 ext UINT8 ndsc2 : 7; // byte 4,Notification description UINT8 b4ext : 1; // byte 4,default 1 UINT8 asn1EncDS ; // byte 5,ASN.1 Encoded Data Structure};struct SQ932ServiceProfileIdentification{ // UINT8 id; // byte 1 // UINT8 len; // byte 2 UINT8 spid : 7; // byte 3,SPID (IA5 characters) UINT8 spare : 1; // byte 3,default 0};#pragma pack( )#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?