Das Protokoll
Experimente:
Im weiteren Verlauf werde ich den BINÄRCODE analysieren.
Zur Verfügung steht mir folgende Sequenz: 19 52 31 32 33 34 35 36 37 8A 31 32 33 34 35 36 18
Diese HEX-Codes können an den GP2017TR mittels des Serial Debug Assistant an die serielle Schnittstelle übertragen werden und
zeigen am Pager GP2000N dann den Text "123456" an.
Die Adresse (RIC bzw. Rubrik) lautet "1234567".
Serial Debug Assistant
Aus dem App-Store von Microsoft kann man sich das Programm: Serial Debug Assistant Installer.exe besorgen,
was ich an dieser Stelle nicht zur Verfügung, als Download, stellen darf. Also sucht danach und installiert das Programm.
Es ermöglicht ohne weitere Software die seriellen Schnittstellen an Eurem Rechner zu untersuchen und evtl. Zeichensequenzen dorthin zu übertragen.
Die Screenshots habe ich mit SNAP 17 von Ashampoo gemacht und kann dort für 30 Tage kostenlos getestet werden.
Serial Debug Assistant
- The interface is simple and beautiful, and the operation is convenient and fast. It is an indispensable serial port debugging tool for you.
- Whether it is embedded software and hardware development or engineering data debugging, it can be easily handled.
- The high-speed reception is stable and smooth, without stuttering or data loss.
- Support TCP/UDP debugging
Features
- Display the data received from the serial port, and support two display modes of string and hexadecimal.
- Supports multiple text encodings ASCII、GB2312、UNICODE、UTF-8、BIG5、shift_jis,Encoding type can be changed in settings.
- Supports multiple baud rates, and also supports custom baud rates. (Baud rates higher than 115200bps require hardware support).
- Auto break frame: Attach a newline character at the end of the data packet and display the next packet of data in a newline, making it easier to observe data changes.
- Extension cmd: Up to 600 extended commands can be created and saved, and each command can send a piece of data.
- Customize Commands list: Send all the data in the extended command list with one click and execute each command automatically.
- Script: Use JavaScript scripts to extend functions (such as parsing received data, adding sending verification, etc.).
- Window on top: kept on top of other windows.hot key "Ctrl + Shift + T" on or off
Programmieren
Mit diesen Erkenntnissen sollte es ja nun möglich sein, ein kleines Progrämmchen zu schreiben, was genau diese Bedingungewn erfüllt.
Da meine erste Programmiersprache von 1976 PASCAL war, habe ich kurzerhand FREE PASCAL installiert und losgelegt.
Es hat einige Zeit gedauert bis ich wieder drin war und siehe da, es ist eine Kommandozeilen Version entstanden die ich TXPocsag nenne.
Es gibt also nun mein Programm TXPocsag.exe für den GP2017TR ohne die sehr aufwendige Software von WITOPTECH.
Kleiner Nachteil, es ist eine Kommandozeilen Version, welche bestens in der DOS-Box unter Windows läuft. Software