Hi, Can any body please help me out by answering the following queries I trying to communicate with a Usb Device attached with my PC, using Palm Emulator. Following is the code used by me (open Usb Port)
SrmOpenConfigType configP; UInt16 newPortIdP; Err error; UInt32 value; UInt32 romVersion; configP.function = serFncUndefined; // Open Usb Port FtrGet(sysFileCSerialMgr, sysFtrNewSerialVersion, &value); FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion); error = SrmExtOpen (serPortCradleUSBPort, &configP,sizeof(configP), &newPortIdP); Output - Serial Manager Version - 2 RomVersion - 5.3R3 error = 770 i.e. serErrBadPort) Please do let me know , Do i need to do some setting in Palm Simulator? [Note] - I have done following while testing Settings->Communication->Communication Ports I have defined following Port Name - USB Transport Type - TCP/IP Boud To - localhost:9 Please let me know if i have missed something. rgds, Ritu -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
