[En-Nut-Discussion] PPP - Nut-os4.6.6 - atmega128.
jaripetteri
jaripetteri at gmail.com
Thu Dec 11 15:24:08 CET 2008
> >> The only changes I did, was a change in the define for DBGCOM as follow:
> >> #define DBGCOM "uart1"
> >> I am using uart0 for debug.
> >>
> >
>
>
About uart settings, I'm using my own board and there are two uarts:
-uart0 for pc serial port for debug
-uart1 for BT module to access GPRS modem
which driver I should use with those? Can I use two different or same for
both?
I understand that possibilities for uart are devAhdlcx, devUartx and
devDebugx. I tried with devAhdlc for both but end up freezing MCU. devAhdlc
is needed for PPP, right? With other combinations I get only either one
running.
Also I need to sent some commands to uart (basically to Bluetooth module to
call my cellular) before NutChat(pppcom, PPPCHAT) line, so how to do that?
Sending via NutChat is not working since I'm getting no response there and I
need some wait time. Also call command is quite long. I have manage to get
call and open BT uart and make GPRS call just sending command via
hyperterminal to BT so my commands should be right.
BR,
-jaRi
--
Electricity is blue and it hurts...
More information about the En-Nut-Discussion
mailing list