I would like to seek some guidance on the DUN profile of Bluetooth.

Currently, I am developing an application that makes uses of the DUN service provided by a mobile phone to connect to the Internet. I am able to connect to the DUN service and make calls using the ATcommands.

However, I cannot see how can I set up the PPP. I had thought that it was sufficient to just use the ATcommands and the PPP would be set up properly. But someone told me that I have to set up the PPP too, as I was using Windows PC to connect as a client to the mobile phone that is acting as a server.

I am programming in C using MS Visual Studio 2005. Do I need to use RAS? Is ATcommand sufficient? How to set up the PPP? Any pointers that can set me off in the right direction is deeply appreciated.