Adjustments to WIP utilities.

This commit is contained in:
Paul Kronenwetter 2022-05-29 20:47:04 -04:00
parent d478724558
commit 55fc2d2263
2 changed files with 12 additions and 16 deletions

View file

@ -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)

View file

@ -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)