Skip to content

Commit

Permalink
Use the slow transmitting mode (100ms per frame) just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo committed Dec 6, 2016
1 parent 5ecbc2d commit 21002b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion secplus_tx.grc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
</param>
<param>
<key>value</key>
<value>[0]*100 + secplus.ook(rolling, fixed)*4 + [0]*100</value>
<value>[0]*100 + secplus.ook(rolling, fixed, fast=False)*4 + [0]*100</value>
</param>
</block>
<block>
Expand Down
8 changes: 4 additions & 4 deletions secplus_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
##################################################
# GNU Radio Python Flow Graph
# Title: Secplus Tx
# Generated: Mon Dec 5 20:36:59 2016
# Generated: Mon Dec 5 20:40:54 2016
##################################################

from gnuradio import analog
Expand All @@ -29,7 +29,7 @@ def __init__(self):
##################################################
self.rolling = rolling = 1234567890
self.fixed = fixed = 1234567890
self.seq = seq = [0]*100 + secplus.ook(rolling, fixed)*4 + [0]*100
self.seq = seq = [0]*100 + secplus.ook(rolling, fixed, fast=False)*4 + [0]*100
self.samp_rate = samp_rate = 2e6
self.freq = freq = 315.15e6

Expand Down Expand Up @@ -66,14 +66,14 @@ def get_rolling(self):

def set_rolling(self, rolling):
self.rolling = rolling
self.set_seq([0]*100 + secplus.ook(self.rolling, self.fixed)*4 + [0]*100)
self.set_seq([0]*100 + secplus.ook(self.rolling, self.fixed, fast=False)*4 + [0]*100)

def get_fixed(self):
return self.fixed

def set_fixed(self, fixed):
self.fixed = fixed
self.set_seq([0]*100 + secplus.ook(self.rolling, self.fixed)*4 + [0]*100)
self.set_seq([0]*100 + secplus.ook(self.rolling, self.fixed, fast=False)*4 + [0]*100)

def get_seq(self):
return self.seq
Expand Down

0 comments on commit 21002b4

Please sign in to comment.