FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Detect signal wireless
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Detect signal wireless
Posted: Fri May 19, 2006 08:36 AM

It is possible detect the level of wireless signal ?

Regards Maurizio

Posts: 101
Joined: Mon Oct 10, 2005 06:48 PM
Detect signal wireless
Posted: Fri Jun 23, 2006 04:14 AM

Maurizio

Today I recive a DVD from Intel, inside of this, there is a examples of how to determine the Signal of the LAN and battery status.

I dont know if this is compatible with VCE, because it is Intel C++.

If Antonio say yes, I can put the example that come with the DVD.

Regards
Osvaldo Ramirez

Posts: 682
Joined: Tue Feb 14, 2006 09:48 AM
Detect signal wireless
Posted: Fri Jun 23, 2006 07:10 AM

Will be nice. I'm interested with the battery status, I hope will be compatible.

:o

Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Detect signal wireless
Posted: Fri Jun 23, 2006 08:20 AM

Osvaldo,

Yes, please upload it to www.hyperupload.com and copy here the provided download link. Thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 126
Joined: Thu Oct 06, 2005 10:18 PM
Detect signal wireless
Posted: Fri Jun 23, 2006 04:54 PM
Biel,

this is sample to check bettery status, I use function BatteryLife eg. If BatteryLife () < 10; MsgInfo (''); Endif

Regards
Pawel

HB_FUNC (BATTERYLIFE)
{
   BOOL iRet;
   SYSTEM_POWER_STATUS_EX status;
   iRet = GetSystemPowerStatusEx (&status, TRUE);

   hb_retnl ((INT) status.BatteryLifePercent);
}
HB_FUNC (BATTERYINFO)
{
   BOOL iRet;
   SYSTEM_POWER_STATUS_EX status;
   iRet = GetSystemPowerStatusEx (&status, TRUE);

   hb_reta (9);
   hb_stornl ((INT) status.ACLineStatus, -1, 1);
   hb_stornl ((INT) status.BatteryFlag, -1, 2);
   hb_stornl ((INT) status.BatteryLifePercent, -1, 3);
   hb_stornl ((ULONG) status.BatteryLifeTime, -1, 4);
   hb_stornl ((ULONG) status.BatteryFullLifeTime, -1, 5);
   hb_stornl ((INT) status.BackupBatteryFlag, -1, 6);
   hb_stornl ((INT) status.BackupBatteryLifePercent, -1, 7);
   hb_stornl ((ULONG) status.BackupBatteryLifeTime, -1, 8);
   hb_stornl ((ULONG) status.BackupBatteryFullLifeTime, -1, 9);
}
Posts: 682
Joined: Tue Feb 14, 2006 09:48 AM
Detect signal wireless
Posted: Mon Jun 26, 2006 10:35 AM

Hi Pawel,
Fine Busines, just what I'm looking for. Many thanks it's running 100 %.
Many thanks.
Best Regards

Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Detect signal wireless
Posted: Tue Jun 27, 2006 07:23 AM

Hello Ramirez

it is possible have this example ?

regards Maurizio

Posts: 101
Joined: Mon Oct 10, 2005 06:48 PM
Detect signal wireless
Posted: Fri Jul 07, 2006 04:39 PM

Sorry Friends

The samples that Intel show, are in C#, but If anyway it help
here is the links

http://www.intel.com/cd/ids/developer/a ... 213226.htm

http://www.intel.com/cd/ids/developer/a ... 221959.htm

Best Regards to all
Osvaldo Ramirez

Continue the discussion