N0BOY / FT8CN

Run FT8 on Android
MIT License
369 stars 38 forks source link

(tr)uSDX audio over cat #42

Open clewisit opened 1 year ago

clewisit commented 1 year ago

Will it be possible to add support for the (tr)uSDX alpha firmware that supports audio via the cat interface? This device does not have a built-in usb sound card and I haven't had much success with vox. Most times the transmit audio goes out of the phone speaker instead of the headphone cable.

bg7yoz commented 1 year ago

hi, @rmoravcik

出现"Connection with rig is broken. ... 2 > 1".错误,我猜测可能是串口的参数设置不正确造成的。 除了要FT8CN波特率要与电台串口的波特率一致之外,还要注意FT8CN默认串口使用的参数是:dataBits=8,stopBits=1,parity=none。 FT8CN简化了串口的设置,以后可能会在设置页面加上dataBits、stopBits、parity的设置。 此部分的出错提示信息没有翻译成中文,在后续的版本会改正。

截屏2023-10-05 13 28 14

73!

bg7yoz

starcrafti commented 1 year ago

我的usdx添加了蓝牙模块。在.90下,由于电台型号中没有usdx,选择了QRP Labs QDX,cat-蓝牙连接下可以自动发射,电流增大、屏幕显示T,持续数秒。而在.91 patch1下,电台型号选择trUSDX,不管控制方式是选择vox,还是cat-蓝牙连接,都无法自动发射,电流没有变化、屏幕也没有显示T。不知是不是什么设置不正确?

d3m3vilurr commented 1 year ago

@starcrafti IDK, USDX case & I don't have it. AFAIK, their firmwares / rigs are not official usdx firmware. and also PE1NNZ isn't release trusdx's TX part on the firmware code. (imo, developers can implement it, but idk current state)

so, you can't use (tr)uSDX setting, you should use Kenwood TS-480. and also, bluetooth CAT line wouldn't broadcast TX/RX stream. if you still cat the empty voice when connect bluetooth CAT + TS-480 mode, you have to need external device such as USB audio stick.

starcrafti commented 1 year ago

@d3m3vilurr Thank you! When I chose TS-480, it did work, as if at 0.90. At present, due to the poor electromagnetic environment in my location, I am not sure if the automatic launch is working properly(/∇\)Thank again!

bg7yoz commented 1 year ago

您好 @starcrafti :

正如@d3m3vilurr所说,在FT8CN的0.91中,(tr)uSDX的电台选项,是采用audio over cat的,也就是音频信号通过串口传输的,您使用的USDX蓝牙方式,建议还是电台还是选择TS-480。 在下一版本中,(tr)uSDX将有两个选项做区分:(tr)uSDX audio over cat和(tr)uSDX(TS-480)。

bg7yoz

k6tw commented 1 year ago

So has anyone successfully been able to use audio over CAT (only the USB cable) using a trusdx and FT8CN? I've spent many, many hours troubleshooting and still can't get it to work (I mentioned earlier, the no transmit problem). If I can't get an answer on the support forum here, I don't know what else to do. I hate to buy a digirig, but it looks like I may have to do that.

starcrafti commented 1 year ago

您好 @starcrafti :

正如@d3m3vilurr所说,在FT8CN的0.91中,(tr)uSDX的电台选项,是采用audio over cat的,也就是音频信号通过串口传输的,您使用的USDX蓝牙方式,建议还是电台还是选择TS-480。 在下一版本中,(tr)uSDX将有两个选项做区分:(tr)uSDX audio over cat和(tr)uSDX(TS-480)。

bg7yoz

膜拜大佬^_^ 目前我选择480,可以发射——用了一个手台接收到信号。不幸的是,从手台里传出的声音,没有ft8那独特的音频声。 也许这可以解释为什么我的呼叫都没有被应答😂 期待新版本。

rmoravcik commented 1 year ago

So has anyone successfully been able to use audio over CAT (only the USB cable) using a trusdx and FT8CN? I've spent many, many hours troubleshooting and still can't get it to work (I mentioned earlier, the no transmit problem). If I can't get an answer on the support forum here, I don't know what else to do. I hate to buy a digirig, but it looks like I may have to do that.

For me it's working except occasional disconnection error. Two weeks ago I did ~100 QSOs during weekend using just USB cable.

k6tw commented 1 year ago

膜拜大佬^_^ 目前我选择480,可以发射——用了一个手台接收到信号。不幸的是,从手台里传出的声音,没有ft8那独特的音频声。 也许这可以解释为什么我的呼叫都没有被应答😂 期待新版本

When will the new version be released?

d3m3vilurr commented 1 year ago

@k6tw i'm a patch author and i tested qso without audio cable. sorry i also dont know a reason. it can be occured from multiple reasons such as my original codeset, firmware, specific rig type(only reported classic & low band are work. you are first person who report high band rig is not working), UTG adapter, USB cable...

can you test on the pc with trusdx-audio?

imo, next new ft8cn version wouldn't be different that just split rig type to prevent distinguish.

k6tw commented 1 year ago

@k6tw i'm a patch author and i tested qso without audio cable. sorry i also dont know a reason. it can be occured from multiple reasons such as my original codeset, firmware, specific rig type(only reported classic & low band are work. you are first person who report high band rig is not working), UTG adapter, USB cable...

can you test on the pc with trusdx-audio?

imo, next new ft8cn version wouldn't be different that just split rig type to prevent distinguish.

Maybe that's the problem. My radio is the high band trusdx (10, 12, 15, 17, 20). I will try connecting to wsjtx next.

bg7yoz commented 1 year ago

So has anyone successfully been able to use audio over CAT (only the USB cable) using a trusdx and FT8CN? I've spent many, many hours troubleshooting and still can't get it to work (I mentioned earlier, the no transmit problem). If I can't get an answer on the support forum here, I don't know what else to do. I hate to buy a digirig, but it looks like I may have to do that.

For me it's working except occasional disconnection error. Two weeks ago I did ~100 QSOs during weekend using just USB cable.

引起断开的原因,很有可能是天线不平衡造成的射频干扰。

bg7yoz commented 1 year ago

@k6tw i'm a patch author and i tested qso without audio cable. sorry i also dont know a reason. it can be occured from multiple reasons such as my original codeset, firmware, specific rig type(only reported classic & low band are work. you are first person who report high band rig is not working), UTG adapter, USB cable...

can you test on the pc with trusdx-audio?

imo, next new ft8cn version wouldn't be different that just split rig type to prevent distinguish.

是的,对于(tr)uSDX来说,没什么变化,除了重采样的的计算做了些修改。

bg7yoz commented 1 year ago

膜拜大佬^_^ 目前我选择480,可以发射——用了一个手台接收到信号。不幸的是,从手台里传出的声音,没有ft8那独特的音频声。 也许这可以解释为什么我的呼叫都没有被应答😂 期待新版本

When will the new version be released?

下一个版本可能会等很长一段时间,最近在忙于对某型号的电台做一些适配工作。

rmoravcik commented 1 year ago

So has anyone successfully been able to use audio over CAT (only the USB cable) using a trusdx and FT8CN? I've spent many, many hours troubleshooting and still can't get it to work (I mentioned earlier, the no transmit problem). If I can't get an answer on the support forum here, I don't know what else to do. I hate to buy a digirig, but it looks like I may have to do that.

For me it's working except occasional disconnection error. Two weeks ago I did ~100 QSOs during weekend using just USB cable.

引起断开的原因,很有可能是天线不平衡造成的射频干扰。

I did an test in "practice mode" enabled. This means, that transmitter is disabled during transmission and not emitting any radio signals and disconnection happened also in practice mode. So, the reason is probably something else.

If you have some other idea or you can add some more traces, I'm happy to test it and reproduce. Thank you.