[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Nokia Premicell
From: |
Tristan Drinkwater |
Subject: |
RE: Nokia Premicell |
Date: |
Mon, 19 Dec 2011 08:45:13 +0000 |
Pawel,
Thanks for the update,
Here is the latest output when trying to send a sms with --sendsms
GNOKII Version 0.6.32git
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
Cannot open logfile /root/.cache/gnokii/gnokii-errors
WARNING: cannot open logfile, logs will be directed to stderr
phone instance config:
model = AT
port = /dev/ttyS0
connection = serial
initlength = default
serial_baudrate = 9600
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyS0
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK
Received message type 00
Message sent: 0x06 / 0x0007
41 54 2b 47 4d 4d 0d | AT+GMM
write: [AT+GMM<cr>]
read : [AT+GMM<cr><cr><lf>: Nokia Cellular Data Adapter for GSM and PCN/DCS
1800 <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0048
02 41 54 2b 47 4d 4d 0d 0d 0a 3a 20 4e 6f 6b 69 | AT+GMM : Noki
61 20 43 65 6c 6c 75 6c 61 72 20 44 61 74 61 20 | a Cellular Data
41 64 61 70 74 65 72 20 66 6f 72 20 47 53 4d 20 | Adapter for GSM
61 6e 64 20 50 43 4e 2f 44 43 53 20 31 38 30 30 | and PCN/DCS 1800
20 0d 0a 0d 0a 4f 4b 0d | 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>Nokia Mobile Phones<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0025
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia
20 4d 6f 62 69 6c 65 20 50 68 6f 6e 65 73 0d 0a | Mobile Phones
0d 0a 4f 4b 0d | OK
Received message type 06
Manufacturer: "Nokia Mobile Phones"
entering at_nokia_init
Message sent: 0x63 / 0x0009
41 54 2b 43 53 43 53 3f 0d | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "GSM"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x63 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC
53 3a 20 22 47 53 4d 22 0d 0a 0d 0a 4f 4b 0d | S: "GSM" OK
Received message type 63
Initialisation completed
=====> ENTER gn_sms_send()
enc_chars: 4
ext_chars: 0
total: 4
size of the input string: 4 bytes
number of characters in the input string: 4 chars
=====> ENTER sms_send_single()
General Data Coding
Default Alphabet
size: 4
offset: 0
encoded size: 4
rawsms length: 4
rawsms user data length: 4
dcs: 0x00
Length: 0x04
user_data_length: 0x04
ValidityIndicator: 2
user_data: D4E2940A
Input is 4 bytes long
SMS is 4 octets long
Sending
Message sent: 0x65 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x65 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d | AT+CMGF=0 OK
Received message type 65
PDU mode set
Sending initial sequence
Message sent: 0x66 / 0x000b
41 54 2b 43 4d 47 53 3d 31 38 0d | AT+CMGS=18
write: [AT+CMGS=18<cr>]
read : [AT+CMGS=18<cr><cr><lf>> ]
Message received: 0x66 / 0x000f
01 41 54 2b 43 4d 47 53 3d 31 38 0d 0d 0a 3e | AT+CMGS=18 >
Received message type 66
Got response: No error.
Sending frame: 07812143658719F211000B817029049555F20000AA04D4E2940A
Message sent: 0x21 / 0x0035
30 37 38 31 32 31 34 33 36 35 38 37 31 39 46 32 | 07812143658719F2
31 31 30 30 30 42 38 31 37 30 32 39 30 34 39 35 | 11000B8170290495
35 35 46 32 30 30 30 30 41 41 30 34 44 34 45 32 | 55F20000AA04D4E2
39 34 30 41 1a | 940A
write: [07812143658719F211000B817029049555F20000AA04D4E2940A^Z]
read :
[07812143658719F211000B817029049555F20000AA04D4E2940A^Z<cr><lf>ERROR<cr><lf>]
Message received: 0x21 / 0x003e
03 30 37 38 31 32 31 34 33 36 35 38 37 31 39 46 | 07812143658719F
32 31 31 30 30 30 42 38 31 37 30 32 39 30 34 39 | 211000B817029049
35 35 35 46 32 30 30 30 30 41 41 30 34 44 34 45 | 555F20000AA04D4E
32 39 34 30 41 1a 0d 0a 45 52 52 4f 52 0d | 2940A ERROR
Received message type 21
SMS Send failed (Unknown error - well better than nothing!!)
Serial device: closing device
Thanks again,
Tristan
________________________________
Micro Peripherals Limited.
Registered Office: Shorten Brook Way, Altham Business Park, Altham,
Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790
Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864
4387 91
DISCLAIMER:
This e-mail and attachments are confidential and are intended solely for the
use of the individual to
whom it is addressed. Any views or opinions presented are solely those of the
author and do not
necessarily represent those of Micro Peripherals Limited.
If you are not the intended recipient, be advised that you have received this
Email in error and that
any use, dissemination, forwarding, printing, or copying of this Email is
strictly prohibited. If this
transmission is received in error please notify the sender immediately and
delete this message from
your E-mail system.
All electronic transmissions to and from Micro Peripherals Ltd are recorded and
may be monitored.
- Re: Nokia Premicell, (continued)
- Re: Nokia Premicell, Pawel Kot, 2011/12/07
- Re: Nokia Premicell, Pawel Kot, 2011/12/07
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/15
- Re: Nokia Premicell, Pawel Kot, 2011/12/15
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/15
- Re: Nokia Premicell, Pawel Kot, 2011/12/15
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/16
- Re: Nokia Premicell, Pawel Kot, 2011/12/16
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/16
- Re: Nokia Premicell, Pawel Kot, 2011/12/16
- RE: Nokia Premicell,
Tristan Drinkwater <=
- Re: Nokia Premicell, Pawel Kot, 2011/12/19
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/19
- Re: Nokia Premicell, Pawel Kot, 2011/12/19
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/19
- Re: Nokia Premicell, Pawel Kot, 2011/12/19
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/19
- Re: Nokia Premicell, Pawel Kot, 2011/12/19
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/19
- Re: Nokia Premicell, Pawel Kot, 2011/12/19
- RE: Nokia Premicell, Tristan Drinkwater, 2011/12/19