Noel Butler | 29 Jan 08:03
Favicon

feature req

Hi, when using a USB 3G like Huawei 220 etc, polling for sms's results in

gnokii --getsms SM 0 end -d
GNOKII Version 0.6.30
Getting SMS failed (location 0 from SM memory)! (The given location is empty.)
Getting SMS failed (location 1 from SM memory)! (The given location is empty.)
Getting SMS failed (location 2 from SM memory)! (The given location is empty.)
Getting SMS failed (location 3 from SM memory)! (The given location is empty.)

<big snip .. to 49>
and at 50
Getting SMS failed (location 50 from SM memory)! (The given memory location is invalid.)

This as you see is a lot of, well,  "noise"
Could we get all this suppressed?  Perhaps only appearing in debug mode?

When polling  a phone with    gnokii --getsms IN 1 end --delete ,  the return value is null, which is good since we don't get msgs of noise...

I apologise if this is already possible, only started playing with the USB stick this morning

_______________________________________________
gnokii-users mailing list
gnokii-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users
Picon

List available networks when phone is in manual mode.

Hi,
I can see network info (--getnetworkinfo) when my phone is connected. This is from the option of automatic operator selection. When set to manual selection, the phone shows me the list of available operators. Can this list of available operators by reported in a manner similar to --getnetworkinfo ?

Nagesh

_______________________________________________
gnokii-users mailing list
gnokii-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users
Petr Baudis | 12 Jan 22:29
Picon

gnokii and C1-02

  Hi!

  I'm trying to use gnokii for uploading files to C1-02 (apparently, USB
mass storage mode requires SD card). However, I cannot get it to work
in the series40 mode, only in the AT mode. gnokii just hangs in the
series40 mode - in strace I see it writing many 'U' characters
to the serial port, eventually just hanging at the next write() (never
even trying to read()).

  It's rather surprising as it is supposed to be almost the same as
C1-01 which someone got to work in the series40 mode, AIUI.  Any tips on
what knobs could I tweak or what else to try out?

  P.S.: Please Cc me as I'm not subscribed to the list.

  Thanks,

--

-- 
				Petr "Pasky" Baudis
	The goal of Computer Science is to build something that will
	last at least until we've finished building it.
at128 | 7 Jan 00:36
Favicon

Nokia 100 suppoted?

Hello,

Is the new Nokia 100 supported?

http://europe.nokia.com/find-products/devices/nokia-
100/specifications

-A.T.
at128 | 7 Jan 06:31
Favicon

Nokia 100 or 1800 supported?

Hello,

Is the new Nokia 100 supported?

http://europe.nokia.com/find-products/devices/nokia-
100/specifications

Or the Nokia 1800?

http://europe.nokia.com/find-products/devices/nokia-
1800/specifications

-A.T.
Anthony Kirby | 4 Jan 14:47

compatibility with Nokia 3110c (3110 Classic)

Hi,
I created an account to add a note on the wiki about getting gnokii to
work with a Nokia 3110c ("3110 classic") but there's no edit
privilege...

I had no luck with the documented suggestion to use the nk6510 driver,
but had success with the AT driver:

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

many thanks for a helpful utility!
Ant
Andrew Thompson | 30 Dec 12:27
Picon

Nokia 6021 - smsd and mysql - pulls out Inbox messages but not Sent items messages

Hi all,

 

After last weeks attempts of using a Nokia 6301 and it being unsuccessful (thanks anyway Pawel for the help) ive laid my hands on a Nokia 6021 and data cable.

 

I have got gnokki to identify my phone

 

Gnokki –identify

 

GNOKII Version 0.6.29

LOG: debug mask is 0x1

Config read from file /home/ftladmin/.config/gnokii/config.

phone instance config:

model = 6021

port = /dev/ttyUSB0

connection = serial

initlength = default

serial_baudrate = 19200

serial_write_usleep = -1

handshake = software

require_dcd = 0

smsc_timeout = 30

rfcomm_channel = 0

sm_retry = 0

Connecting

Serial device: opening device /dev/ttyUSB0

Serial device: setting speed to 115200

Serial device: setting RTS to low and DTR to low

Getting model...

Message sent: 0x1b / 0x0006

00 01 00 07 01 00                               |                

[Received Ack of type 1b, seq:  0]

[Sending Ack of type 1b, seq: 2]

Message received: 0x1b / 0x0032

01 39 00 08 00 01 58 2c 00 26 56 20 30 34 2e 35 |  9    X, &V 04.5

30 0a 31 39 2d 31 32 2d 30 35 0a 52 4d 2d 39 34 | 0 19-12-05 RM-94

0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 43 00 |  (c) Nokia.   C

00 00                                           |                

Received message type 1b

model length: 5

Received model RM-94

Found model "RM-94"

Identifying...

Message sent: 0x1b / 0x0005

00 01 00 00 41                                  |     A           

Message sent: 0x1b / 0x0006

00 01 00 07 01 00                               |                

[Received Ack of type 1b, seq:  1]

[Received Ack of type 1b, seq:  2]

[Sending Ack of type 1b, seq: 3]

Message received: 0x1b / 0x001a

01 39 00 01 00 01 41 14 00 10 33 35 39 33 35 37 |  9    A   359357

30 30 31 39 33 34 38 35 31 00                   | 001934851      

Received message type 1b

Received imei 359357001934851

[Sending Ack of type 1b, seq: 4]

Message received: 0x1b / 0x0032

01 39 00 08 00 01 58 2c 00 26 56 20 30 34 2e 35 |  9    X, &V 04.5

30 0a 31 39 2d 31 32 2d 30 35 0a 52 4d 2d 39 34 | 0 19-12-05 RM-94

0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 43 00 |  (c) Nokia.   C

00 00                                           |                

Received message type 1b

Received revision V 04.50

model length: 5

Received model RM-94

IMEI         : 359357001934851

Manufacturer : Nokia

Found model "RM-94"

Model        : 6021

Product name : RM-94

Revision     : V 04.50

Serial device: closing device

 

I can send items fine via the CLI but this doesn’t write to the sent items of the phone! (Is this correct behaviour?)

 

SO I start the smsd with

 

/usr/sbin/smsd –uroot –p******* -d Nagios_Text –c 127.0.0.1 –m mysql –b IN –f /home/ftladmin/Desktop/smsd.log

 

And it outputs

 

usr/sbin/smsd -uroot -p********* -d  Nagios_Text -c 127.0.0.1 -m mysql -b IN -f /home/user/Desktop/smsd.log

smsd - version 1.4.4 from gnokii 0.6.29

LOG: debug mask is 0x1

Config read from file /home/user/.config/gnokii/config.

phone instance config:

model = 6021

port = /dev/ttyUSB0

connection = serial

initlength = default

serial_baudrate = 19200

serial_write_usleep = -1

handshake = software

require_dcd = 0

smsc_timeout = 30

rfcomm_channel = 0

sm_retry = 0

Connecting

Serial device: opening device /dev/ttyUSB0

Serial device: setting speed to 115200

Serial device: setting RTS to low and DTR to low

Getting model...

Message sent: 0x1b / 0x0006

00 01 00 07 01 00                               |                

[Received Ack of type 1b, seq:  0]

[Sending Ack of type 1b, seq: 6]

Message received: 0x1b / 0x0032

01 39 00 08 00 01 58 2c 00 26 56 20 30 34 2e 35 |  9    X, &V 04.5

30 0a 31 39 2d 31 32 2d 30 35 0a 52 4d 2d 39 34 | 0 19-12-05 RM-94

0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 43 00 |  (c) Nokia.   C

00 00                                           |                

Received message type 1b

model length: 5

Received model RM-94

Found model "RM-94"

Identifying...

Message sent: 0x1b / 0x0005

00 01 00 00 41                                  |     A          

Message sent: 0x1b / 0x0006

00 01 00 07 01 00                               |                

[Received Ack of type 1b, seq:  1]

[Received Ack of type 1b, seq:  2]

[Sending Ack of type 1b, seq: 7]

Message received: 0x1b / 0x001a

01 39 00 01 00 01 41 14 00 10 33 35 39 33 35 37 |  9    A   359357

30 30 31 39 33 34 38 35 31 00                   | 001934851      

Received message type 1b

Received imei 359357001934851

[Sending Ack of type 1b, seq: 0]

Message received: 0x1b / 0x0032

01 39 00 08 00 01 58 2c 00 26 56 20 30 34 2e 35 |  9    X, &V 04.5

30 0a 31 39 2d 31 32 2d 30 35 0a 52 4d 2d 39 34 | 0 19-12-05 RM-94

0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 43 00 |  (c) Nokia.   C

00 00                                           |                

Received message type 1b

Received revision V 04.50

model length: 5

Received model RM-94

Found model "RM-94"

Found model "RM-94"

Getting SMS Status...

Getting SMS Folder (5) status (2)...

Get message list from the folder (ME)

Message sent: 0x14 / 0x000a

00 01 00 0c 02 05 0f 55 55 55                   |        UUU     

[Received Ack of type 14, seq:  3]

[Sending Ack of type 14, seq: 1]

[Sending Ack of type 14, seq: 2]

[Sending Ack of type 14, seq: 3]

[Sending Ack of type 14, seq: 4]

[Sending Ack of type 14, seq: 5]

[Sending Ack of type 14, seq: 6]

[Sending Ack of type 14, seq: 7]

Message received: 0x14 / 0x0332

01 6a 00 0d 00 00 00 15 00 01 00 02 00 03 00 04 |  j             

00 05 00 06 00 07 00 08 00 09 00 0a 00 0b 00 0c |                

00 0d 00 0e 00 0f 00 10 00 11 00 12 00 13 00 14 |                

00 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00                                           |                

Received message type 14

Message: SMS Folder status received

Message: Number of Entries: 21

Message: IDs of Entries : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,

Message sent: 0x14 / 0x0007

00 01 00 08 00 00 01                            |                

[Received Ack of type 14, seq:  4]

[Sending Ack of type 14, seq: 0]

Message received: 0x14 / 0x0052

01 6a 00 09 00 08 02 0c 02 00 00 96 00 01 00 00 |  j             

00 00 02 0c 01 00 00 14 00 00 00 00 00 00 05 08 |                

00 00 00 00 02 00 05 08 00 00 00 00 01 00 03 0c |                

00 0f 00 00 00 0b 00 00 00 00 04 0c 00 0f 00 00 |                

00 0a 00 00 00 00 06 08 00 00 00 14 00 28 07 04 |              ( 

00 28                                           |  (             

Received message type 14

SMS Status received

Getting SMS #1...

Getting SMS Folders...

Message sent: 0x14 / 0x0006

00 01 00 12 00 00                               |                

[Received Ack of type 14, seq:  5]

[Sending Ack of type 14, seq: 1]

[Sending Ack of type 14, seq: 2]

[Sending Ack of type 14, seq: 3]

[Sending Ack of type 14, seq: 4]

Message received: 0x14 / 0x01be

01 6a 00 13 00 05 01 58 02 05 00 49 00 6e 00 62 |  j     X   I n b

00 6f 00 78 00 00 00 00 00 00 00 00 00 00 00 00 |  o x           

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 58 |                X

03 0a 00 53 00 65 00 6e 00 74 00 20 00 69 00 74 |    S e n t   i t

00 65 00 6d 00 73 00 00 00 00 00 00 00 00 00 00 |  e m s         

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 01 58 04 10 00 53 00 61 00 76 |        X   S a v

00 65 00 64 00 20 00 74 00 65 00 78 00 74 00 20 |  e d   t e x t 

00 6d 00 73 00 67 00 73 00 2e 00 00 00 00 00 00 |  m s g s .     

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 58 |                X

05 09 00 54 00 65 00 6d 00 70 00 6c 00 61 00 74 |    T e m p l a t

00 65 00 73 00 00 00 00 00 00 00 00 00 00 00 00 |  e s            

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 01 58 1a 06 00 4f 00 75 00 74 |        X   O u t

00 62 00 6f 00 78 00 00 00 00 00 00 00 00 00 00 |  b o x         

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00       |                

Received message type 14

Message: 5 SMS Folders received:

folder_id[0]=14

folder_id[0]=14

Folder(2) name: Inbox

folder_id[1]=15

folder_id[1]=15

Folder(3) name: Sent items

folder_id[2]=16

folder_id[2]=16

Folder(4) name: Saved text msgs.

folder_id[3]=17

folder_id[3]=17

Folder(5) name: Templates

folder_id[4]=20

folder_id[4]=20

Folder(26) name: Outbox

Folder id: 14

Getting SMS Folder (2) status (2)...

Special case IN/OUTBOX in GetSMSFolderStatus!

Get message list from ME

Message sent: 0x14 / 0x000a

00 01 00 0c 02 02 0f 55 55 55                   |        UUU     

[Received Ack of type 14, seq:  6]

[Sending Ack of type 14, seq: 5]

[Sending Ack of type 14, seq: 6]

[Sending Ack of type 14, seq: 7]

[Sending Ack of type 14, seq: 0]

[Sending Ack of type 14, seq: 1]

[Sending Ack of type 14, seq: 2]

[Sending Ack of type 14, seq: 3]

Message received: 0x14 / 0x0332

01 6a 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 |  j             

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00                                           |                

Received message type 14

Message: SMS Folder status received

Message: Number of Entries: 0

Get message list from SM

Message sent: 0x14 / 0x000a

00 01 00 0c 01 02 0f 55 55 55                   |        UUU     

[Received Ack of type 14, seq:  7]

[Sending Ack of type 14, seq: 4]

[Sending Ack of type 14, seq: 5]

[Sending Ack of type 14, seq: 6]

[Sending Ack of type 14, seq: 7]

[Sending Ack of type 14, seq: 0]

[Sending Ack of type 14, seq: 1]

[Sending Ack of type 14, seq: 2]

Message received: 0x14 / 0x0332

01 6a 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 |  j             

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                

00 00                                           |                

Received message type 14

Message: SMS Folder status received

Message: Number of Entries: 0

Total number of messages in the folder: 0

Getting SMS from location 0

Getting SMS message (0 in folder 14) status...

Message sent: 0x14 / 0x000a

00 01 00 0e 01 02 00 00 55 55                   |         UU     

[Received Ack of type 14, seq:  0]

[Sending Ack of type 14, seq: 3]

Message received: 0x14 / 0x0006

01 6a 00 0f 02 00                               |  j             

Received message type 14

status not supported?

Getting SMS from location 0

Message sent: 0x14 / 0x000a

00 01 00 02 01 02 00 00 01 00                   |                 

[Received Ack of type 14, seq:  1]

[Sending Ack of type 14, seq: 4]

Message received: 0x14 / 0x000e

01 6a 00 03 02 00 00 00 00 00 00 00 00 00       |  j             

Received message type 14

Trying to get message #0 in folder #0

 

It then continues repeating this output until I manually stop it with CTRL+C. (is this normal behaviour?)

 

It moves any items out of the Inbox to the sql table but still leaves behind anything in the sent items folder on the phone.

 

Output to smsd.log

 

30 Dec 2011 10:37:30: Inserting sms from +447********* successful.

30 Dec 2011 10:47:12: Inserting sms from +447********* successful.

 

I then have to run the command

/usr/sbin/smsd –uroot –p******* -d Nagios_Text –c 127.0.0.1 –m mysql –b IN –f /home/ftladmin/Desktop/smsd.log

 

Again to move any new items in the inbox (testing)

 

Do I have to leave the smsd command running all the time instead of manually stopping it with CTRL+C?

 

How do I get the Sent Items off of the phone as these are the ones I want.

The phone will not ever receive any inbox messages its purely going to be sending out texts from Nagios and that’s it.

All I want in the sql table is the sent items.

 

I have the 3 default SQL tables after running

 

mysql -uroot Nagios_Text < /usr/share/doc/gnokii-smsd-mysql/sms.tables.mysql.sql

If I change the –b switch to ME it doesn’t even pull the inbox items off the phone and into SQL

 

Anybody help me please on how to pull the sent items off the phone and into SQL?

Do I need to create a Sent Items table manually?

 

Thanks

 

 

 

 

 

_______________________________________________
gnokii-users mailing list
gnokii-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users
Andrew Thompson | 22 Dec 18:23
Picon

Gnokii logfile

Hi

 

Is there a log file that logs what text messages the phone has sent out? The phones sent items doesn’t get populated.

 

Cheers

 

Kind Regards

Andrew

 

 

_______________________________________________
gnokii-users mailing list
gnokii-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users
Pawel Kot | 22 Dec 00:08
Picon
Gravatar

authentication on init for smsd

Hi Honzo,

I have implemented the new feature for gnokii (branch auth_on_init at
git <at> github.com:pkot/gnokii.git) that allows authentication on init
when required (common use case: usb modem). The solution for xgnokii
is more or less straightforward (actually it is not very much needed
as modern distros automatically prompt you for pin when such device is
entered). However the bigger question is for smsd. We have two out of
the box solutions:
 - interactive asking for pin
 - storing pin in the file
But I can see some more options:
 - passing it as the invocation argument
 - having some db configuration

And the question for you, how do you see, which method would be the
most suitable for smsd. It is possible to register custom
authentication function.

Note: the code is not fully ready yet. What I will finally merge may
differ from the code in the branch I have pointed out above.

take care,
--

-- 
Pawel Kot
Pawel Kot | 21 Dec 11:40
Picon
Gravatar

Re: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-328-gb17203e

[moved from gnokii-commit to gnokii-users]
Hi,

On Wed, Dec 21, 2011 at 11:32, Daniele Forsi <daniele <at> forsi.it> wrote:
> speaking of autodetection, it may happen that there are no SMS in SM
> so we could try to read from templates or from drafts but that would
> go in a more generic autodetection phase, not in the part of code we
> changed now

Right. So probably together with the initialization phase we could
have some kind of 'feature autodetection'. We would run number of
AT+XXX? commands at that time. For nk drivers that would just probably
mean that we need to identify the s40 version and based on this,
select proper version of the features. We could send number of queries
for that as well (like to figure out which fields are present in the
phonebook).

take care,
--

-- 
Pawel Kot
Andrew Thompson | 20 Dec 18:01
Picon

Alerts through Nagios very temperamental

Hi All,

 

Can anybody help me with Nagios notifications?

 

Basically situation is this

 

Host goes down……….

 

The first notification is a text and email.

 

The text goes to 2 admins.

 

Use Gnokii and a Nokia 6301 to send the texts

 

But now the problem………

 

I don’t get alot of the text messages and from my own digging its because sometimes they are being sent at the exact same second and gnokii must refuse both of them rather than queue them.

 

Example of a scenario taken just 25 minutes ago (notification times)

 

HOST………………….EML ADMIN 1……..EML ADMIN 2..…..TXT ADMIN 1…….TEXT ADMIN 2

 

SWITCH1………………..16:24:37……………..16:24:37………………16:24:37………….…16:24:46

 

With the above both admins received the text message

 

 

 

Then another test on the same host 10 minutes ago threw this out

 

HOST………………….EML ADMIN 1……..EML ADMIN 2..…..TXT ADMIN 1…….TEXT ADMIN 2

 

SWITCH1………………..16:41:09……………..16:41:09………………16:41:09………….…16:41:09

 

With the above neither admin received a text message at all

 

Anybody give me any help?

 

Why sometime does nagios tell gnokii to send 2 messages apart and then other times it tells gnokii to send 2 texts at the exact same moment?

 

Cheers

 

 

Kind Regards

Andrew

 

T: 01386 834000
F: 01386 834100

Andrew <at> fulgent.co.uk
www.fulgent.co.uk

 


Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer.

 

_______________________________________________
gnokii-users mailing list
gnokii-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnokii-users

Gmane