Groups > Palm OS > Bluetooth Forum > Can not add Bluetooth Virtual Serial Driver




Can not add Bluetooth Virtual Serial Driver

Can not add Bluetooth Virtual Serial Driver
Thu, 21 Sep 2006 16:49:38 -000
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?
Post Reply
about | contact