WiTilt Graphing Application in Visual Studio

Hello all,

I recently purchased WiTilt 2.5 and have been trying to write a simple application for PC which would plot the incoming X,Y,Z values on to a graph. So far the only thing that is working is the initial connection with the BT module. Once the device sends the initial menu, I am unable to receive any incoming data from the port. Does anyone have a C++ code in Visual Studio that successfully connects to the BT module, Transmits and Receives command/data. Any help is highly appreciated.

Thanks

Chinmay