Hinweis für die Textformat-Version; um diese Version im PDF Format zu lesen, laden Sie bitte https://www.dk1ri.de/myc/communication.pdf MYC - Communication Preliminary Version Author: DK1RI Version V01.02.02 20220113 This paper is published in https://github.com/dk1ri as well Introduction The MYC protocol is a semantic protocol withot header and end. For transmission of data some additional data are necessary, There are some rules, which should be observed for the different protocols. Definitions and formats see https://dk1ri.de/myc/Definitions.txt or https://dk1ri.de/myc/Definitions.pdf I2C The MYC data can be directly transmitted over I2C. Error correction, handshake, encryption usually is not necessary. A transmission should not exceed 254 Byte. The Rxbuffer cannot hold more bytes. If necessary, use multiline. The commandrouter, Logicdevice and human Interface must support this. Because the slave needs time for commandhandling, the master must be able to wait. Either the master send the read request not directly after a write or it waits during the read process. Slave is isolated from the bus at that time. RS232 / USB As I2C the MYC data can be directly transmitted over I2C. Error correction, handshake, encryption usually is not necessary. Ethernet Up to now telnet is used only, which may have a security problem, when sent via internet. Telnet requires a defined packet length. The devices can calculate this, so pure MYC data could be sent to the devices. The device will send answers as hex numbers (2 byte per byte) an end the transmission with chr(10). So the telnet client find the end of a transmission. For consistency the devices input will accept hex data as well. A chr(10) can be sent but is ignored as all other characters. This is used for the communication betwen CR and SK and the communication between devices and CR. Copyright Dieses Dokument darf unverändert kopiert werden. Die Ideen in diesem Dokument unterliegen der GPL (Gnu Public Licence,V2) soweit keine früheren, anderen Rechte betroffen sind. Die Verwendung der Unterlagen erfolgt auf eigene Gefahr; es wird keinerlei Garantie übernommen. This document can be copied without changes. The ideas of this document can be used under GPL (Gnu Public License, V2) as long as no earlier other rights are affected. The usage of this document is on own risk, there is no warranty. Reference [1] https://dk1ri.de/myc/MYC.pdf (german) [2] https://dk1ri.de/myc/MYC.en.pdf [3] https://dk1ri.de/myc/Description.txt or https://dk1ri.de/myc/Description.pdf [4] https://dk1ri.de/myc/commands.txt or https://dk1ri.de/myc/commands.pdf [5] https://dk1ri.de/myc/Reserved_tokens.txt or https://dk1ri.de/myc/Reserved_tokens.pdf [6] https://dk1ri.de/myc/Rules.txt or https://dk1ri.de/myc/Rules.pdf [7] https://dk1ri.de/myc/commandrouter.txt or https://dk1ri.de/myc/commandrouter.pdf [8] https://dk1ri.de/myc/Rules_device.txt or https://dk1ri.de/myc/Rules_device.pdf [9] https://dk1ri.de/myc/skin.txt or https://dk1ri.de/myc/skin.pdf [10] https://dk1ri.de/myc/logicdevice.txt or https://dk1ri.de/myc/logicdevice.pdf [11] https://dk1ri.de/myc/Definitions.txt or https://dk1ri.de/myc/Definitions.pdf [12] https://dk1ri.de/myc/spec_version.txt or https://dk1ri.de/myc/spec_version.pdf [13] https://dk1ri.de/myc/webserver.txt or https://dk1ri.de/myc/webserver.pdf [14] https://dk1ri.de/myc/ki.txt or https://dk1ri.de/myc/ki.pdf [15] https://dk1ri.de/myc/communication.txt or https://dk1ri.de/myc/communication.pdf [16] https://dk1ri.de/myc/Security.txt or https://dk1ri.de/myc/Security.pdf