Skip to content

Commit

Permalink
Try to set hardware timestamp with soapy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 authored and schneider42 committed May 13, 2022
1 parent f23b87d commit 8cc21ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/iridium_extractor_flowgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ def sanitize(s):

source.set_sample_rate(0, self._input_sample_rate)
source.set_frequency(0, self._center_frequency)
try:
source.set_hardware_time(time.time_ns(), '')
except ValueError as e:
print(e)
pass

if 'gain' in d:
gain = int(d['gain'])
Expand Down

0 comments on commit 8cc21ba

Please sign in to comment.