|
|
@@ -578,11 +578,7 @@ class TestLORANode(unittest.IsolatedAsyncioTestCase): |
|
|
|
# Create the state for testing |
|
|
|
commstate = lora_comms.CommsState() |
|
|
|
|
|
|
|
# dummy callback |
|
|
|
def procmsg(msg, outbuf): |
|
|
|
pass |
|
|
|
|
|
|
|
cb = lora_comms.process_msgfunc_t(procmsg) |
|
|
|
cb = lora_comms.process_msgfunc_t(lambda msg, outbuf: None) |
|
|
|
|
|
|
|
# Generate shared key |
|
|
|
shared_key = os.urandom(32) |
|
|
|