Replies: 2 comments 1 reply
-
Pirrot doesn't expose such a thing (I never thought about it), that said,
however, if you plan to use a BASH script, you can simply "cat" the GPIO
I/O value to retrieve the value and then, based on the output choose to
delay if you need; You'd simply read the value of the COR pin by using a
command like this (you'll probably want to assign it to a variable too): "cat
/sys/class/gpio/gpio23/value" (change the GPIO pin to the one you need -
Pirrot uses GPIO 23 by default, also pay attention as to if you've inverted
the values too!)
Hope this helps :)
…On Thu, 22 Jun 2023 at 15:11, scottredd ***@***.***> wrote:
Is there a way in software, like a lock file or something in the file
system, to detect if the system is actively in a TX or RX state?
I have some cron job shell scripts that ID with weather, time, special
announcement, but it’s unaware if there’s a QSO in progress, and will stomp
over a conversation.
If there was a lock file when a TX or RX is active, I could make the
script aware and delay the ID until there is no activity.
Thanks!
Scott
—
Reply to this email directly, view it on GitHub
<#56>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF3NDAKHSOIPNNHWYSCMQTXMRHAVANCNFSM6AAAAAAZQIWYXE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
That sounds like exactly what I’m looking for. I’ll try it out and let you know how it works. Thanks!ScottSent from my iPhoneOn Jun 22, 2023, at 9:37 AM, Bobby Allen ***@***.***> wrote:
Pirrot doesn't expose such a thing (I never thought about it), that said,
however, if you plan to use a BASH script, you can simply "cat" the GPIO
I/O value to retrieve the value and then, based on the output choose to
delay if you need; You'd simply read the value of the COR pin by using a
command like this (you'll probably want to assign it to a variable too): "cat
/sys/class/gpio/gpio23/value" (change the GPIO pin to the one you need -
Pirrot uses GPIO 23 by default, also pay attention as to if you've inverted
the values too!)
Hope this helps :)
On Thu, 22 Jun 2023 at 15:11, scottredd ***@***.***> wrote:
Is there a way in software, like a lock file or something in the file
system, to detect if the system is actively in a TX or RX state?
I have some cron job shell scripts that ID with weather, time, special
announcement, but it’s unaware if there’s a QSO in progress, and will stomp
over a conversation.
If there was a lock file when a TX or RX is active, I could make the
script aware and delay the ID until there is no activity.
Thanks!
Scott
—
Reply to this email directly, view it on GitHub
<#56>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF3NDAKHSOIPNNHWYSCMQTXMRHAVANCNFSM6AAAAAAZQIWYXE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way in software, like a lock file or something in the file system, to detect if the system is actively in a TX or RX state?
I have some cron job shell scripts that ID with weather, time, special announcement, but it’s unaware if there’s a QSO in progress, and will stomp over a conversation.
If there was a lock file when a TX or RX is active, I could make the script aware and delay the ID until there is no activity.
Thanks!
Scott
Beta Was this translation helpful? Give feedback.
All reactions