It should work if you can compile it on cygwin...
what is your smsc-at config? Seems you are not defining a valid tty port
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
On Tue, Sep 8, 2009 at 11:52 PM, Siddhartha` Adhikari<[email protected]> wrote:
> Hi Alvaro,
>
> Would a wvdial or minicom work with windows?
> Here is the modems conf entry:-
>
>
> group = modems
>
> id = nokia
>
> name = "Nokia"
>
> detect-string = "Nokia"
>
> #need-sleep = true
>
> init-string="ATQ0V1E0"
>
> #keepalive-cmd = "AT+CBC;+CSQ"
>
> message-storage = "SM"
>
> On Wed, Sep 9, 2009 at 3:29 AM, Alvaro Cornejo <[email protected]>
> wrote:
>>
>> test you modem with vwdial or minicom and set accordingly in kannel
>> config.
>>
>> attach modem configs ..
>>
>> Regards
>>
>> Alvaro
>>
>> |-----------------------------------------------------------------------------------------------------------------|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
>> SMS y GPRS online
>> Visitenos en www.perusms.NET www.smsglobal.com.mx y
>> www.pravcom.com
>>
>>
>>
>> On Tue, Sep 8, 2009 at 3:48 PM, Siddhartha` Adhikari<[email protected]>
>> wrote:
>> > Any inputs on this please?
>> > is it because of the init-string? How to decide if it is the correct
>> > one?or
>> > any other reason?
>> >
>> > Thanks
>> > Siddhartha
>> >
>> > On Tue, Sep 8, 2009 at 10:41 AM, Siddhartha` Adhikari
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Hi All,
>> >>
>> >> I am using Cygwin for Windows Vista and a Nokia 5310 handset.
>> >> Here is my kannel.conf entry:-
>> >>
>> >> group = smsc
>> >> smsc = at
>> >> smsc-id=nokia5310
>> >> modemtype = nokiaphone
>> >> device = /dev/COM34
>> >> speed = 9600
>> >>
>> >> include="modems.conf"
>> >>
>> >> and modems.conf entry:-
>> >>
>> >>
>> >> group = modems
>> >>
>> >> id = nokiaphone
>> >>
>> >> name = modemnok
>> >>
>> >> detect-string = nokia
>> >>
>> >> #need-sleep = true
>> >>
>> >> init-string = "AT+CPMS=?"
>> >>
>> >> speed=9600
>> >>
>> >> How ever when I enter ./bearerbox -v 1 sidkannel.conf, I get the
>> >> following
>> >> log:-
>> >>
>> >> $ ./bearerbox -v 1 sidkannel.conf
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: Debug_lvl = 1, log_file = <none>,
>> >> log_lvl =
>> >> 0
>> >> 2009-09-08 10:36:42 [9288] [0] WARNING: DLR: using default 'internal'
>> >> for
>> >> storag
>> >> e type.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: DLR using storage type: internal
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: Added logfile `/sid.log' with
>> >> level
>> >> `1'.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: Started access logfile
>> >> `/access.log'.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: SSL not supported, no SSL
>> >> initialization do
>> >> ne.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: HTTP: Opening server at port
>> >> 13000.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: BOXC: 'smsbox-max-pending' not
>> >> set,
>> >> using d
>> >> efault (100).
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: Set SMS resend frequency to 60
>> >> seconds.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: SMS resend retry set to unlimited.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: DLR rerouting for smsc id
>> >> <nokia5310>
>> >> disab
>> >> led.
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: AT2[nokia5310]: configuration
>> >> shows
>> >> modemty
>> >> pe <nokiaphone>
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: AT2[nokia5310]: read modem
>> >> definition
>> >> for <
>> >> modemnok>
>> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: opening device
>> >> 2009-09-08 10:36:42 [9288] [0] INFO:
>> >> ----------------------------------------
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: Kannel bearerbox II version 1.4.3
>> >> starting
>> >> 2009-09-08 10:36:42 [9288] [6] ERROR: AT2[nokia5310]: at_data_link:
>> >> fail
>> >> to set
>> >> termios attribute
>> >> 2009-09-08 10:36:42 [9288] [6] ERROR: System error 25: Inappropriate
>> >> ioctl
>> >> for d
>> >> evice
>> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: Logging in
>> >> 2009-09-08 10:36:42 [9288] [0] INFO: MAIN: Start-up done, entering
>> >> mainloop
>> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: init device
>> >> 2009-09-08 10:36:42 [9288] [6] ERROR: AT2[nokia5310]: at_data_link:
>> >> fail
>> >> to set
>> >> termios attribute
>> >> 2009-09-08 10:36:42 [9288] [6] ERROR: System error 25: Inappropriate
>> >> ioctl
>> >> for d
>> >> evice
>> >> 2009-09-08 10:36:42 [9288] [6] INFO: AT2[nokia5310]: speed set to 9600
>> >> 2009-09-08 10:36:46 [9288] [6] ERROR: AT2[nokia5310]: Wrong or no
>> >> answer
>> >> to ATZ,
>> >> ignoring
>> >> 2009-09-08 10:36:50 [9288] [6] ERROR: AT2[nokia5310]: Wrong or no
>> >> answer
>> >> to AT.
>> >> Trying again
>> >>
>> >> What is a Termios attribute and icotl? How can I set it? What could be
>> >> the
>> >> issue?
>> >>
>> >>
>> >>
>> >> Thanks and Regards
>> >>
>> >> Siddhartha
>> >>
>> >>
>> >
>
>