Charles Suprin | 13 Oct 2009 23:38
Picon

Proposed Driver: Armstrong Radio

Hello,

While playing with gpredict, the following question struck me,  "If I am working satellites using the armstrong method how do I know when to tune?"

I am proposing a "dummy-like" armstrong driver that can be configured to call an arbitrary executable/shell script whenever something happens. It has uses for portable satellite operation and perhaps others. There may be some issues with including this in the library that have not impressed me yet.

The portable satellite operation works as follows. For instance assume an operator is working a fm satellite using an old w32a and a handheld antenna. (the radio has no computer control.) The individual is looking at a screen to know where to point the antenna (hiding the tuning window perhaps). To make things easier, the operator configures the armstrong radio to play a beep whenever it is time to change radio to the next frequency. He hears a beep coming from his computer and he turns the tuning dial on his HT. He has two armstrong radios configured, one for the uplink and one for the downlink and each is configured for a different sound.

Other possible uses: link the armstrong radio to real radio and have it notify the operator if he crosses a band edge or mode transition.

Pros of this approach:
Most of the code is already written in the dummy radio
Code can rapidly propagate between different programs.
exec does not require many new libraries and discourages bloat.
The operator can configure it to provide visual, auditory or other cues.

Cons:
May require some internal scripting capablity to be truly useful.
May introduce portability issues in code/demos. (Thinking win32 in particular.)
May not quite work in the model of hamlib (hence this e-mail asking for input.)

Before diving into the code or depriving someone else of finishing it before me, any feedback and concerns would be appreciated.

Respectfully,

Charles
AA1VS



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer
Mike Stansberry | 17 Oct 2009 04:48
Favicon

hamlib

rigmem on Ubuntu 9.04 Linux does not work with IC-756PROIII

rigmem -m 357 -r /dev/ttyS1 -s 19200 -c 0x6E ---v save

attached is what I could capture using the ----v option.

The radio's memories were changed.  It appears that ALL of the
memories with SSB mode stored had the bandwidth changed to 400 Hz.

That's all the information I have.

73, Mike, K0TER
Attachment (error.log): text/x-log, 13 KiB
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer
Stephane Fillod | 17 Oct 2009 17:43
Picon
Favicon

Re: hamlib

Mike Stansberry wrote:
> rigmem on Ubuntu 9.04 Linux does not work with IC-756PROIII
>

Thanks for the report. Under Jaunty, this is version 1.2.8-1ubuntu1,
right?

> rigmem -m 357 -r /dev/ttyS1 -s 19200 -c 0x6E ---v save
>

For your convenience, the options "-s 19200" and "-c 0x6E" are not
necessary for the IC-756PROIII because they are already the default
(highest speed, and default CI-V address).

To review the defaults: rigctl -m 357 -u

BTW, the backend status is Untested. Would you like to volunteer for
testing it as you already started to?

Are you familiar with compiling a program from source package?
Maybe can you understand/do some C programming? In any case,
beta-testing is still very much appreciated.
The latest official Hamlib release is 1.2.9, but some changes have
accumulated since (yes, we need a new release 1.2.10). In-between,
these changes are available in the development daily snapshot here:
 http://n0nb.users.sourceforge.net/

You'll find the file README.betatester helpful.
Testing the Hamlib backend is done using rigctl.

Rem: subversion VCS is the best method to pick up latest changes.

> attached is what I could capture using the ----v option.
>
Thanks, this is very helpful. The appropriate syntax is -vvvvv ;-)

> The radio's memories were changed.  It appears that ALL of the
> memories with SSB mode stored had the bandwidth changed to 400 Hz.

When you say that "The radio's memories were changed", do you mean
they were changed by a rigmem load command?

Can you please test mode setting on a regular VFO first?
This is command 'm' and 'M' under rigctl.
For example:

  Rig command: M
  Mode: USB
  Passband: 2400

Passband is in Hz, latest "rigctl -m 357 -u" reports available's:

  Bandwidths:
        AM      normal: 6 kHz,  narrow: 2.4 kHz,        wide: 0 Hz                                                      
        CW      normal: 500 Hz, narrow: 50 Hz,  wide: 3.6 kHz                                                           
        USB     normal: 2.4 kHz,        narrow: 50 Hz,  wide: 3.6 kHz                                                   
        LSB     normal: 2.4 kHz,        narrow: 50 Hz,  wide: 3.6 kHz                                                   
        RTTY    normal: 2.4 kHz,        narrow: 50 Hz,  wide: 3.6 kHz                                                   
        FM      normal: 15 kHz, narrow: 8 kHz,  wide: 0 Hz                                                              
        CWR     normal: 500 Hz, narrow: 50 Hz,  wide: 3.6 kHz                                                           
        RTTYR   normal: 2.4 kHz,        narrow: 50 Hz,  wide: 3.6 kHz                                                   

According to fine DF4OR's site[1] (thanks Ekki!), regarding Passband data
and IC756PRO*:

"...And when looking at the DSP-filter rigs like IC-756Pro ff., where the
user can define and arrange each of the three filters individually, the
settings of 'wide' or 'narrow' become meaningless. Here a filter value
of $01 corresponds to filter 1, value $02 to filter 2 and $03 to filter
3, regardless of whether filter 1 is acutally wider than filter 2 or 3."

[1] http://www.plicht.de/ekki/civ/civ-p33.html

Even Hamlib 1.2.8 should have passband width retrieval OK, however,
finer width setting looks missing. For hamlib developpers, please
have a look at the function icom_set_dsp_flt() just committed into svn.
Does anybody with an Icom*Pro can hack icom_set_mode() and test icom_set_dsp_flt() ?

>
> That's all the information I have.
>
> 73, Mike, K0TER

Attached file: error.log:
> icom_get_split_vfo: wrong frame len=0

That's unfortunate, this rig appears to not be able to report the split
status.

> TX 6 bytes
> 0000	 fe fe 6e e0 0f fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 0f fd	..n...
> RX 6 characters
> 0000	 fe fe e0 6e fa fd	...n..
> icom_get_rptr_shift: wrong frame len=0

No rptr_shift support.

> TX 6 bytes
> 0000	 fe fe 6e e0 0c fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 0c fd	..n...
> RX 6 characters
> 0000	 fe fe e0 6e fa fd	...n..
> icom_get_rptr_offs: wrong frame len=0

Ok, not available on this rig, through this command anyway.

> TX 6 bytes
> 0000	 fe fe 6e e0 12 fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 12 fd	..n...
> RX 8 characters
> 0000	 fe fe e0 6e 12 00 00 fd	...n....
> icom_get_ant: ack NG (0x12), len=3

This is a new format for IC756PROIII with RX ANT reporting.
Fixed right now in svn repository.

> TX 6 bytes
> 0000	 fe fe 6e e0 10 fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 10 fd	..n...
> RX 6 characters
> 0000	 fe fe e0 6e fa fd	...n..
> icom_get_ts: wrong frame len=0

Looks like the rig is unable to report the current Tuning Step?

> TX 7 bytes
> 0000	 fe fe 6e e0 16 02 fd	..n....
> RX 7 characters
> 0000	 fe fe 6e e0 16 02 fd	..n....
> RX 8 characters
> 0000	 fe fe e0 6e 16 02 00 fd	...n....
> icom_get_level: 1 0 0 0.000000
> TX 6 bytes
> 0000	 fe fe 6e e0 11 fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 11 fd	..n...
> RX 7 characters
> 0000	 fe fe e0 6e 11 00 fd	...n...
> icom_get_level: 1 0 0 0.000000
> TX 7 bytes
> 0000	 fe fe 6e e0 14 01 fd	..n....
> RX 7 characters
> 0000	 fe fe 6e e0 14 01 fd	..n....
> RX 9 characters
> 0000	 fe fe e0 6e 14 01 00 48 fd	...n...H.
> icom_get_level: 2 48 1044431041 0.188235

Und so weiter..

[...]
> TX 6 bytes
> 0000	 fe fe 6e e0 03 fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 03 fd	..n...
> RX 11 characters
> 0000	 fe fe e0 6e 03 00 20 55 03 00 fd	...n.. U...

Here is the get_mode:
> TX 6 bytes
> 0000	 fe fe 6e e0 04 fd	..n...
> RX 6 characters
> 0000	 fe fe 6e e0 04 fd	..n...
> RX 8 characters
> 0000	 fe fe e0 6e 04 03 02 fd	...n....
                        ^^ ^^
$03 is CW (and not SSB), $02 is medium(normal) passband width.

> TX 7 bytes
> 0000	 fe fe 6e e0 1a 03 fd	..n....
> RX 7 characters
> 0000	 fe fe 6e e0 1a 03 fd	..n....
> RX 8 characters
> 0000	 fe fe e0 6e 1a 03 07 fd	...n....
                           ^^
The IF filter setting query: $1a $03, which corresponds to 400 Hz.

IMHO, the rigmem save command (and get_mode) works fine, but the load
(and set_mode) doesn't, regarding the passband width. More investigation
needed..

73
--

-- 
Stephane - F8CFE

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Stephane Fillod | 27 Oct 2009 23:47
Picon
Favicon

Re: Proposed Driver: Armstrong Radio

Hi Charles,

Charles Suprin skribis:
> While playing with gpredict, the following question struck me,  "If I am
> working satellites using the armstrong method how do I know when to tune?"
> 
> I am proposing a "dummy-like" armstrong driver that can be configured to
> call an arbitrary executable/shell script whenever something happens. It has
> uses for portable satellite operation and perhaps others. There may be some
> issues with including this in the library that have not impressed me yet.

I like this idea, and it should be pretty easy to do it.

> The portable satellite operation works as follows. For instance assume an
> operator is working a fm satellite using an old w32a and a handheld antenna.
> (the radio has no computer control.) The individual is looking at a screen
> to know where to point the antenna (hiding the tuning window perhaps). To
> make things easier, the operator configures the armstrong radio to play a
> beep whenever it is time to change radio to the next frequency. He hears a
> beep coming from his computer and he turns the tuning dial on his HT. He has
> two armstrong radios configured, one for the uplink and one for the downlink
> and each is configured for a different sound.
> 
> Other possible uses: link the armstrong radio to real radio and have it
> notify the operator if he crosses a band edge or mode transition.
> 
> Pros of this approach:
> Most of the code is already written in the dummy radio
> Code can rapidly propagate between different programs.
> exec does not require many new libraries and discourages bloat.
> The operator can configure it to provide visual, auditory or other cues.
> 
> Cons:
> May require some internal scripting capablity to be truly useful.
> May introduce portability issues in code/demos. (Thinking win32 in
> particular.)
> May not quite work in the model of hamlib (hence this e-mail asking for
> input.)

+ May introduce a kind of backdoor into an application that was not
supposed to execute external program. Not a really big deal I hope.

> 
> Before diving into the code or depriving someone else of finishing it before
> me, any feedback and concerns would be appreciated.

There's a new RIG_MODEL_ARMSTRONG in include/hamlib/riglist.h waiting for you.
I would recommand passing the name of the arbitrary executable/shell
script through set_conf, so that it can be configured by -C option
of rigctl{d,} for example. Let me know whether you need help when
under the water with the code :-)

Regards
--

-- 
Stephane - F8CFE

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Stephane Fillod | 27 Oct 2009 23:59
Picon
Favicon

Release 1.2.10 this week-end?

Dear Hamlib hackers,

We missed the summer release, how about a release of Hamlib 1.2.10 for
this coming week-end? Please check your local trees for falling leaves
and not yet commited patchs.

Beta-testers are expected to speak up, especially about the kenwood
backend and OS portability. Daily snapshots here: http://n0nb.users.sourceforge.net

BTW, does anyone of you have a Windows 7 installed? How does the previous
hamlib-win32-1.2.9 (or better the future 1.2.10) works on it?

Cheers
--

-- 
Stephane - F8CFE

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Nate Bargmann | 30 Oct 2009 01:14
Picon
Favicon
Gravatar

Rigctld and ripc.rigd

I had a thought earlier today about hacking on yfktest to receive QSO
data from Fldigi.  My experiment with yfktest showed that it is working
well with rigctld but Fldigi doesn't support rigctld as of yet (if
ever).  So I thought about whether it is possible to use rigctld as a
client of rpc.rigd (my idea being to use yfktest as a contest logger
for Fldigi while having frequency data for both)?

I know it sounds a bit crazy but it would allow older programs that can
use rpc.rigd to share the rig with newer programs using rigctld. 
Feasable?  Silly idea?

73, de Nate >>

--

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Charles Suprin | 30 Oct 2009 01:38
Picon

Re: Rigctld and ripc.rigd

Nate,
 
This may be a related thought but I have been toying with the idea of making a rigctld driver for hamlib so that fldigi could take advantage of rigctld which gpredict needs.
 
This seems another way to skin the same cat.
 
Charles


 
On Thu, Oct 29, 2009 at 8:14 PM, Nate Bargmann <n0nb <at> n0nb.us> wrote:
I had a thought earlier today about hacking on yfktest to receive QSO
data from Fldigi.  My experiment with yfktest showed that it is working
well with rigctld but Fldigi doesn't support rigctld as of yet (if
ever).  So I thought about whether it is possible to use rigctld as a
client of rpc.rigd (my idea being to use yfktest as a contest logger
for Fldigi while having frequency data for both)?

I know it sounds a bit crazy but it would allow older programs that can
use rpc.rigd to share the rig with newer programs using rigctld.
Feasable?  Silly idea?

73, de Nate >>

--

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer
Nate Bargmann | 30 Oct 2009 01:09
Picon
Favicon
Gravatar

Re: Release 1.2.10 this week-end?

* Stephane Fillod <f8cfe <at> free.fr> [2009 Oct 27 18:01 -0500]:
> Dear Hamlib hackers,
> 
> We missed the summer release, how about a release of Hamlib 1.2.10 for
> this coming week-end? Please check your local trees for falling leaves
> and not yet commited patchs.

That is a good plan!

BTW, I was playing with yfktest a couple of evenings ago and it worked
well with rigctld.

73, de Nate >>

--

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Stelios Bounanos | 30 Oct 2009 03:13
X-Face

Re: Rigctld and ripc.rigd

>>>>> On Thu, 29 Oct 2009 19:14:35 -0500, Nate Bargmann <n0nb <at> n0nb.us> said:

> I had a thought earlier today about hacking on yfktest to receive QSO
> data from Fldigi.  My experiment with yfktest showed that it is working
> well with rigctld but Fldigi doesn't support rigctld as of yet (if
> ever).

Fldigi does not need to do anything special to support rigctld, you just
select "Hamlib NET rigctl" from the rig menu and enter something like
localhost:4532 in the Device field.

rigctld has worked fine in my tests, but I've noticed that its latency
is a little bit higher than that of rpc.rigd.

--

-- 

73,
Stelios, M0GLD.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Martin Ewing | 30 Oct 2009 04:03
Picon
Gravatar

Re: Release 1.2.10 this week-end?

Stephane,

I'd certainly like to get the Orion fixes out there!

I tried the latest SVN version against fldigi, and it bombed.  It
seems that you latest patch to rig.c about the serial port parameters
broke my configuration.  After a lot of head scratching, I determined
that fldigi had been set up for RTS/CTS all this time, while the Orion
uses hardware sync.

Fortunately there is a DTR_ON option for fldigi that apparently
ignores handshaking.  That seems to work well enough.  Such bugs
emerge when you tighten the error checking...

So at this moment, I'm OK with the new release.

73 Martin AA6E

On Tue, Oct 27, 2009 at 6:59 PM, Stephane Fillod <f8cfe <at> free.fr> wrote:
> Dear Hamlib hackers,
>
> We missed the summer release, how about a release of Hamlib 1.2.10 for
> this coming week-end? Please check your local trees for falling leaves
> and not yet commited patchs.
>
> Beta-testers are expected to speak up, especially about the kenwood
> backend and OS portability. Daily snapshots here: http://n0nb.users.sourceforge.net
>
> BTW, does anyone of you have a Windows 7 installed? How does the previous
> hamlib-win32-1.2.9 (or better the future 1.2.10) works on it?
>
> Cheers
> --
> Stephane - F8CFE
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Hamlib-developer mailing list
> Hamlib-developer <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hamlib-developer
>

--

-- 
Dr. Martin S. Ewing, AA6E
Member IEEE, URSI, AAS, ARRL
Branford, Connecticut

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

Gmane