N0BOY / FT8CN

Run FT8 on Android
MIT License
321 stars 27 forks source link

Adding sleep before switching PTT #83

Open felangga opened 9 months ago

felangga commented 9 months ago

Trying to fix the issue that was raised here https://github.com/N0BOY/FT8CN/issues/60 Added a delay for 100ms after sending Civ data and before turning PTT on/off.

I don't know exactly why this issue happens, but it resolves on my machine.

bg7yoz commented 6 months ago

hi, @felangga 很高兴您关注ft8cn这个项目。请问,增加sleep(100)只是针对ic-7300还是所有的icom系列电台?现在0.92已经发布,暂时没有把您提交的代码加入进去,因为我不清楚解决这个问题的原理是什么?我没有ic-7300电台,无法做这方面的测试。如果在0.92中还存在这个问题,我会考虑把这行代码加入到下一个版本中。我现在不确定,是否修改成只是针对ic-7300还是所有的icom系列。

73! BG7YOZ

mackshot commented 5 months ago

Hi, I can confirm that the problem is still there in 0.92 (tested today) when using IC-7300. When using the apk from felangga it works. Unfortunately I cannot tell anything about other Icom Models. 73 Markus

felangga commented 5 months ago

@bg7yoz thank you for the response, I only have IC7300 and cannot confirm this will affect other radios. But adding the time sleep should not be major problem on other radios I think. I haven't tested the 0.92 on my radio, but it should be the same result as @mackshot. Thank you @mackshot for testing the v0.92.

73 YD2UFV

felangga commented 2 months ago

Tested on v0.92 and still not working without using the sleep() 😞

mackshot commented 2 months ago

@bg7yoz I checked several things in the last days:

1) I could not find any issues on your repository related to icom devices with the same issue 2) I could found several youtube videos (https://www.youtube.com/results?search_query=ft8cn+icom) of people using icom transceivers ic-705, ic-7000 and ic-7100 whom seems to not have a problem.

That said, I assume the problem is only related to ic-7300 and adding the sleep only for this transceiver should be enough.

What do you think? Please let me know, if you want to have more proof, then I will try to find a ham fellow with one of the other icom transceivers, but I have doubt that I will find many different devices there (most probably they have one of the transceivers of the youtube videos)

73 DM3DP