Project

General

Profile

Feature #1825

decode OM2000 fault report

Added by laforge 11 months ago. Updated 11 months 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

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

History

#1 Updated by dexter 11 months ago

  • % Done changed from 0 to 80

We now have some code that displays the fault maps in the following style:

Fault report: Internal Fault Map Class 1A (0,2,4,6)
Fault report: Internal Fault Map Class 1B (0,2,4,6)
Fault report: Internal Fault Map Class 2A (0,2,4,6,4,5)
Fault report: External Condition Map Class 1 (1)
Fault report: External Condition Map Class 2 (4)

The number in brackets is the bit number When all faults are ceased it displays:

Fault report: All faults ceased!

As soon as the BSC box works again I will insert the code in abis_om2000.c

#2 Updated by dexter 11 months ago

  • % Done changed from 80 to 90

Code now integrated in abis_om2000.c, looks ok to me. However I do not have enough faults to be sure.

#3 Updated by dexter 11 months ago

  • Status changed from New to In Progress

#4 Updated by dexter 11 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

#5 Updated by laforge 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF