[fpc-pascal] Interrogating external devices using USB

Jim Lee jlee54 at gmail.com
Thu Jul 5 18:22:58 CEST 2018


   On 07/05/18 07:29, BobJ wrote:

> Good morning all,
> I have multiple amateur-radio transceivers which may be programmed 
> with computer software through a USB cable connection.  There already 
> exists various software applications to perform those tasks, however, 
> most, if not all, are either inaccessable or very difficult to use by 
> blind amateur-radio operators.
> My goal is to develop software that is as easily used by blind 
> amateur-radio operators as it is by sighted users.
> I am a retired software developer so I believe I can develop a 
> suitable user interface, however, I need to overcome two major 
> challenges which I never encountered in my professional career.  I am 
> hoping that someone out there can provide some direction as to where I 
> can start mastering the two following challenges.
> 1. I have never written code to access external devices via USB 
> connections.
> 2. I have no clue as to how to read/write to external devices for 
> which no technical details are available.
> I need at least a starting point which I have been unable to discover 
> through several searches on the internet.
> Any and all suggestions/assistance will be appreciated!  Thanks for 
> your consideration!
> 73   Bob   AD8RJ

Hi Bob,

   There is no need to deal with low-level USB or the various CAT 
interfaces - the incredible hamlib C library  already does this for you 
and supports 140+ radios:


https://hamlib.github.io/


The open source cqrlog program is written in Free Pascal and uses 
hamlib, so that may give you an example of how to wrap the hamlib 
library with a pascal interface:


https://www.cqrlog.com/


Hope this helps,
-Jim  W7JLL


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180705/c22dc0bb/attachment.html>


More information about the fpc-pascal mailing list