Re: Inter-Display link protocol documented
Posted: Wed Aug 21, 2019 5:02 am
OAT is part of the EIS data if the OAT is connected to the EIS. It is not currently transferred otherwise.
Code: Select all
//Last two bytes are checksum
if (FastCRC16.x25(msg, len-2) == (uint16_t)(word(msg[len-1], msg[len-2]))) {
EFISData.CrcValid++;
}
else {
EFISData.CrcError++; //Crc do not match
return;
}
Code: Select all
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Casey\Documents\Python Projects\GRT Ethernet> & C:/Users/Casey/AppData/Local/Programs/Python/Python37-32/python.exe "c:/Users/Casey/Documents/Python Projects/GRT Ethernet/UDPserver.py"
starting up UDP on 192.168.50.85 port 10001
waiting to receive UDP message
received 10 bytes from ('192.168.0.1', 10001)
b'[\x01\xff\n\x00\x01\x01\x94h\xa5'
sent 10 bytes back to ('192.168.0.1', 10001)
b'[\x01\xff\n\x00\x01\x00\x01\x94\x7f'
starting up TCP on 192.168.50.85 port 10001
waiting for a TCP connection
TCP connection from ('192.168.0.1', 47664)
received b'~[\x02\xff\t\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x82\x90~'
sending data back to the client