APIs, concepts, guides, and more

◆ decode_al_status_ored()

str decode_al_status_ored ( int al_status)
Decode the network-wide AL Status (NetworkStatus.AlStatus), the OR of every node's
register, to the states present, e.g. OP or SAFEOP|OP+ERR.

Only the single-bit states are unambiguous when ORed: BOOT (3) is INIT (1) | PREOP (2),
so a network showing INIT|PREOP may hold a node in BOOT.

Definition at line 83 of file _helpers.py.