opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bluetooth-forum@news.palmos.com 22 September 2006 • 12:49AM -0400

Can not add Bluetooth Virtual Serial Driver
by larry

REPLY TO AUTHOR
 
REPLY TO GROUP




Everytime I paste the smaple code into my program, I get errors on the build.

I am trying to paste the following:

typedef struct {
    BtVdRole role;
    union {
        BtVdOpenParamsClient client;
        BtVdOpenParamsServer server;
    } u;
    Boolean authenticate;
    Boolean encrypt;
} BtVdOpenParams;

I am using PODS, and when I go to save the file and test it, I get the following error:

parse error before `BtVdRole'

I have included both the BtLib.h and SerialMgr.h (thinking it was included in it).  I have tried typing it from scratch.  I have done it step by step by typing each line in and then try to build the program.  Nothing works.

What am I missing?
--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.