|
From: | Mehdi Sadri |
Subject: | error in bmp logo sending (r0.6.14) |
Date: | Sun, 26 Nov 2006 03:13:02 -0800 (PST) |
I download the gnokii r0.6.14 source code for windows
and I make 3 changes, 1 & 2 for compiling, 3 for stdin error("Please enter SMS text. End your input with <cr><control-D>:Couldn't read from stdin!")
1. adding these files to project solution
"gnokii-calendar.c
gnokii-dial.c
gnokii-file.c
gnokii-logo.c
gnokii-monitor.c
gnokii-other.c
gnokii-phonebook.c
gnokii-profile.c
gnokii-ringtone.c
gnokii-security.c
gnokii-settings.c
gnokii-sms.c
gnokii-todo.c
gnokii-utils.c
gnokii-wap.c"
2. removing "#include <unistd.h>" from above files
3. in gnokii-utils.c , readtext() function:
' scanf("%s",&message_buffer);
chars_read = strlen(message_buffer); '
instead of :
chars_read = fread(message_buffer, 1, sizeof(message_buffer), stdin);
but i have error while sendeing picture logo.
Thanks for your consideration.
phone : Nokia6230, connection serial via bluetooth
gnokiirc file:
[global]
port = com4:
model = AT
initlength = default
connection = serial
use_locking = no
serial_baudrate = 19200
smsc_timeout = 10
[gnokiid]
bindir = /usr/local/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = on
rlpdebug = off
xdebug = off
log:
log.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |