Point to Point Protocol and Bluetooth DUN
I am currently writing a program in C that will allow me to use my PDA to act as a modem for my laptop to connect to the Internet. I have managed to connect my laptop to the PDA DUN service using Bluetooth. I am also able to dial by sending ATcommands to the PDA.
But how can I communicate with the ISP that I will be connecting to? Do I have to use PPP? Or would PPP be automatically set up and configured by Windows on my laptop and my PDA to communicate with each other.
Looking forward to your advice.
Thanks and regards,
Malum in se
if youa re doing it manually, then you shoudl probably find an open source implmentation of PPP, since you will have to decode the packets and put them onto the socket stack manually. I suppose you could PPP enable just teh application youa re writing, which woudl be simpler. Either way you willneed to do the raw decoding yoruself.
Thanks for your reply. I have seen some codes that will decode the PPP packets. But I cannot link it to how Windows will read the packets. Is there any memory buffer or pointers that Winows will read from?