Re: gnokii smsd not giving me a clue as to why it is not sending and receiving sms'

helpFractal <[email protected]>
Newsgroups gmane.linux.drivers.gnokii
Message-ID <[email protected]>

helpFractal wrote:
> 
> 	if (drvinst->no_smsc) {
> 		/* not even a length byte included */
> 		offset--;
> 	} 
> 

since offset is declared as an unsigned int the line above will screw things
up big time won't it when it comes the memcpy?

I have changed ..

unsigned int length, tmp, offset = 0;

... to ...

int length, tmp, offset = 0;

... and ...

Sending initial sequence
Message sent: 0x66 / 0x000b
41 54 2b 43 4d 47 53 3d 33 34 0d                | AT+CMGS=34      
write: [AT+CMGS=34<cr>]
read : [AT+CMGS=34<cr><cr><lf>> ]
Message received: 0x66 / 0x000f
01 41 54 2b 43 4d 47 53 3d 33 34 0d 0d 0a 3e    |  AT+CMGS=34   > 
Received message type 66
Got response: No error.
Sending frame:
11000B817027705088F20000AA1654747A0E4ACF416110BD3CA783DAE5F93C7C2E03
Message sent: 0x21 / 0x0045
31 31 30 30 30 42 38 31 37 30 32 37 37 30 35 30 | 11000B8170277050
38 38 46 32 30 30 30 30 41 41 31 36 35 34 37 34 | 88F20000AA165474
37 41 30 45 34 41 43 46 34 31 36 31 31 30 42 44 | 7A0E4ACF416110BD
33 43 41 37 38 33 44 41 45 35 46 39 33 43 37 43 | 3CA783DAE5F93C7C
32 45 30 33 1a                                  | 2E03            
write:
[11000B817027705088F20000AA1654747A0E4ACF416110BD3CA783DAE5F93C7C2E03^Z]
read :
[11000B817027705088F20000AA1654747A0E4ACF416110BD3CA783DAE5F93C7C2E03^Z<cr><lf>ERROR<cr><lf>]
Message received: 0x21 / 0x004e
03 31 31 30 30 30 42 38 31 37 30 32 37 37 30 35 |  11000B817027705
30 38 38 46 32 30 30 30 30 41 41 31 36 35 34 37 | 088F20000AA16547
34 37 41 30 45 34 41 43 46 34 31 36 31 31 30 42 | 47A0E4ACF416110B
44 33 43 41 37 38 33 44 41 45 35 46 39 33 43 37 | D3CA783DAE5F93C7
43 32 45 30 33 1a 0d 0a 45 52 52 4f 52 0d       | C2E03   ERROR   
Received message type 21
SMS Send failed (Unknown error - well better than nothing!!)
Serial device: closing device
imac:files fractal$ echo $?
8
imac:files fractal$ 

... it didn't work out too good.

-- 
View this message in context: http://old.nabble.com/gnokii-smsd-not-giving-me-a-clue-as-to-why-it-is-not-sending-and-receiving-sms%27-tp34856997p34864693.html
Sent from the gnokii-users mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.