How do I perform point code conversion for SS7?

The SS7 firmware requires point codes to be implemented in their Decimal form. If you are given a point code in the Network-Cluster-Member form you will have to convert it to the Decimal form before downloading the firmware.

Decimal point codes can range from 0 to 16383.

Network-Cluster-Member point codes can range from: 0 to 7 (Network) - 0 to 255 (Cluster) - 0 to 7 (Member)

Converting from Network-Cluster-Member to Decimal Form
The function below can be used to perform a Network-Cluster-Member to Decimal conversion:

Decimal Point Code = (2048 x Network) + (8 x Cluster) + Member

Let's look at a worked example, take the Point Code 3-115-6.

Thus,    Network = 3
Cluster = 115
Member = 6

Decimal Point Code = (2048 x 3) + (8 x 115) + 6

Decimal Point Code = 07070

Converting from Decimal to Network-Cluster-Member form

Converting from the Decimal form to the Network-Cluster-Member form can be achieved in three simple steps;

Step 1: Convert the Decimal point code into Binary

07070 (decimal) = 1B9E (hex) = 0001 1011 1001 1110 (binary)

Step 2: Split the binary number into three parts, bits 1 to 3, bits 4 to 11 and bits 12 to 14.

Bits 1 to 3 relate to the Member, bits 4 to 11 relate to the Cluster and bits 12 to 14 relate to the Network.

(Network) (Cluster) (Member)
bits 12 to 14 bits 4 to 11 bits 1 to 3
011 01110011 110

Step3: Finally convert the binary parts to decimal values.

Network 011 (binary) 3 (decimal)
Cluster 01110011 (binary) 115 (decimal)
Member 110 (binary) 6 (decimal)

Hence, Network-Cluster-Member form = 3 -115-6