[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bluetooth address translation
From: |
Martin List-Petersen |
Subject: |
Re: Bluetooth address translation |
Date: |
Thu, 1 May 2003 15:02:04 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2-cvs |
> > gnokii on the console w/o smsc specified just either fails with "Timeout:
> > abouting command ``/usr/lib/gnokii'' with signal 9
> > /usr/bin/gnokii: line 16: 1211 Killed timeout $TIMEOUT $BINARY $@"
> >
0.5.0rc4 also gives timeout. Here is the output of that. (/dev/rfcomm0, AT,
serial, Ericsson T39m)
GNOKII Version 0.5.0rc4
cfg_file_read - open /root/.gnokiirc: No such file or directory
Opened configuration file /etc/gnokiirc
Added new section global
Adding key/value port//dev/rfcomm0
Adding key/value model/AT
Adding key/value initlength/default
Adding key/value connection/serial
Adding key/value bindir//usr/sbin/
Adding key/value use_locking/yes
Adding key/value serial_baudrate/19200
Added new section connect_script
Adding key/value TELEPHONE/12345678
Added new section disconnect_script
Added new section sms
Adding key/value timeout/10
phone instance config:
model: AT
port_device: /dev/rfcomm0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
Initializing AT capable mobile phone ...
Serial device: opening device /dev/rfcomm0
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: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>1130102-BVT39m<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0020
02 41 54 2b 43 47 4d 4d 0d 0d 0a 31 31 33 30 31 | AT+CGMM 11301
30 32 2d 42 56 54 33 39 6d 0d 0a 0d 0a 4f 4b 0d
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>ERICSSON <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001c
02 41 54 2b 43 47 4d 49 0d 0d 0a 45 52 49 43 53 | AT+CGMI ERICS
53 4f 4e 20 20 0d 0a 0d 0a 4f 4b 0d | SON OK
Received message type 06
Message sent: 0x52 / 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: 0x52 / 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 52
Initialisation completed
Message sent: 0x22 / 0x0009
41 54 2b 43 53 43 41 3f 0d | AT+CSCA?
write: [AT+CSCA?<cr>]
read : [AT+CSCA?<cr><cr><lf>+CSCA: "46707990001",145<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x22 / 0x002b
02 41 54 2b 43 53 43 41 3f 0d 0d 0a 2b 43 53 43 | AT+CSCA? +CSC
41 3a 20 22 34 36 37 30 37 39 39 30 30 30 31 22 | A: "46707990001"
2c 31 34 35 0d 0a 0d 0a 4f 4b 0d | ,145 OK
Received message type 22
Message sent: 0x54 / 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: 0x54 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d
Received message type 54
PDU mode set
Sending initial sequence
Message sent: 0x55 / 0x000b
41 54 2b 43 4d 47 53 3d 31 37 0d | AT+CMGS=17
write: [AT+CMGS=17<cr>]
read : [AT+CMGS=17<cr><cr><lf>> ]
Message received: 0x55 / 0x000f
01 41 54 2b 43 4d 47 53 3d 31 37 0d 0d 0a 3e | AT+CMGS=17 >
Received message type 55
Got response 0
Sending frame: 0691767099001011000A9154066603510000AA04E8321B0E
Message sent: 0x20 / 0x0031
30 36 39 31 37 36 37 30 39 39 30 30 31 30 31 31 | 0691767099001011
30 30 30 41 39 31 35 34 30 36 36 36 30 33 35 31 | 000A915406660351
30 30 30 30 41 41 30 34 45 38 33 32 31 42 30 45 | 0000AA04E8321B0E
1a |
write: [0691767099001011000A9154066603510000AA04E8321B0E^Z]
SMS Send failed (Command timed out.)
Serial device: closing device
Regards,
Martin List-Petersen
martin at list-petersen dot dk
--
BOFH excuse #397:
T-1's congested due to porn traffic to the news server.
- Re: Bluetooth address translation,
Martin List-Petersen <=