Related articles:
Some configurable variables require that you convert point codes into a 32-bit integer.
As shown in the following figure, the Most Significant Bit (MSB) represents the Point Code (PC) display format, while the remaining 24 bits contain the actual PC values.The PC display format is based on the network SS7 Variant.
For ITU Point Code values, the third byte is always 00, because only the first 14 bits are used. For Japan Point Code values, the third byte is always 00, because only the first 16 bits are used.
The following table shows the supported network types and their respective PC Display Formats.
For more information about PC Display Formats, see the appropriate chapter in the latest version of the User Application Protocol Reference.
The 8th bit of the PC display format is used for the dash delimiter with the exception of UNDEFINED (0xff).
The following are examples for the various network types to 32-bit values.
EXAMPLE for DEFAULT (0x00)
Point Code: 138.255.4
Hexadecimal Equivalent (24-bits): 8A FF 04
Base10 (32-bits) Equivalent of 0x008AFF04: 9109252
EXAMPLE for ANSI/CHINA (0x81-8.8.8)
Point Code: 138-255-4
Hexadecimal Equivalent (24-bits): 81 8A FF 04
Base10 (32-bits) Equivalent of 0x818AFF04: 2173370116
EXAMPLE for ITU (0x02-3.8.3)
Point Code: 3.255.6
Hexadecimal Equivalent (24-bit): 02 00 1F FE
Base10 (32-bit) Equivalent of 0x02001FFE: 33562622
EXAMPLE ITU-DECIMAL (Base 10)
Point Code: 8190
Hexadecimal Equivalent (24-bit): 7F 00 1F FE
Base10 (32-bit) Equivalent of 0x7F001FFE: 2130714622
EXAMPLE for JAPAN (0x03-ff-ff)
Point Code: 1d-e3
Hexadecimal Equivalent (24-bit): 03 00 1D E3
Base10 (32-bit) Equivalent of 0x03001DE3: 50339299