1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Net control

From hamlib

(Difference between revisions)
Jump to: navigation, search
(RPC)
(TCP)
Line 16: Line 16:
=== TCP ===
=== TCP ===
-
The latest additions to the Hamlib network control family are the [http://en.wikipedia.org/wiki/Transmission_Control_Protocol TCP] based '''rigctld''' and '''rotctld''' daemons.
+
The latest additions to the Hamlib network control family are the [http://en.wikipedia.org/wiki/Transmission_Control_Protocol TCP] based '''rigctld''' and '''rotctld''' daemons.  The command set used by these daemons are simple text commands sent as ASCII strings.  The commands are shared with the '''rigctl''' and '''rotctl''' test programs (with a couple of additions specific to the daemons).

Revision as of 23:30, 24 February 2010


Contents

Network rig control with Hamlib

While Hamlib has been primarily used by C and C++ programs, the ability to control a device via a network connection is an integral part of Hamlib. There are two means of network control, via RPC and via TCP sockets.

RPC

The RPC method is the older of the Hamlib network daemons and has been used to share a single device between multiple applications. The daemon for radio control is rpc.rigd and the daemon for rotor control is rpc.rotd. This allows the rpc.* daemon to be running on a computer that is attached to the device and the user app(s) with another instance of Hamlib to be on the same or another network attached computer.

rpc.rigd/rpc.rotd usage notes

  • Use rig model 1901 for rpc.rigd
  • Use rotor model 101 for rpc.rotd

TCP

The latest additions to the Hamlib network control family are the TCP based rigctld and rotctld daemons. The command set used by these daemons are simple text commands sent as ASCII strings. The commands are shared with the rigctl and rotctl test programs (with a couple of additions specific to the daemons).

Personal tools