mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Adjustments to WIP utilities.
This commit is contained in:
parent
d478724558
commit
55fc2d2263
2 changed files with 12 additions and 16 deletions
|
@ -78,16 +78,14 @@ def t_highsnr_arq_short_station1(
|
||||||
static.LOW_BANDWIDTH_MODE = lowbwmode
|
static.LOW_BANDWIDTH_MODE = lowbwmode
|
||||||
static.MYGRID = bytes("AA12aa", "utf-8")
|
static.MYGRID = bytes("AA12aa", "utf-8")
|
||||||
static.RESPOND_TO_CQ = True
|
static.RESPOND_TO_CQ = True
|
||||||
|
|
||||||
mycallsign = bytes(mycall, "utf-8")
|
|
||||||
mycallsign = helpers.callsign_to_bytes(mycallsign)
|
|
||||||
static.MYCALLSIGN = helpers.bytes_to_callsign(mycallsign)
|
|
||||||
static.MYCALLSIGN_CRC = helpers.get_crc_24(static.MYCALLSIGN)
|
|
||||||
static.MYGRID = bytes("AA12aa", "utf-8")
|
|
||||||
static.SSID_LIST = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
static.SSID_LIST = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||||
|
|
||||||
dxcallsign = bytes(dxcall, "utf-8")
|
mycallsign = helpers.callsign_to_bytes(mycall)
|
||||||
dxcallsign = helpers.callsign_to_bytes(dxcallsign)
|
mycallsign = helpers.bytes_to_callsign(mycallsign)
|
||||||
|
static.MYCALLSIGN = helpers.bytes_to_callsign(mycallsign)
|
||||||
|
static.MYCALLSIGN_CRC = helpers.get_crc_24(static.MYCALLSIGN)
|
||||||
|
|
||||||
|
dxcallsign = helpers.callsign_to_bytes(dxcall)
|
||||||
dxcallsign = helpers.bytes_to_callsign(dxcallsign)
|
dxcallsign = helpers.bytes_to_callsign(dxcallsign)
|
||||||
static.DXCALLSIGN = dxcallsign
|
static.DXCALLSIGN = dxcallsign
|
||||||
static.DXCALLSIGN_CRC = helpers.get_crc_24(static.DXCALLSIGN)
|
static.DXCALLSIGN_CRC = helpers.get_crc_24(static.DXCALLSIGN)
|
||||||
|
|
|
@ -78,16 +78,14 @@ def t_highsnr_arq_short_station2(
|
||||||
static.LOW_BANDWIDTH_MODE = lowbwmode
|
static.LOW_BANDWIDTH_MODE = lowbwmode
|
||||||
static.MYGRID = bytes("AA12aa", "utf-8")
|
static.MYGRID = bytes("AA12aa", "utf-8")
|
||||||
static.RESPOND_TO_CQ = True
|
static.RESPOND_TO_CQ = True
|
||||||
|
|
||||||
mycallsign = bytes(mycall, "utf-8")
|
|
||||||
mycallsign = helpers.callsign_to_bytes(mycallsign)
|
|
||||||
static.MYCALLSIGN = helpers.bytes_to_callsign(mycallsign)
|
|
||||||
static.MYCALLSIGN_CRC = helpers.get_crc_24(static.MYCALLSIGN)
|
|
||||||
static.MYGRID = bytes("AA12aa", "utf-8")
|
|
||||||
static.SSID_LIST = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
static.SSID_LIST = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||||
|
|
||||||
dxcallsign = bytes(dxcall, "utf-8")
|
mycallsign = helpers.callsign_to_bytes(mycall)
|
||||||
dxcallsign = helpers.callsign_to_bytes(dxcallsign)
|
mycallsign = helpers.bytes_to_callsign(mycallsign)
|
||||||
|
static.MYCALLSIGN = helpers.bytes_to_callsign(mycallsign)
|
||||||
|
static.MYCALLSIGN_CRC = helpers.get_crc_24(static.MYCALLSIGN)
|
||||||
|
|
||||||
|
dxcallsign = helpers.callsign_to_bytes(dxcall)
|
||||||
dxcallsign = helpers.bytes_to_callsign(dxcallsign)
|
dxcallsign = helpers.bytes_to_callsign(dxcallsign)
|
||||||
static.DXCALLSIGN = dxcallsign
|
static.DXCALLSIGN = dxcallsign
|
||||||
static.DXCALLSIGN_CRC = helpers.get_crc_24(static.DXCALLSIGN)
|
static.DXCALLSIGN_CRC = helpers.get_crc_24(static.DXCALLSIGN)
|
||||||
|
|
Loading…
Reference in a new issue