Point to Point Protocol and Bluetooth DUN

This is a discussion on Point to Point Protocol and Bluetooth DUN within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, I am currently writing a program in C that will allow me to use my PDA to act as ...

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    2

    Point to Point Protocol and Bluetooth DUN

    Hi,

    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,
    PS

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    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.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    2
    Hi abachler,

    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?

    Regards,
    PS

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21