Skip to content

Commit

Permalink
add frequency and signal level to acars output (#113)
Browse files Browse the repository at this point in the history
* add channelized frequency and signal level to acars output
* don't channelize
  • Loading branch information
rpatel3001 authored Jun 16, 2024
1 parent 5656b08 commit f6b530d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions iridiumtk/reassembler/ida.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def process(self,m):
self.otime=m.time
self.odata=m.data
self.ofreq=m.frequency
self.olevel=m.level

ok=False
for (idx,(freq,time,ctr,dat,cont,ul)) in enumerate(self.buf[:]):
Expand Down
2 changes: 2 additions & 0 deletions iridiumtk/reassembler/sbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ def parity7(data):
# that we want to include in the output. For example, we could include the raw SBD message in the output.
# Or possibly other embedded modes if they are present in the SBD message.

out['freq'] = self.ofreq
out['level'] = self.olevel
out['header'] = q.hdr.hex()

print(json.dumps(out), file=outfile)
Expand Down

0 comments on commit f6b530d

Please sign in to comment.