Thread: Point to Point Protocol and Bluetooth DUN

  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,195
    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.

  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