Project

General

Profile

Actions

Feature #1825

closed

decode OM2000 fault report

Added by laforge over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
libbsc
Start date:
10/15/2016
Due date:
% Done:

100%

Resolution:
Spec Reference:

Description

The OM2000 MO's will send us FAULT REPORT messages with various different bit-masks of faults:
  • internal fault map class 1a
  • internal fault map class 1b
  • internal fault map class 2a
  • external condition map class 1
  • external condition map class 2
  • replacement unit map
Even though we don't know the full meaning of all the bits, we should properly print a WARNING level message every time we receive any non-zero bits in the following fashion:
  • for each of the maps
    • iterate over each byte from offset 0..n
      • iterate over each bit from 0..7
        • print "%s Fault %u:%u\n" (name_of_map, byte_nr, bit_nr)

If we receive a fault report with all bytes in all maps set to zero, we shoulr print "All faults ceased" at the same WARNING level.

Attaching a sample PCAP file with a TF FAULT REPORT


Files

tf_fault_report.pcap tf_fault_report.pcap 110 Bytes laforge, 10/15/2016 09:42 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)