It is possible detect the level of wireless signal ?
Regards Maurizio
Detect signal wireless
-
- Posts: 101
- Joined: Mon Oct 10, 2005 6:48 pm
- Location: Cd. Juarez Chihuahua
- Contact:
- Biel EA6DD
- Posts: 682
- Joined: Tue Feb 14, 2006 9:48 am
- Location: Mallorca
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42511
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Osvaldo,
Yes, please upload it to www.hyperupload.com and copy here the provided download link. Thanks
Yes, please upload it to www.hyperupload.com and copy here the provided download link. Thanks
Biel,
this is sample to check bettery status, I use function BatteryLife eg. If BatteryLife () < 10; MsgInfo (''); Endif
Regards
Pawel
this is sample to check bettery status, I use function BatteryLife eg. If BatteryLife () < 10; MsgInfo (''); Endif
Regards
Pawel
Code: Select all | Expand
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);
}
- Biel EA6DD
- Posts: 682
- Joined: Tue Feb 14, 2006 9:48 am
- Location: Mallorca
- Contact:
-
- Posts: 101
- Joined: Mon Oct 10, 2005 6:48 pm
- Location: Cd. Juarez Chihuahua
- Contact:
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
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