Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Capturing flexradio transmit band
Hi?
?
I? do not own a flexradio but I am helping VA2UR with his remote contest station. We want to capture the current transmit band , before starting transmission if possible.
?
I am able to capture the transmit frequency when he transmits by subscribing to "sub tx all" and I get messages like this one:
?
{"freq":14.20884,"lo":200,"hi":2900,"tx_filter_changes_allowed":1,"artopic":"transmit","ardate":"2025-03-29 14:47:29"} ? Ignore the last 2 fields (artopic and ardate, I added those. ? This tells me in real time the transmit frequency but we would like to know the selected band before tx happens to automatically adjust filters, etc ? I do not own or operate the flexradio myself so I am doing this a bit blindfolded. ? Thanks Patrick VA2ARZ |
I could not sleep last night so I decided to redo the entire flow and ensure it works with the sub transmit messages.? ?The new flow will pass messages that do not have the frequency value.? The following 2 messages passes the band if the frequency is there but if no frequency is present it will just pass the message.??
?
?
I have also added 160 - 6 meters and a GEN band if it does not fit those amateur bands.? ?
?
?
?
?
|
I decided to modify the function node to work with sub TX and Slice.? ?The function node looks for 'freq' or 'RX_frequency' and adds the Band data to the payload object.? ?It will also pass the all objects originally passed to the node.? If 'freq' or 'RX_frequency' is not found then the node will pass the original message.? ?The node can be found here .?
?
4/25/2025, 10:57:57 AMslice/0 : msg : Object
object
type:?"status"
client:?"0x26A88111"
topic:?"slice/0"
payload:?object
RF_frequency:?3.7424
wide:?0
lock:?0
band:?80
_msgid:?"f355e2ec2db9c531"
4/25/2025, 10:57:57 AMtransmit : msg : Object
object
type:?"status"
client:?"0x26A88111"
topic:?"transmit"
payload:?object
freq:?3.7424
lo:?100
hi:?2900
tx_filter_changes_allowed:?1
band:?80
_msgid:?"c6ae9d659e97aa53"
|
to navigate to use esc to dismiss