Debugging log transmission.

This commit is contained in:
Harrison Deng 2021-05-03 13:09:27 -05:00
parent 3fd7385441
commit cadf3f5d69

View File

@ -110,6 +110,7 @@ local function listenToMiners()
while running do
local event, side, channel, reply, message, distance = os.pullEvent("modem_message")
print("")
print("Received data: " .. message)
local token, recipient, sender, type, content = interpretData(message)
if token == TOKEN and recipient == HOST then
handleMessage(sender, content, type)