How to skip Auto Discover Routine ?

IK2LRN
Posts: 32
Joined: Wed Jun 03, 2020 8:57 pm

How to skip Auto Discover Routine ?

Postby IK2LRN » Wed Jun 03, 2020 9:06 pm

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
User avatar
w-u-2-o
Posts: 5539
Joined: Fri Mar 10, 2017 1:47 pm

Re: How to skip Auto Discover Routine ?

Postby w-u-2-o » Wed Jun 03, 2020 11:32 pm

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?
User avatar
John-G0ORX
Posts: 17
Joined: Sun Apr 09, 2017 4:24 pm

Re: How to skip Auto Discover Routine ?

Postby John-G0ORX » Thu Jun 04, 2020 6:20 am

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
VK3ICM
Posts: 46
Joined: Tue Nov 12, 2019 1:44 pm

Re: How to skip Auto Discover Routine ?

Postby VK3ICM » Sun Jul 05, 2020 1:11 pm

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
Attachments
discovery.c
(24.03 KiB) Downloaded 261 times
IK2LRN
Posts: 32
Joined: Wed Jun 03, 2020 8:57 pm

Re: How to skip Auto Discover Routine ?

Postby IK2LRN » Fri Jul 10, 2020 5:43 pm

Hi Chris,
thanks for your precious informations !
I will try your procedure and i will let you know.
73
Luca IK2LRN
Milano
VK3ICM
Posts: 46
Joined: Tue Nov 12, 2019 1:44 pm

Re: How to skip Auto Discover Routine ?

Postby VK3ICM » Sat Jul 11, 2020 1:28 am

Looks like John (the PiHPSDR developer) just added the ability to auto start if a single radio is discovered to the main repository.

Return to “piHPSDR”