Skip to content

Commit

Permalink
reshuffeling files in right branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jkooten committed May 14, 2021
1 parent 1bf4608 commit 28b4125
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 43 deletions.
42 changes: 41 additions & 1 deletion OFDMAUSRxMer/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,41 @@
# OFDMA USRXMer
# pnm-ofdmarxmer-filedecode-v2

dependencies with :<br>
hexdump<br>
GD::Graph<br>
Data::Hexdump<br>

A simple perl script that will turn your OfdmaRxMer PNM binary file ino a nice graph with correct(!) data.<br>

Just feed the PNM file to the script and it wil decode the file for you conform CableLabs CM-SP-CCAP-OSSIv3.1-I17-191204 specification (table 410 in the spec to be more accurate)<br>

There is some pretty printing when the script is kicked off.<br>
Tested agains several CCAP devices (Arris E6000 REL8.0, Casa C100G rel 8.6.2 and Cisco cBR-8 rel ios-xr 16.12.1y/z)<br>
There will be an update once Casa fixes the issue that there is no such thing as 2kHz subcarrier spacing. for Casa 50kHz spacing is assumed when other not correct values are found in the PNM file.<br>
<br>
the PNM images will be stored in /var/ww/html/pnm but you can change that if you want offcourse.<br>
<br>
<br>
<b>EXAMPLE (i changed the CMTS name and replaced the actual mac address for xxxxxxxxxxxx)<br></b>
<br>
./pnm-ofdmarxmer-filedecode-v2 /tftpboot/PNMCcapRxMER_CCAP002_xxxxxxxxxxxx_1403405123<br>
<br>
504e4e69 ==> OFDMARxMer<br>
Date of PNM Measurement ==> 2020-06-05 18:12:23<br>
Interface Index = 34234577<br>
Modem Mac Address = xxxxxxxxxxxx<br>
Subcarrier 0 frequency = 11325000<br>
FIRST ACTIVE SUBCARRIER = 74<br>
Subcarrier spacing = 50000 Hz<br>
Amount Active Subcarriers = 448<br>
First Subcarrier Frequency = 15025000<br>
Last Subcarrier Frequency = 37425000<br>
<br>
<br>
# set-pnm-ofdmarxmer-meas<br>
<br>
There is also a small script to help you do the snmpset commands to get the OfdmaRxMer PNM measurement started.<br>
pretty straight forward. Just run it and it will do the snmpsets for you.<br>
<br>
./set-pnm-ofdmarxmer-meas CCAP-NAME MODEM-MAC IFINDEX SNMP-RW-COMMUNITY-STRING<br>

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ my $out;
my $filetype;
my $sc;
my $date;
my @merarray;
my @scarray;
my @combmer;
my $mdmmac;
Expand Down
File renamed without changes.
41 changes: 0 additions & 41 deletions README.md

This file was deleted.

0 comments on commit 28b4125

Please sign in to comment.