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 #1

Updated by dexter over 7 years 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

Actions #2

Updated by dexter over 7 years 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.

Actions #3

Updated by dexter over 7 years ago

  • Status changed from New to In Progress
Actions #4

Updated by dexter over 7 years ago

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

Updated by laforge over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)