Answering my own question: write_block is in the hamlib library, just need to declare it to use it...

Tor



From: RT Clay <rt_clay@bellsouth.net>
To:
Cc: Hamlib Developers <hamlib-developer@lists.sourceforge.net>
Sent: Saturday, March 29, 2014 9:57 PM
Subject: [Hamlib-developer] send raw command?

Is there a way in the hamlib api to send a raw string of characters to the serial port? I would like to add a function to my logging program so the user can control rig functions that are not in the hamlib api- things like switching the rx antenna port, sending dvk messages, etc.

In rigctl_parse.c I see the 'w' command, but the write_block needed to do this seems to be an internal function.

Tor
N4OGW



------------------------------------------------------------------------------

_______________________________________________
Hamlib-developer mailing list
Hamlib-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer