Samsung SGH-X680

From GnokiiWiki
Jump to: navigation, search


Contents

Versions

gnokii: 0.6.22.

Configuration

Config 1: Linux, Bluetooth connection

port = <mac-address>
model = AT
connection = bluetooth

Config 2: Linux, Manual Bluetooth connection

$ rfcomm connect 0 <mac-address> 1

In the gnokii config:

port = /dev/rfcomm0
model = AT
connection = serial

Config 3: Linux, USB connection

To be tested.

Working Features

Security

--identify

IMEI         : [...]
Manufacturer : Samsung
Modell       : SGH-X680
Product name : SGH-X680
Revision     : X680NXXFJ2

SMS

--sendsms

Works for normal text SMS.

--getsms

Date broken. Works otherwise.

1. MO Message (read)
Date/time: 00/00/2000 00:00:00 
Receiver: +436642211347 Msg Center: +436990001999
Text:
Ok

Debugging

read : [AT+CMGR=1<cr><cr><lf>+CMGR:3,,16<cr><lf>079134960900919911390C913466241231740000A702CF35<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0051
02 41 54 2b 43 4d 47 52 3d 31 0d 0d 0a 2b 43 4d |  AT+CMGR=1   +CM
47 52 3a 33 2c 2c 31 36 0d 0a 30 37 39 31 33 34 | GR:3,,16  079134
39 36 30 39 30 30 39 31 39 39 31 31 33 39 30 43 | 960900919911390C
39 31 33 34 36 36 32 34 31 32 33 31 37 34 30 30 | 9134662412317400
30 30 41 37 30 32 43 46 33 35 0d 0a 0d 0a 4f 4b | 00A702CF35    OK
0d                                              |                 
Received message type 18
079134960900919911390C913466241231740000A702CF35
SMS-SUBMIT found
Mobile Originated (stored) message:
        Date: 2000-00-00 00:00:00 +0000

--getsmsc

SMS center number is 436990001999
Default recipient number is 
Messages sent as Text
Message validity is Maximum time
Serial device: closing device

Phonebook

--getphonebook

Works except for the crash when #last_name == NULL. Patch pending.

Dialling

--dialvoice

Works expect that the cellphone forgets to terminate the string on the display and so the caller information looks "interesting" sometimes. Nothing gnokii can do about this :)

Misc

--listnetworks

(probably not a remote command).

Works.

Completely Broken Features

Phone Settings

--getdatetime

Doesn't work.

Debugging

write: [AT+CCLK?<cr>]
read : [AT+CCLK?<cr><cr><lf>+CCLK: 08/01/18,16:25:48<cr><cr><lf>OK<cr><lf>]
Message received: 0x25 / 0x002a
02 41 54 2b 43 43 4c 4b 3f 0d 0d 0a 2b 43 43 4c |  AT+CCLK?   +CCL
4b 3a 20 30 38 2f 30 31 2f 31 38 2c 31 36 3a 32 | K: 08/01/18,16:2
35 3a 34 38 0d 0d 0a 4f 4b 0d                   | 5:48   OK       
Received message type 25
Error: Command failed.

Misc

--getnetworkinfo

Error: Command failed.

Unimplemented Features

SMS

--createsmsfolder

Error: Command called isn't implemented in model.

--deletesmsfolder

Error: Command called isn't implemented in model.

--showsmsfolderstatus

Cannot list available folders: Command called isn't implemented in model.

ToDo

--gettodo

The ToDo note could not be read: Command called isn't implemented in model.

--writetodo

(I have no VCalendar file at the moment)

--deletealltodos

Failed to delete ToDo note: Command called isn't implemented in model.

Calendar

--getcalendarnote

The calendar note can not be read: Command called isn't implemented in model.

--writecalendarnote

(I have no VCalendar file at the moment)

--deletecalendarnote

The calendar note cannot be deleted: Command called isn't implemented in model.

Dialling

--answercall

When either a call is waiting or no call is waiting

Message received: 0x3a / 0x000d
03 41 54 41 0d 0d 0a 45 52 52 4f 52 0d          |  ATA   ERROR    
Received message type 3a
Error: Unknown error - well better than nothing!!

--hangup

Doesn't hang up but says

OK.

Where do I get the line ID from?

Debugging

Message sent: 0x3b / 0x0008
41 54 2b 43 48 55 50 0d                         | AT+CHUP         
write: [AT+CHUP<cr>]
read : [AT+CHUP<cr><cr><lf>OK<cr><lf>]
Message received: 0x3b / 0x000e
02 41 54 2b 43 48 55 50 0d 0d 0a 4f 4b 0d       |  AT+CHUP   OK   
Received message type 3b
Serial device: closing device

--senddtmf

Doesn't work.

Debugging

Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM         
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>SGH-X680<cr><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0019
02 41 54 2b 43 47 4d 4d 0d 0d 0a 53 47 48 2d 58 |  AT+CGMM   SGH-X
36 38 30 0d 0d 0a 4f 4b 0d                      | 680   OK        
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d                         | AT+CGMI         
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>Samsung<cr><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0018
02 41 54 2b 43 47 4d 49 0d 0d 0a 53 61 6d 73 75 |  AT+CGMI   Samsu
6e 67 0d 0d 0a 4f 4b 0d                         | ng   OK         
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?        
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: PCCP437<cr><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x0020
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 50 43 43 50 34 33 37 0d 0d 0a 4f 4b 0d | S: PCCP437   OK 
Received message type 61
Initialisation completed
Message sent: 0x42 / 0x0009
41 54 2b 56 54 53 3d 3f 0d                      | AT+VTS=?        
write: [AT+VTS=?<cr>]
read : [AT+VTS=?<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x42 / 0x0012
03 41 54 2b 56 54 53 3d 3f 0d 0d 0a 45 52 52 4f |  AT+VTS=?   ERRO
52 0d                                           | R               
Received message type 42
Error: Function or connection type not supported by the phone or by the phone  driver.

--getspeeddial

Error: Command called isn't implemented in model.

--setspeeddial

Error: Command called isn't implemented in model.

(tried: "caller", "startup", "op").

Error: Command called isn't implemented in model.

Profile

--getprofile

Error: Command called isn't implemented in model.

--setprofile

(I have no idea what to pass as input on stdin to this).

--getactiveprofile

Cannot get active profile: Command called isn't implemented in model.

--setactiveprofile

Cannot set active profile to 1: Command called isn't implemented in model.

Phone Settings

--getalarm

Error: Command called isn't implemented in model.

Security

--getlocksinfo

Command called isn't implemented in model.

File

--getfilelist

Failed to get info for 1: Command called isn't implemented in model.

Untested Features

SMS

--sendsms with [-i|--imelody] --savesms --getsms [-F|--force-file]... [-d|--delete] --deletesms --setsmsc


--smsreader

Phonebook

--writephonebook [-m|--memory-type|--memory [-n|--memory-location|--location --vcard]|[-l|--ldif --deletephonebook


Dialling

--divert {--type|-t} {--call|-c} [{--timeout|-m} [{--number|-n}


Phone Settings

--reset --setdatetime

--setalarm


WAP

--getwapbookmark --writewapbookmark --deletewapbookmark --getwapsetting --writewapsetting --activatewapsetting

--sendlogo --setlogo --viewlogo

Ringtone

--sendringtone --getringtone --setringtone --playringtone --ringtoneconvert --getringtonelist --deleteringtone


File

--getfiledetailsbyid --getfileid --getfile --getfilebyid --getallfiles --putfile --deletefile --deletefilebyid

Misc

--keysequence

What's that supposed to do? It initializes then waits around doing nothing...

--enterchar

What's that supposed to do? It initializes then exits.