[LetuxOS] Cell broadcast messages on the gta04
Andreas Kemnade
andreas at kemnade.info
Thu Sep 12 11:34:03 CEST 2024
Hi,
Am Wed, 11 Sep 2024 11:38:15 +0200
schrieb "Dr. Michael 'Mickey' Lauer" <mickey at vanille.de>:
> A quick check on the ancient freesmartphone code as per
> https://github.com/freesmartphone/cornucopia/blob/master/fsogsmd/src/lib/at/atcbmediators.vala
> leads to AT+CSCB=[<mode>[,<mids>[,<dcss>]]] being the standard
> command.
>
so ignore(1) nothing("","") does not work
AT+CSCB=1,"",""
ERROR
AT+CSCB?
+CSCB: 0,
"0,199,299,4352-4356,4370,4383,4356,4352-4354,4370-4379,4383-4392",""
OK
so bootup some list of selected channels is received, tried to extend
that
AT+CSCB=0, "0-99,100-199,200-999,1000-9000",""
OK
Now I had
AT+CSCB?
+CSCB: 0,
"0,199,299,4352-4356,4370,4383,4356,4352-4354,4370-4379,4383-4392,0-99,100-199,200-999,1000-9000",""
OK
But silence at 11 o'clock both on ttyHS_Modem and Application.
AT+CSCB=?
+CSCB: (0-1)
OK
so this suggests that only simple one parameter calls are accepted.
AT+CSCB=1
OK
AT+CSCB?
+CSCB: 1, "4370,4370-4379,1000-9000",""
OK
AT+CSCB=0
OK
AT+CSCB?
+CSCB: 0, "0-4369,4371-65535,4370,4370-4379,1000-9000",""
OK
I have seen the other commands too late, so I can only check setup
AT+CNMI?
+CNMI: 2,2,2,0,0
OK
so things should be received. I had added that command to simple-gsm
last time.
@@ -49,7 +49,7 @@ class GSMModem : Object {
bool calling;
bool seen_call_state;
string oldline;
- string [] unsoc_init =
{"AT+CLIP=1","AT+CREG=2","AT+CSQ","AT+CTZU=1","AT+CREG?"};
+ string [] unsoc_init =
{"AT+CLIP=1","AT+CREG=2","AT+CSQ","AT+CTZU=1","AT+CREG?","AT+CNMI=2,2,2,0,0"};
Regards,
Andreas
More information about the Gta04-owner
mailing list