Associated variants: ANSI 92, ANSI 95
Specifies the carrier used for a connection in ANSI networks.
typedef struct _carrierId /* Carrier ID */
{
ElmtHdr eh; /* element header */
TknU8 netIdPln; /* network id plan */
TknU8 typNetId; /* Network id type */
TknU8 spare; /* spare bits */
TknU8 CIDigit1; /* Network Identity Digit 1 */
TknU8 CIDigit2; /* Network Identity Digit 2 */
TknU8 CIDigit3; /* Network Identity Digit 3 */
TknU8 CIDigit4; /* Network Identity Digit 4 */
} SiCarrierId;
Fields in the SiCarrierId structure are encoded as follows:
Field |
Value |
netIdPlnl |
Network ID plan. Defined values: 0x00 = NI_UNKNWN 0x01 = NI_3DIGCIC |
typNetId |
Network ID type. Defined values: 0x00 = TNI_CCITT 0x02 = TNI_NATNET |
spare |
Spare bits. |
CIDigit1 CIDigit2 CIDigit3 CIDigit4 |
Carrier identification digits, encoded as shown in the following tables. |
For the CIDigitn field, the address digits are encoded as follows:
Octet 1 |
2nd address digit |
1st (most significant) address digit |
... |
... |
... |
Octet n |
m + 1th address digit or filler |
mth address digit |
where each digit is encoded with the following bit pattern:
Bit pattern |
Digit/signal |
0000 |
0 |
0001 |
1 |
0010 |
2 |
0011 |
3 |
0100 |
4 |
0101 |
5 |
0110 |
6 |
0111 |
7 |
1000 |
8 |
1001 |
9 |
1010 |
spare |
1011 |
code 11 |
1100 |
code 12 |
1101 |
spare |
1110 |
spare |
1111 |
ST |
Token |
ANSI 92 |
ANSI 95 |
netIdPln1 |
* |
* |
typNetId2 |
* |
* |
spare |
1(8) |
1(8) |
CIDigit1 |
* |
* |
CIDigit2 |
* |
* |
CIDigit3 |
* |
* |
CIDigit4 |
* |
* |