Detect signal wireless

Detect signal wireless

Postby Maurizio » Fri May 19, 2006 8:36 am

It is possible detect the level of wireless signal ?

Regards Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby ramirezosvaldo » Fri Jun 23, 2006 4: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
ramirezosvaldo
 
Posts: 101
Joined: Mon Oct 10, 2005 6:48 pm
Location: Cd. Juarez Chihuahua

Postby Biel EA6DD » Fri Jun 23, 2006 7:10 am

:o Will be nice. I'm interested with the battery status, I hope will be compatible.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Postby Antonio Linares » Fri Jun 23, 2006 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby pawelu » Fri Jun 23, 2006 4:54 pm

Biel,

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

Regards
Pawel

Code: Select all  Expand view  RUN
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);
}
pawelu
 
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland

Postby Biel EA6DD » 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/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Postby Maurizio » Tue Jun 27, 2006 7:23 am

Hello Ramirez

it is possible have this example ?

regards Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Postby ramirezosvaldo » Fri Jul 07, 2006 4: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
ramirezosvaldo
 
Posts: 101
Joined: Mon Oct 10, 2005 6:48 pm
Location: Cd. Juarez Chihuahua


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 3 guests