Capcode Calculation
LRS uses a combination of system ID and pager ID to identify pagers. The system ID is normally the same for every pager in the system. The pager ID identifies a particular pager, or address, within a system.
Since POCSAG uses a single address field (the capcode) to identify pagers and addresses, the LRS system ID and pager ID combination must be mapped to a capcode.
Given the following variables:
- C - POCSAG capcode
 - Ps - LRS system ID
 - Pn - LRS pager ID
 
The capcode calculation is as follows:
System IDs 0 through 13 | C = 100000Ps + 8Pn + 700000 | 
System IDs 14 through 200 | C = 100000 x ((Ps - 14)/9) + 10000((Ps − 14) mod 9)+ 8Pn + 10000 | 
Updated less than a minute ago
