Re: SMS on Nokia C1-01

[email protected] Tue, 07 Jul 2020 08:10:24 +0100
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
On Tuesday, 7 July 2020 03:02:45 BST Roy via Gammu-users wrote:

> I think you need to set the connection type, too:
> 
> [gammu]
> device=XX:XX:XX:XX:XX:XX/3
> connection = blueat
> 
> Otherwise, I don't know. I'm using modem cards, not a phone.

Thanks again Roy,

I tried changing driver from bluephonet to blueat and noticed I don't have to 
specify channel 3 - it connects to it automatically.  So, it seems what 
channel is chosen is a driver issue:
===================================
[Gammu            - 1.41.0]
[Connection       - "blueat"]
[Connection index - 0]
[Model type       - ""]
[Device           - "XX:XX:XX:XX:XX:XX"]
[Running on       - Linux, kernel 5.4.48 (#1 SMP Sat Jun 27 10:37:16 BST 
2020)]
Looking for suitable channel for AT
Device XX:XX:XX:XX:XX:XX ("C1-01")
   Channel 9 - "OBEX Object Push" (score=0)
   Channel 10 - "OBEX File Transfer" (score=0)
   Channel 1 - "Dial-up networking" (score=0)
   Channel 15 - "Nokia PC Suite" (score=0)
   Channel 3 - "COM 1" (score=1)
   Channel 13 - "Voice Gateway" (score=0)
   Channel 12 - "Audio Gateway" (score=0)
   Channel 11 - "SyncML Client" (score=0)
   Channel 7 - "Nokia SyncML Server" (score=0)
   Channel 21 - "Phonebook Access PSE" (score=0)
   Channel 14
   Channel 4 - "SIM ACCESS" (score=0)
   Channel 20
Connecting to RF channel 3
[Module           - "auto"]
===========================

So far so good.  Then AT commands are sent and responded to by the phone, 
until this point:
===================================
Sending simple AT command to wake up some devices
SENDING frame type 0x00/length 0x03/3
41A|54T|0D                                                      AT.             
1 "AT"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x09/9
41A|54T|0D |0D |0A |4FO|4BK|0D |0A                              AT...OK..       
Enabling echo
SENDING frame type 0x00/length 0x05/5
41A|54T|45E|311|0D                                              ATE1.           
1 "ATE1"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x0B/11
41A|54T|45E|311|0D |0D |0A |4FO|4BK|0D |0A                      ATE1...OK..     
Trying Motorola mode switch
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D                          AT+MODE=2.      
Seems not to be supported
Enabling CME errors
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|311|0D                          AT+CMEE=1.      
1 "AT+MODE=2"
2 "AT+CMEE=1"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x1A/26
41A|54T|2B+|4DM|4FO|44D|45E|3D=|322|0D |41A|54T|2B+|43C|4DM|45E 
AT+MODE=2.AT+CME
45E|3D=|311|0D |0D |0A |4FO|4BK|0D |0A                          E=1...OK..      

Frame not request now. Please report the error, see <https://wammu.eu/support/
bugs/>. Thank you
=================

Additional errors therafter:
===================================
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|4DM|45E|45E|3D=|322|0D                          AT+CMEE=2.      
1 "AT+CMEE=2"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frame type 0x00/length 0x13/19
41A|54T|2B+|43C|4DM|45E|45E|3D=|322|0D |0D |0A |45E|52R|52R|4FO 
AT+CMEE=2...ERRO
52R|0D |0A                                                      R..             
CME errors could not be enabled, some error types won't be detected.
===================================

Subsequent frames are accepted and responded to without errors, condensed 
below:
===================
1 "AT+CSCS?"
2 "+CSCS: "PCCP437""
3 "OK"

1 "AT+CSCS=?"
2 "+CSCS: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX","UTF-8")"
3 "OK"

1 "AT+CSCS="HEX""
2 "OK"

1 "AT+CSCS?"
2 "+CSCS: "HEX""
3 "OK"

1 "AT+CGMM"
2 "C1-01"
3 "OK"
===================

Beyond which it fails with a number of errors:
===================
RECEIVED frame type 0x00/length 0x17/23
41A|54T|2B+|43C|47G|4DM|4DM|0D |0D |0A |43C|311|2D-|300|311|0D  
AT+CGMM...C1-01.
0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..         
Unknown model, but it should still work
[Model name: `C1-01']
[Model data: `']
[Model data: `unknown']
[Connected model  - "C1-01"]
SENDING frame type 0x00/length 0x08/8
41A|54T|2B+|43C|47G|4DM|49I|0D                                  AT+CGMI.        
1 "AT+CGMI"
2 "Nokia"
3 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x17/23
41A|54T|2B+|43C|47G|4DM|49I|0D |0D |0A |4EN|6Fo|6Bk|69i|61a|0D  
AT+CGMI...Nokia.
0A |0D |0A |4FO|4BK|0D |0A                                      ...OK..         
Manufacturer info received
HINT: Consider using Nokia specific protocol instead of generic AT.
[Manufacturer: Nokia]
Checking for OBEX support
SENDING frame type 0x00/length 0x0B/11
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D                      AT+CPROT=?.     
1 "AT+CPROT=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frame type 0x00/length 0x14/20
41A|54T|2B+|43C|50P|52R|4FO|54T|3D=|3F?|0D |0D |0A |45E|52R|52R 
AT+CPROT=?...ERR
4FO|52R|0D |0A                                                  OR..            
Checking for SYNCML/OBEX support
SENDING frame type 0x00/length 0x0C/12
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D                  AT+SYNCML=?.    
1 "AT+SYNCML=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frame type 0x00/length 0x15/21
41A|54T|2B+|53S|59Y|4EN|43C|4DM|4CL|3D=|3F?|0D |0D |0A |45E|52R 
AT+SYNCML=?...ER
52R|4FO|52R|0D |0A                                              ROR..           
SENDING frame type 0x00/length 0x0D/13
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D              AT$TSSPCSW=?.   
1 "AT$TSSPCSW=?"
2 "ERROR"
Checking line: ERROR
AT reply state: 3
RECEIVED frame type 0x00/length 0x16/22
41A|54T|24$|54T|53S|53S|50P|43C|53S|57W|3D=|3F?|0D |0D |0A |45E 
AT$TSSPCSW=?...E
52R|52R|4FO|52R|0D |0A                                          RROR..          
SENDING frame type 0x00/length 0x0A/10
41A|54T|2B+|43C|48H|55U|50P|3D=|3F?|0D                          AT+CHUP=?.      
1 "AT+CHUP=?"
2 "OK"
Checking line: OK
AT reply state: 1
RECEIVED frame type 0x00/length 0x10/16
41A|54T|2B+|43C|48H|55U|50P|3D=|3F?|0D |0D |0A |4FO|4BK|0D |0A  
AT+CHUP=?...OK..
Init:GSM_RegisterAllPhoneModules failed with error UNKNOWNMODELSTRING[19]: 
Unknown model type string. Check config file.
==========================

I tried specifying the model in different ways just in case I could get it to 
work with the blueat driver, but none of these worked:

model = C1-01
model = C1
model = C1 (RM-607)
model = RM-607

I assume the hint given in the log above to use a Nokia protocol refers to 
bluephonet - which I tried as posted earlier.  I think bluephonet connects to 
Channel 15 "Nokia PC Suite" by design and it progresses farther in reading the 
SMS folders, but sadly failing to read or send SMS - which is what I want to 
achieve:

GSM_GetSMS failed with error NOTSUPPORTED[21]: Function not supported by 
phone.

Using a USB cable and fbususb or AT drivers is even less successful, the phone 
resets each time.  Other Nokia phones I've had over the years worked without a 
problem with gnokii and gammu, but this one seems to require additional code 
not yet available.  :-(

-- 
Regards,





_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users