Morse¶
The Morse application is a (admittedly not very useful) demo program, that relays a Morse encoded ASCII message through the speakers of a total station. The signals are played with the man-machine interface beep signals of the instrument.
Requirements¶
GeoCOM capable instrument
Examples¶
iman morse -c TPS1000 COM1 "Old instrument"
iman morse -u 500 -i 20 COM1 "Slow and quiet"
Usage¶
iman morse¶
Play a Morse encoded ASCII message through the beep signals.
This command requires a GeoCOM capable total station, that supports the required audio signal types (TPS1000 to TPS1200+, VivaTPS seem to have changed the commands, and they are not documented).
This command requires a GeoCOM capable instrument up to TPS1200.
iman morse [OPTIONS] PORT MESSAGE
Options
- -i, --intensity <intensity>¶
Beeping intensity
- -u, --unittime <unittime>¶
Beep unit time in milliseconds [ms]
- --ignore-non-ascii¶
Suppress encoding errors and skip non-ASCII characters
- -b, --baud <baud>¶
Serial speed
- Options:¶
1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 56000 | 57600 | 115200 | 230400 | 921600
- -t, --timeout <timeout>¶
Serial timeout
- -a, --attempts <attempts>¶
Number of connection attempts
- --sync-after-timeout¶
Attempt to synchronize message que after a timeout
Arguments
- PORT¶
Required argument
Serial port that the instrument is connected to (must be a valid identifier like COM1 or /dev/usbtty0)
- MESSAGE¶
Required argument
Message to relay as a string of ASCII characters