Habe eine Anleitung zur seriellen Steuerung eines Funkgerätes (spez. Kabel COM1 angeschlossen) erhalten (in Englisch).
Folgende Konfiguration wird verlangt:
- DataSpeed 9600 bps
- LSB data transfer (????)
- Start bit 1 bit
- Data 8 bit
- Stop bit 2 bit
- Non-Parity, X-parameter is No.
DATA PROTOKOLL:
The command should follow an STX[0x02]format, and should attach an ETX[0x03]terminator at the end of data.
PC >> RADIO : 0x02 COMMAND 0x03
Nun ein Beispiel:
SPEECH CALL START:
This control TRANSMITS ON. The radio transmits on the selected channel when this command is received. The radio does not mute the microfone after this ANI transmitted.
Der Befehl lautet: STX 'A' ETX
Mein großes Rätsel nun....wie sieht der zu sendende String aus oder wie bekomme ich diesen Befehl mit TCommPort raus?
Vielen Dank im Voraus