BtLibClose before Palm TT power off

2004-04-16 Thread Raymond Ho
I would like to shutdown bluetooth when Palm TT go to power off. So, I register sysNotifySleepRequestEvent. When this notification occurs, I close BT by using BtLibClose() and check the radio state to ensure BT close. However I found out that the callback routine doesn't work when user set the

sysNotifySleepRequestEvent doesn't work when security of power-on is enable

2004-04-15 Thread Raymond Ho
I register sysNotifySleepRequestEvent to check BT status when user press power button to power off my Palm TT. However I found out that the callback routine doesn't work when user set the security password when Palm TT startup. If I disable the security function, the callback routine work again (I

Re: max. no. to store feature value in dynamic heap

2004-04-14 Thread Raymond Ho
:[EMAIL PROTECTED] Behalf Of Raymond Ho Sent: Tuesday, April 13, 2004 8:30 AM To: Palm Developer Forum Subject: Re: max. no. to store feature value in dynamic heap what should I do if I need to restore the features values after reset ? Douglas Handy [EMAIL PROTECTED] ??? news:[EMAIL PROTECTED

Re: max. no. to store feature value in dynamic heap

2004-04-13 Thread Raymond Ho
what should I do if I need to restore the features values after reset ? Douglas Handy [EMAIL PROTECTED] ??? news:[EMAIL PROTECTED] ???... Ray, Is there any limitation to use feature manager to store feature variables in dynamic heap ? Read the docs on FtrSet(), specifically: A feature

max. no. to store feature value in dynamic heap

2004-04-06 Thread Raymond Ho
Is there any limitation to use feature manager to store feature variables in dynamic heap ? Now I'm storing 35 features values in my application. However I found out that the values stored in features are wrong (or changed by unknow reason). Especially when I the Palm is reset and get the feature

Broken conection sysNotifyLateWakeupEvent during debug in CW9

2003-06-08 Thread Raymond Ho
I'm using CW9 and connect to Palm TT for debugging. I would like to use sysNotifyLateWakeupEvent in my problem. However, when I power-off the Palm TT, the connection to Palm TT is broken during debug. Is there any good ways let me debug sysNotifyLateWakeupEvent even power -off error =

No bluetooth library in simulator

2003-06-08 Thread Raymond Ho
There is no Bluetooth library in simulator. Is there any way to simulate bluetooth features in simulator ? err = SysLibFind(Bluetooth Library, refBtNum) return false in Palm 5.0 simulator ? Raymond -- For information on using the Palm Developer Forums, or to unsubscribe, please see

bluetooth connection problem

2003-06-06 Thread Raymond Ho
With bluetooth connection, I use RFComm to communicate with bluetooth device as following : MemSet( btParams, sizeof(btParams), 0 ); // note this leaves the remote dev addr null btParams.role = btVdClient; // we are the client side btParams.authenticate = false; //No

BtLibSecurityNumTrustedDeviceRecords return zero

2003-06-04 Thread Raymond Ho
Dear sirs, I would like to use BtLibSecurityNumTrustedDeviceRecords() to get the no. of trusted device and info. There is one device listed in trust device pref. However BtLibSecurityNumTrustedDeviceRecords returns zero. Below is my code, any problem ? if (SysLibFind(Bluetooth Library,

how to debug bt api in simulator

2003-05-29 Thread Raymond Ho
How to simulate BT API in Palm Simulator ? e.g. SrmExtOpen(sysFileCVirtRfComm, ...) ? Because I can't find the BT library in simulator as following code : if (FtrGet(btLibFeatureCreator, btLibFeatureVersion, value) != errNone) Quit application; Raymond -- For information on using

SysSetTrapAddress in OS5

2003-03-29 Thread Raymond Ho
How to user SysSetTrapAddress and SysGetTrapAddress ? It seems OS 5.0 doesn't support it, right ? My program doesn't work in Palm TT, but I need to work with sysTrapEvtGetEvent. Any idea. Raymond Ho -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

How to perform data sync.

2002-01-13 Thread Raymond Ho
help. Best Regards, Raymond Ho -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/