0x9900 / SA818

Programming software for the SA818 radio module.
BSD 2-Clause "Simplified" License
38 stars 19 forks source link

Set Filters and yesno arg #12

Closed sp2ong closed 2 years ago

sp2ong commented 2 years ago

Hi,

I have a question about the FILTERS setup in SA818 using this program

In the code, the "yesno" procedure corresponds to YES 1 and NO 0 https://github.com/0x9900/SA818/blob/main/sa818.py#L249

by setting filters options

sa818 filtes --empahasis yes --highpass yes --lowpass yes

the parameters are described

--emphasis EMPHASIS Enable [Pr/De]-emphasis (yes/no) [default: no] --highpass HIGHPASS Enable high pass filter (yes/no) [default: no] --lowpass LOWPASS Enable low pass filters (yes/no) [default: no]

sent commands to SA818 with used "yes" will be

AT_SETFILTER = 1,1,1

so value 1 corresponds to "bypass" so isn't it enabled???

Perhaps I misunderstand the term "bypass"

0x9900 commented 2 years ago

Congratulations, you found a bug. I pushed a new version. The message should be more clear now. Thanks -fred-

sp2ong commented 2 years ago

OK nice and thank you very much

sp2ong commented 1 year ago

Hi Does it look like I am wrong in my suggestion ? Today I turn on DEBUG mode and I see that

a818 --debug filters --emphasis yes --highpass yes --lowpass yes SA818: DEBUG: Namespace(debug=True, emphasis=True, func='filters', highpass=True, lowpass=True, port=None) SA818: DEBUG: Sending: AT+SETFILTER=0,0,0

so AT+SETFILTER=0,0,0 it is mean that filters are ENABLED

sa818 --debug filters --emphasis no --highpass no --lowpass no SA818: DEBUG: Namespace(debug=True, emphasis=False, func='filters', highpass=False, lowpass=False, port=None) SA818: DEBUG: Sending: AT+SETFILTER=1,1,1

so value 1 corresponds to "bypass" so isn't it enabled???

Perhaps I misunderstand the term "bypass"

in manual SA818 is for example for pre/de emphasis:

PRE/DE-EMPH: 1: emphasis bypass 0: emphasis normal

sp2ong commented 1 year ago

I suppose it is that you are using negation on YES/NO value in cmd

cmd = "{}={},{},{}".format(self.FILTER, int(not opts.emphasis), int(not opts.highpass), int(not opts.lowpass))

I don't know why is used negation input value if in "def yesno()" YES is equivalent to 1

def yesno(parg): yes_strings = ["y", "yes", "true", "1", "on"] no_strings = ["n", "no", "false", "0", "off"]

0x9900 commented 1 year ago

I have fixed that in the new version

sp2ong commented 1 year ago

Thank you very much

73 Waldek SP2ONG

sp2ong commented 5 months ago

Hi

I am back again to this issue, help show:

--emphasis EMPHASIS Disable [Pr/De]-emphasis (yes/no) [default: no] --highpass HIGHPASS Disable high pass filter (yes/no) [default: no] --lowpass LOWPASS Disable low pass filters (yes/no) [default: no]

In the new version 0.2.4 I see in debug mode when I set DIISABLE all filters setting "yes" in command:

sa818 --debug --port /dev/ttyS0 filters --emphasis yes --highpass yes --lowpass yes

Debug show that Pre/De-emphasis is set to 0 not to 1, Is that correct ??

SA818: DEBUG: Sending: AT+SETFILTER=0,1,1

sp2ong commented 5 months ago

I suppose that in line 164

https://github.com/0x9900/SA818/blob/00ce98dcc853a033437c4778e65dc0803871561a/sa818.py#L164C5-L164C93

cmd = f"{self.FILTER}={int(not opts.emphasis)},{int(opts.highpass)},{int(opts.lowpass)}"

the not is not necessary for opts.emphasis

sp2ong commented 5 months ago

I see another script use to program SA818 and when

PreEmphasis Enabled: n
High Pass Enabled: n
Low Pass Enabled: n

The script sends the command:

AT+SETFILTER=1,1,1

So according to your help

--emphasis EMPHASIS Disable [Pr/De]-emphasis (yes/no) [default: no] --highpass HIGHPASS Disable high pass filter (yes/no) [default: no] --lowpass LOWPASS Disable low pass filters (yes/no) [default: no]

sa818 --debug --port /dev/ttyS0 filters --emphasis yes --highpass yes --lowpass yes

should send command:

AT+SETFILTER=1,1,1

0x9900 commented 4 months ago

Yes, that’s normal. If you look at page 5 of the programming manual, you will see the following:

1: emphasis bypass 0: emphasis normal

Which means 0 is on and 1 is off.

-fred-

On Apr 22, 2024, at 00:06, Waldek @.***> wrote:

I see another script use to program SA818 and when PreEmphasis Enabled: n High Pass Enabled: n Low Pass Enabled: n

The script sends the command: AT+SETFILTER=1,1,1 So according to your help --emphasis EMPHASIS Disable [Pr/De]-emphasis (yes/no) [default: no] --highpass HIGHPASS Disable high pass filter (yes/no) [default: no] --lowpass LOWPASS Disable low pass filters (yes/no) [default: no] sa818 --debug --port /dev/ttyS0 filters --emphasis yes --highpass yes --lowpass yes should send command: AT+SETFILTER=1,1,1 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

-- Fred C. I’m not good at giving advice. Can I interest you in a sarcastic comment? @.*** https://0x9900.com/ https://www.qrz.com/db/W6BSD For band activity, https://bsdworld.org/

sp2ong commented 4 months ago

HIGHPASS: 1: voice_highpass_filter_bypass 0: voice_highpass_filter normal LOWPASS: 1: voice_lowpass_filter_bypass 0: voice_lowpass_filter normal

so why when is set --highpass HIGHPASS Disable high pass filter yes -lowpass LOWPASS Disable low pass filters yes

your program send command:

AT+SETFILTER=0,1,1

???? I can not understood why for PreEMPHASIS Disable: yes mean 0 ? i AT command

sp2ong commented 4 months ago

Sorry for the stupid question because I can't understand

as you wrote 1: emphasis bypass where 1 is mean ON

1: voice_highpass_filter_bypass is ON or OFF ???

sp2ong commented 4 months ago

What is interesting when I send command to SA818 with all 1,1,1

SA818: DEBUG: Sending: AT+SETFILTER=1,1,1

SA818 replay info:

SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: Yes, high-pass: Yes, low-pass: Yes

sp2ong commented 4 months ago

For me is simple, question. If I want, switch off all FILTERS I need to send AT command

SA818: DEBUG: Sending: AT+SETFILTER=0,0,0

where SA818 send me replay:

SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: No, high-pass: No, low-pass: No

and If I want switch ON all filters /, I need to send command: SA818: DEBUG: Sending: AT+SETFILTER=1,1,1

and SA818 send me replay:

SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: Yes, high-pass: Yes, low-pass: Yes

0x9900 commented 4 months ago

This is what I get:

√ sa818 % ./sa818.py --debug --port /dev/cu.usbserial-A50285BI filters --emphasis yes --lowpass yes --highpass yes SA818: DEBUG: Namespace(debug=True, port='/dev/cu.usbserial-A50285BI', speed=9600, emphasis=True, highpass=True, lowpass=True, func='filters') SA818: DEBUG: Serial(port='/dev/cu.usbserial-A50285BI', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False) SA818: DEBUG: Sending: AT+DMOCONNECT SA818: DEBUG: Sending: AT+SETFILTER=0,1,1 SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: Yes, high-pass: Yes, low-pass: Yes

√ sa818 % ./sa818.py --debug --port /dev/cu.usbserial-A50285BI filters --emphasis yes --lowpass yes --highpass yes SA818: DEBUG: Namespace(debug=True, port='/dev/cu.usbserial-A50285BI', speed=9600, emphasis=False, highpass=True, lowpass=True, func='filters') SA818: DEBUG: Serial(port='/dev/cu.usbserial-A50285BI', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False) SA818: DEBUG: Sending: AT+DMOCONNECT SA818: DEBUG: Sending: AT+SETFILTER=1,1,1 SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: No, high-pass: Yes, low-pass: Yes

On the SA818, for the lowpass and highpass filters, 1 means on, and 0 means off. The emphasis 0 means normal (emphasis on), and 1 means bypass (emphasis off). I don’t know why the guys who developed the cheap did it that way.

You can check pages 5 and 6 of the programming manual: https://github.com/0x9900/SA818/blob/main/docs/SA818_programming_manual.pdf

-fred-

On Apr 22, 2024, at 08:18, Waldek @.***> wrote:

For me is simple, question. If I want, switch off all FILTERS I need to send AT command

SA818: DEBUG: Sending: AT+SETFILTER=0,0,0/

where SA818 send me replay:

SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: No, high-pass: No, low-pass: No

and If I want switch ON all filters /, I need to send command: SA818: DEBUG: Sending: AT+SETFILTER=1,1,1

and SA818 send me replay:

SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: Yes, high-pass: Yes, low-pass: Yes

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2069850295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXCVF7BTFVIOF2WRH2TY6US2RAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBWHE4DKMBSHE2Q. You are receiving this because you modified the open/close state.

sp2ong commented 4 months ago

Nice :-)

Our SA818 respond on command

sa818 --debug --port /dev/ttyS1 filters --emphasis yes --highpass yes --lowpass yes SA818: DEBUG: Namespace(debug=True, port='/dev/ttyS1', speed=9600, emphasis=True, highpass=True, lowpass=True, func='filters') SA818: DEBUG: Serial(port='/dev/ttyS1', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False) SA818: DEBUG: Sending: AT+DMOCONNECT SA818: DEBUG: Sending: AT+SETFILTER=1,1,1 SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: Yes, high-pass: Yes, low-pass: Yes

It maybe bug in firmware version SA818 ?? I check on SA818S and SA818 I have similar respond from SA818 module Can you share version SA8188 firmware ???

So for our SA818 which we use I must correct your code and remove not for emphasis to send string 1,1,1 because is correct quality audio

sp2ong commented 4 months ago

I have check version firmware which we use on SA818 and SA818S is V1.1 sa818 --debug --port /dev/ttyS1 version SA818: DEBUG: Sending: AT+VERSION SA818: INFO: Firmware version: V1.1

What version firmware is your SA818?

0x9900 commented 4 months ago

Man, you have an old one.

√ sa818 % ./sa818.py --port /dev/cu.usbserial-A50285BI version SA818: INFO: Firmware version: V4.2

On Apr 22, 2024, at 09:56, Waldek @.***> wrote:

I have check version firmware which we use on SA818 and SA818S is V1.1 sa818 --debug --port /dev/ttyS1 version SA818: DEBUG: Sending: AT+VERSION SA818: INFO: Firmware version: V1.1

What version firmware is your SA818?

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2070229364, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXEGQ3CURM7DYDOMM73Y6U6MVAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGAZDEOJTGY2A. You are receiving this because you modified the open/close state.

-- Fred C. I’m not good at giving advice. Can I interest you in a sarcastic comment? @.*** https://0x9900.com/ https://www.qrz.com/db/W6BSD For band activity, https://bsdworld.org/

sp2ong commented 4 months ago

Interesting that SA818S is new module NICE-RF and has firmware version V1.1 so it maybe who produce firmware in SA818 is no proper set in EPROM

Look Nice_RF page: https://www.nicerf.com/walkie-talkie-module/walkie-talkie-module-sa818s-ce.html

But good know that version 4.2 has bug in EMPHASIS set filter :-)

0x9900 commented 4 months ago

It looks like it is the same with the SA818S

Parameter description: PRE/DE-EMPH, 0 means pre-emphasis/de-emphasis is on, 1 means pre-emphasis/de-emphasis is off;

On Apr 22, 2024, at 10:15, Waldek @.***> wrote:

Interesting that SA818S is new module NICE-RF and has firmware version V1.1 so it maybe who produce firmware in SA818 is no proper set in EPROM

Look Nice_RF page: https://www.nicerf.com/walkie-talkie-module/walkie-talkie-module-sa818s-ce.html

But good know that version 4.2 has bug in EMPHASIS set filter :-)

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2070295815, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXGRWEYGVPOZW4H6FFLY6VASJAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGAZDSNJYGE2Q. You are receiving this because you modified the open/close state.

-- Fred C. I’m not good at giving advice. Can I interest you in a sarcastic comment? @.*** https://0x9900.com/ https://www.qrz.com/db/W6BSD For band activity, https://bsdworld.org/

sp2ong commented 4 months ago

Thank you for the discussions and exchange of experiences and I know that the matter is not simple, depending on the radio modules they are used, EMPHASIS may be set differently

73 Waldek

0x9900 commented 4 months ago

I hate when companies lack of consistency. I have ordered an SA868. It’s one of their new products that has more power and a few interesting improvements. I will modify the program to include these new features as soon as I get the new module.

BTW, what is your callsign?

73 and Have fun. -fred-

On Apr 22, 2024, at 10:43, Waldek @.***> wrote:

Thank you for the discussions and exchange of experiences and I know that the matter is not simple, depending on the radio modules they are used, EMPHASIS may be set differently

73 Waldek

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2070393500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXGX6DLGB647VW3JIITY6VD3JAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGAZTSMZVGAYA. You are receiving this because you modified the open/close state.

sp2ong commented 4 months ago

Hi,

My callsign is SP2ONG I am working on dashboard for hotspots where is possibility setup SA818 from Website

The project page is

https://fm-poland.pl/

0x9900 commented 4 months ago

It is an excellent site with exciting projects. Unfortunately, I don’t read Polish.

Also, after reading the documentation for the SA818 and SA818S, I concluded that all the filters take 0 for on and 1 for off. I have changed the program. The new version is on GitHub and PyPi.

73 -fred-

On Apr 22, 2024, at 11:17, Waldek @.***> wrote:

Hi,

My callsign is SP2ONG I am working on dashboard for hotspots where is possibility setup SA818 from Website

The project page is

https://fm-poland.pl/

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2070517195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXCCP7X5TDE3S2O7TTTY6VH4NAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGA2TCNZRHE2Q. You are receiving this because you modified the open/close state.

sp2ong commented 4 months ago

Hi,

OK author python2 script for programming SA818 for Allstar Link project use

ENABLE filter send command AT+SETFILTER=0,0,0 DISABLE filter send command AT+SETFILTER=1,1,1

I found information on page OH2LAK: https://oh2lak.blogspot.com/2019/02/further-experiments-with-sa818.html

According to the the SA818 programming manual topic 3.5 "Audio Filet Command" I switched off the filtering by issuing command AT+SETFILTER=1,1,1 which disables pre- and de-emphasis and high- and lowpass filters.

But at the current version is correct help for setting filters?

--emphasis EMPHASIS Disable [Pr/De]-emphasis (yes/no) --highpass HIGHPASS Disable high pass filter (yes/no) --lowpass LOWPASS Disable low pass filters (yes/no)

When I set according to help switch OFF filters (DISABLE) I need to set "yes"

sa818 --port /dev/ttyS1 filters --emphasis yes --higpass yes --lowpass yes

program sa818 v0.2.5 send command:

sa818 --debug --port /dev/ttyS1 filters --emphasis yes --highpass yes --lowpass yes SA818: DEBUG: Namespace(debug=True, port='/dev/ttyS1', speed=9600, emphasis=True, highpass=True, lowpass=True, func='filters') SA818: DEBUG: Serial(port='/dev/ttyS1', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False) SA818: DEBUG: Sending: AT+SETFILTER=0,0,0

so rather should be AT+SETFILTER=1,1,1

You must change help maybe to ?

--emphasis EMPHASIS Enable [Pr/De]-emphasis (yes/no) --highpass HIGHPASS Enable high pass filter (yes/no) --lowpass LOWPASS Enable low pass filters (yes/no)

when send AT+SETFILTER=0,0,0 as you wrote 0 means ON filter

if you use in HELP "Disable" you must remove "not" in the code during the send AT command to set filters

sp2ong commented 4 months ago

The only thing I can confirm is that if we set the filters disabled in our SA818 modules by typing the command AT+SETFILTER=1,1,1 provide the expected audio, i.e. the so-called FLAT AUDIO, similarly to GM340 Motorola with accessory pins.

73 Waldek

sp2ong commented 4 months ago

Below is part of the information from Allstar link script python2 for programming SA818:

# Set Filters:
# convert filters values, 0 is enable, and 1 is disable
 if PreEmphasis == "n":
     PreEmpFilter='1'
  else:
       PreEmpFilter='0'
  if HighPass == "n":
        HPass='1'
  else:
         HPass='0'
  if LowPass == "n":
         LPass='1'
  else:
         LPass='0'
sp2ong commented 4 months ago

I asked GNiceRF support what the programming options regarding Pre/De-Emphasis mean and received the following information:

  This option affects the transmission of audio signals from 100Hz to 300Hz.
  PRE/DE-EMPH: 
  1:  emphasis bypass: Can transmit 100Hz~3KHz audio signal
  0:  emphasis normal: Can transmit 300Hz~3KHz audio signal
0x9900 commented 4 months ago

For FM transmission, the emphasis should be on. It can be done by the radio (Motorola or SA818) or by the Allstar software. One thing you don’t want is to have it on in the software and the radio. From my experience, the emphasis on the radio gives better audio. If you are doing digital, you want to have no emphasis turned on.

The code you sent me on the previous email shows what’s on the new version 0 means ON and 1 means OFF. I will look at the help messages and try to make it more clear.

Thanks 73 -fred-

On Apr 22, 2024, at 22:46, Waldek @.***> wrote:

The only thing I can confirm is that if we set the filters disabled in our SA818 modules by typing the command AT+SETFILTER=1,1,1 provide the expected audio, i.e. the so-called FLAT AUDIO, similarly to GM340 Motorola with accessory pins.

73 Waldek

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2071456148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXHLAA6L4NROS746HGLY6XYSDAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGE2DKNRRGQ4A. You are receiving this because you modified the open/close state.

-- Fred C. I’m not good at giving advice. Can I interest you in a sarcastic comment? @.*** https://0x9900.com/ https://www.qrz.com/db/W6BSD For band activity, https://bsdworld.org/

sp2ong commented 4 months ago

Hi, Our experience shows that SA818 should be set to AT+SETFILTER=1,1,1 i.e. switch OFF all filters as GNiceRF wrote emphasis 1 in SA818 provides a wider frequency spectrum and we use svxlink software which enables pre-emphasis and de-emphasis which gives the best sound We tried different settings, we also have close quality audio when AT+SETFILTER=0,0,0 (i.e. all filters turned on) and preemphasis and deemphasis turned off in svxlink, but we have more complete audio with AT+SETFILTER=1,1,1 and PRE/ Demphasisi in svxlink ON

I am curious about Lowpass and Highpass filters of frequency ranges in SA818, I asked support about it but I have no answer yet

73 Waldek

sp2ong commented 4 months ago

Hi Fred,

I think you can change only in help for filters "Disable" to "Enable"

--emphasis EMPHASIS Enable [Pr/De]-emphasis (yes/no) [default: no]
--highpass HIGHPASS Enable high pass filter (yes/no) [default: no]
--lowpass LOWPASS Enable low pass filters (yes/no) [default: no]

It will be clear so if I set:

sa818 --debug --port /dev/ttyS1 filters --emphasis no --highpass no --lowpass no

it will be sent AT command

AT+SETFILTER=1,1,1

0x9900 commented 4 months ago

You can check the new version that I have just pushed. I think it will be less ambiguous. Instead of using yes and no, I use enable and disable. I have also replaced the argument close_tail by tail with [open/close] for parameter.

I have tested as much as I could, let me know if you find any problems.

73 -fred-

On Apr 23, 2024, at 08:38, Waldek @.***> wrote:

Hi Fred,

I think you can change only in help for filters "Disable" to "Enable"

--emphasis EMPHASIS Enable [Pr/De]-emphasis (yes/no) [default: no] --highpass HIGHPASS Enable high pass filter (yes/no) [default: no] --lowpass LOWPASS Enable low pass filters (yes/no) [default: no] It will be clear so if I set:

sa818 --debug --port /dev/ttyS1 filters --emphasis no --highpass no --lowpass no

it will be sent AT command

AT+SETFILTER=1,1,1

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2072747183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXFSTDYDLFGCN3OG3UDY6Z6AVAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGI3TINZRHAZQ. You are receiving this because you modified the open/close state.

sp2ong commented 4 months ago

Hi Fred,

Yes, your proposal is very good and now clearly defines how to set up filters. Thanks, and I will adapt my html code in dashboard to the new version.

73 Waldek

sp2ong commented 4 months ago

Hi Fred,

For your information, we checked on another SA818 module which has firmware v1.11 and use the latest code sa818

  sa818 --debug --port /dev/ttyS1 filters --emphasis disable --highpass disable --lowpass disable
  SA818: DEBUG: Namespace(debug=True, port='/dev/ttyS1', speed=9600, emphasis=1, highpass=1, lowpass=1, func='filters')
  SA818: DEBUG: Serial<id=0xb66d0e98, open=True>(port='/dev/ttyS1', baudrate=9600, bytesize=8, parity='N', stopbits=1, t    timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False)
  SA818: DEBUG: Sending: AT+DMOCONNECT
  SA818: DEBUG: Sending: AT+SETFILTER=1,1,1
  SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: disabled, high-pass: disabled, low-pass: disabled

  sa818 --debug --port /dev/ttyS1 version
  SA818: DEBUG: Namespace(debug=True, port='/dev/ttyS1', speed=9600, func='version')
  SA818: DEBUG: Serial<id=0xb66bfeb0, open=True>(port='/dev/ttyS1', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False)
  SA818: DEBUG: Sending: AT+DMOCONNECT
  SA818: DEBUG: Sending: AT+VERSION
  SA818: INFO: Firmware version: V1.11

Interesting info from radio

 SA818: INFO: DMOSETFILTER:0 filters [Pre/De]emphasis: disabled, high-pass: disabled, low-pass: disabled

wheres instead "Yes" is 'disable" :-)

It seems that the software version number is so different that it cannot be used as a reference :-)

0x9900 commented 4 months ago

I don’t understand the problem here. It looks like everything is still working with that version of the firmware.

-fred-

On Apr 24, 2024, at 01:40, Waldek @.***> wrote:

Hi Fred,

For your information, we checked on another SA818 module which has firmware v1.11 and use the latest code sa818

sa818 --debug --port /dev/ttyS1 filters --emphasis disable --highpass disable --lowpass disable SA818: DEBUG: Namespace(debug=True, port='/dev/ttyS1', speed=9600, emphasis=1, highpass=1, lowpass=1, func='filters') SA818: DEBUG: Serial(port='/dev/ttyS1', baudrate=9600, bytesize=8, parity='N', stopbits=1, t timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False) SA818: DEBUG: Sending: AT+DMOCONNECT SA818: DEBUG: Sending: AT+SETFILTER=1,1,1 SA818: INFO: +DMOSETFILTER:0 filters [Pre/De]emphasis: disabled, high-pass: disabled, low-pass: disabled

sa818 --debug --port /dev/ttyS1 version SA818: DEBUG: Namespace(debug=True, port='/dev/ttyS1', speed=9600, func='version') SA818: DEBUG: Serial(port='/dev/ttyS1', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False) SA818: DEBUG: Sending: AT+DMOCONNECT SA818: DEBUG: Sending: AT+VERSION SA818: INFO: Firmware version: V1.11 Interesting info from radio

SA818: INFO: DMOSETFILTER:0 filters [Pre/De]emphasis: disabled, high-pass: disabled, low-pass: disabled wheres instead "Yes" is 'disable" :-)

It seems that the software version number is so different that it cannot be used as a reference :-)

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2074408199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXBLSFHVFIGIHJSSKZTY65VXPAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGQ2DAOBRHE4Q. You are receiving this because you modified the open/close state.

-- Fred C. I’m not good at giving advice. Can I interest you in a sarcastic comment? @.*** https://0x9900.com/ https://www.qrz.com/db/W6BSD For band activity, https://bsdworld.org/

sp2ong commented 4 months ago

Yes, working very well :-) But I see that show "Disable/Enable" instead "Yes/No" :-) from report radio is more clear

0x9900 commented 4 months ago

Oh yes, I also think it makes it clear now if the filters are active or not. Thank you very much for your help debugging. I am glad you find that tool helpful.

73 -fred-

On Apr 24, 2024, at 07:40, Waldek @.***> wrote:

Yes, working very well :-) But I see that show "Disable/Enable" instead "Yes/No" :-) from report radio is more clear

— Reply to this email directly, view it on GitHub https://github.com/0x9900/SA818/issues/12#issuecomment-2075114214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2VXF5STBBFGGJUETLBXTY6677PAVCNFSM5IDVBN5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBXGUYTCNBSGE2A. You are receiving this because you modified the open/close state.

-- Fred C. I’m not good at giving advice. Can I interest you in a sarcastic comment? @.*** https://0x9900.com/ https://www.qrz.com/db/W6BSD For band activity, https://bsdworld.org/