Page 1 of 1

How to skip Auto Discover Routine ?

Posted: Wed Jun 03, 2020 9:06 pm
by IK2LRN
Hi, i would like to know how it is possible to skip auto discover routines every time that Raspberry-PI boot.
Thanks, 73
Luca IK2LRN

Re: How to skip Auto Discover Routine ?

Posted: Wed Jun 03, 2020 11:32 pm
by w-u-2-o
I'm not a user of piHPSDR, but from the little bit I experimented with it I don't think this can be skipped.

The source code is available and it is fairly easy to build. It might not be too tough to modify it.

Perhaps someone else might chime in with a better answer?

Re: How to skip Auto Discover Routine ?

Posted: Thu Jun 04, 2020 6:20 am
by John-G0ORX
You cannot disable completely the auto discovery. However, you can speed up discovery by disabling specific protocol discovery by clicking on the Protocol button on the discovery window and selecting which protocols to use.

Why? Because it is designed to be able to easily work with multiple radios. I have 5 different radios that I use it with.

-- John

Re: How to skip Auto Discover Routine ?

Posted: Sun Jul 05, 2020 1:11 pm
by VK3ICM
w-u-2-o wrote:Perhaps someone else might chime in with a better answer?


I use PiHPSDR with a Hermes Lite 2 in my truck. Christoph DL1YCF recently helped me modify discovery.c to include the option of auto starting a discovered radio that matches a specific HW address. I'm not sure if Christoph plans to include this in his fork of PiHPSDR which has some other HL2 updates.

Before recompiling PiHPSDR with the modified discovery.c file, edit the Makefile as follows:

Code: Select all

# uncomment the line below for various debug facilities
DEBUG_OPTION=-DRESTART_BUTTON -DAUTOSTART_OPTION


Then set the environment variable STARTMYHARDWARE to the MAC address of the radio you want to auto start in your startup scripts etc.

Code: Select all

export STARTMYHARDWARE=qq.bb.cc.dd.ee.ff


Hope that helps - Chris

Re: How to skip Auto Discover Routine ?

Posted: Fri Jul 10, 2020 5:43 pm
by IK2LRN
Hi Chris,
thanks for your precious informations !
I will try your procedure and i will let you know.
73
Luca IK2LRN
Milano

Re: How to skip Auto Discover Routine ?

Posted: Sat Jul 11, 2020 1:28 am
by VK3ICM
Looks like John (the PiHPSDR developer) just added the ability to auto start if a single radio is discovered to the main repository.