After performing an Inquiry I draw on the rightmost triggers the devices
addresses, and in the rest of the triggers I draw " ".
I found out just now that if no devices are found and all the triggers are
drawn with " ", I manage to return to the launcher whitout any problems. The
problem only occurs in this form and after I drawn on it the BT adresses of
the devices.
The adresses are available after an inquiry in an array static
BtLibDeviceAddressType gBdAddr[MAXBDAVAILABLE]; The addresses are converted
to user friendly strings using the Char *ConvertBdAddrToStr (developed by
Peter Easton in his BtL2Cap app) and saved on a struct BDFriendlyInfo *BDevs
= NULL; with typedef struct
{
BtLibDeviceAddressType bdaddr;
BtLibClassOfDeviceType classOfDevice;
//Char friendlyName[btLibMaxDeviceNameLength];
Char *friendlyName;
/*Char *friendlyAddr;
Char *friendlyCoD;*/
} BDFriendlyInfo;
I can't figure out why is the form behaving like it is only after the
drawing of the BT addresses and never on any ocasion
Any ideas??
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/