[ccr1036][6.33][sms]How to initialize SMS GSM modem tool?

use ros 6.33



[m@s] /tool sms> /system serial-terminal serial0 channel=0

[Ctrl-A is the prefix key]

at+cpin?
+CPIN: READY

at+cfun=0
OK
at+cfun=1
OK
at+cpin=1234
OK
at+cpin?
+CPIN: READY

at+gmi
WAVECOM MODEM

OK
at+gmm
MULTIBAND 900E 1800

OK
ati
WAVECOM MODEM

MULTIBAND 900E 1800

OK
at+gmr
532a09gg.2C2 1828120 040802 18:22

at+cmgs=“2222222***”

test

+CMGS: 1

OK




[m@s] /tool sms> send serial0 channel=0 phone-number=2222**** message=go
failure: timeout




What is the solution.
1.JPG

The channels field tells you how many channels are on that port, not the channel number, and the first channel is channel 0 on each port. So there is no channel=1.

You have to use:
/system serial-terminal serial0 channel=0
/system serial-terminal serial1 channel=0

Or just drop the channel parameter completely (because there is only 1 channel for each port):
/system serial-terminal serial0
/system serial-terminal serial1

hold up

I can use the CLI command line to use channel=0,
But can not open the SMS receiver function, tip: couldn’t change SMS settings- timeout

CLI command line is unable to use channel=1,
Tip: no such channel failure:
SMS receiver function is also unable to use channel=1
/tool sms set receive-enabled=yes

[m@s] /tool sms> send serial0 channel=0 phone-number=2222222*** message=go
failure: timeout
[m@s] /tool sms> send serial0 channel=1 phone-number=2222222*** message=go
failure: no such channel
[m@s] /tool sms> send serial1 channel=1 phone-number=2222222*** message=go
failure: no such channel
[m@s] /tool sms> send serial1 channel=0 phone-number=2222222*** message=go
failure: timeout
[m@s] /tool sms>




[m@s] > /system serial-terminal channel=0
port: serial0

[Ctrl-A is the prefix key]


at
OK
at
OK
AT
OK
at+cmgs=“2222222***”

test

+CMGS: 1

OK

[Q - quit connection] **[A - send Ctrl-A prefix] [R - autoconfigure rate]
Welcome back!


[m@s] /port> /system serial-terminal channel=1
port: serial0
failure: no such channel




[m@s] /port> pri
Flags: I - inactive

DEVICE NAME CHANNELS USED-BY BAUD-RATE

0 serial0 1 19200
1 serial1 1 19200
[mf@sys] /port>**

[m@s] /tool sms> /system serial-terminal serial0 channel=0

[Ctrl-A is the prefix key]

at+cpin?
+CPIN: READY

at+cfun=0
OK
at+cfun=1
OK
at+cpin=1234
OK
at+cpin?
+CPIN: READY

at+gmi
WAVECOM MODEM

OK
at+gmm
MULTIBAND 900E 1800

OK
ati
WAVECOM MODEM

MULTIBAND 900E 1800

OK
at+gmr
532a09gg.2C2 1828120 040802 18:22

at+cmgs=“2222222***”

test

+CMGS: 1

OK




[m@s] /tool sms> send serial0 channel=0 phone-number=2222**** message=go
failure: timeout



hold on