Re: [Hamlib-developer] Feature request: User friendly version of errors
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Peter M. <pet...@gm...> - 2025-09-02 15:04:20
|
Hmm. I went to https://github.com/Hamlib/Hamlib Clicked Wiki which took me to: https://github.com/Hamlib/Hamlib/wiki Clicked Documentation which took me to: https://github.com/Hamlib/Hamlib/wiki/Documentation Clicked HTML API Reference (v 4.3) which took me to: https://hamlib.sourceforge.net/manuals/4.3/index.html Clicked Modules to https://hamlib.sourceforge.net/manuals/4.3/modules.html Clicked "Rig (transceiver) API” to https://hamlib.sourceforge.net/manuals/4.3/group__rig.html Clicked rig.c to https://hamlib.sourceforge.net/manuals/4.3/rig_8c.html rigerror(int errnum) is there but not rigerror2 I’m obviously finding the wrong thing but it’s a bit of a puzzle. Thanks for your help though. Can you give me the link to the documentation page with rigerror2()? Peter > On 2 Sep 2025, at 7:06 pm, George Baltz <geo...@gm...> wrote: > > You should find it already is in the latest docs - as Nate said, you were looking at a very old version. > > On 9/1/25 8:30 PM, Peter Marks wrote: >> Thanks George. You are very kind. >> >> For some reason it has taken me a while to figure out that the SourceForge project is no longer the active one. >> >> I’ll raise a ticket asking that rigerror2 be added to the API reference >> >> 73, >> >> Peter >> VK3TPM. >> >>> On 2 Sep 2025, at 10:25 am, George Baltz <geo...@gm...> <mailto:geo...@gm...> wrote: >>> >>> Forgot to answer your other comment - the ticketing system(and other admin stuff) was moved from sourceforge to github.com - >>> >>> https://github.com/Hamlib/Hamlib >>> >>> 73, n3gb >>> >>> On 8/31/25 5:58 PM, Peter Marks wrote: >>>> Dear Hamlib developers, >>>> >>>> I don’t seem to be able to create a feature request ticket on sourceforge. The button is dim. >>>> >>>> When hamlib reports an error, typically a timeout talking to the radio, the error string returned by rigerror() is very detailed and includes a stack trace. >>>> >>>> const char* rigerror <https://hamlib.sourceforge.net/manuals/1.2.15/group__rig.html#ga675d0903517323b2689446d9513fc8db> ( int errnum ) >>>> get string describing the error code >>>> >>>> >>>> I’m involved in the FreeDV <https://freedv.org/> project which uses hamlib. We show the error string and find that it is intimidating to users. They sometimes report that FreeDV has “crashed”. >>>> >>>> It would be great if there was a second version of the error string with just the bit that the user needs. “Timeout talking to rig” for example. >>>> >>>> Many thanks for your great work. >>>> >>>> Peter >>>> VK3TPM >>>> >>>> >>>> >>>> _______________________________________________ >>>> Hamlib-developer mailing list >>>> Ham...@li... <mailto:Ham...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/hamlib-developer >>> _______________________________________________ >>> Hamlib-developer mailing list >>> Ham...@li... <mailto:Ham...@li...> >>> https://lists.sourceforge.net/lists/listinfo/hamlib-developer >> |