Thx a lot for the help.
Err err; SrmOpenConfigType config; BtVdOpenParams btParams; UInt32 baudRate=115000; UInt16 portId; UInt32 count;
config.function = serFncUndefined; config.drvrDataP = (MemPtr)&btParams; config.drvrDataSize = sizeof(BtVdOpenParams); config.baud = baudRate;
btParams.role = btVdClient; //removed code where i 0'd out address btParams.u.client.method = btVdUseUuidList; btParams.u.client.u.uuidList.len=0; btParams.authenticate=false; btParams.encrypt=false;
err = SrmExtOpen(sysFileCVirtRfComm, &config, sizeof(config), &portId);
SrmClose(portId); count = SrmSend(portId,"Its ALIVE!",10,&err);
err = SrmSendWait (portId);
err = SrmSendCheck (portId, &count);
err = SrmSendFlush(portId);
SrmClose(portId);
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
