Search found 64 matches: strength

Return to advanced search

Re: wireless signal strength

Otto,

This way compiled perfectly:

c:\vce\bin\CLARM.EXE -c -Ic:\vce\include\arm -DARM -DUNICODE -DUNDER_CE WifiPeek.cpp

But I wonder if it may work fine for Windows Mobile, as -DUNDER_CE means for Windows CE.

Next we will build a small test so we can check if it properly links.
by Antonio Linares
Mon May 25, 2009 7:08 am
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Otto,

First of all we have to compile WifiPeek.cpp:

c:\vce\bin\CLARM.EXE -c -Ic:\vce\include\arm -DARM -DUNICODE WifiPeek.cpp

I am getting some compile errors here that we need to solve.
by Antonio Linares
Mon May 25, 2009 7:03 am
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Hello Antonio,
I don’t know how to do it.
I was searching the forum for EXTERN “C” and found 2 or 3 examples.
I will try to understand these.
Best regards,
Otto
by Otto
Mon May 25, 2009 6:30 am
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Otto,

Have you modified my wifi.cpp little example source code ?

That code I provided is just the starting point. Now more functions should be added to make it work.
by Antonio Linares
Mon May 25, 2009 5:27 am
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Hello Antonio, thank you. This function will be very useful. I thought I have found a workaround for the frozen screen. But it is not working: I tried with a timer and a STATIC variable lNetOK Before I check if I can reach the file on the network I activated the timer and Set lNetOK to false. The ti...
by Otto
Sun May 24, 2009 3:54 pm
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Otto,

As a start example:
wifi.cpp
Code: Select all  Expand view

#include "WifiPeek.h"

extern "C"
{
    #include <hbapi.h>
};   

HB_FUNC( CWIFIPEEK )
{
   hb_retnl( ( LONG ) new CWifiPeek );
}
 
by Antonio Linares
Sun May 24, 2009 2:51 pm
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Otto,

Yes, in fact we don't need to convert it. We can mix C and C++ code in Harbour and FWPPC :-)

We simply need to build the OBJ from WifiPeek.cpp and then create some C functions to manage the class from Harbour

I may review it this next week :-)
by Antonio Linares
Sun May 24, 2009 2:44 pm
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Hello Antonio, I downloaded the vp++ - project and compiled the source. The program is working as suspected. RSSI would be the value I need. Please could you have a look at the vp++ code . Do you think you could convert this code? Thanks in advance Otto http://www.atzwanger-software.com/...
by Otto
Sat May 23, 2009 10:10 pm
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

Re: wireless signal strength

Hello Antonio, do you think this class can be adapted to FWPPC? Thanks in advance Otto The CWifiPeek class does all the Wifi query stuff. It can be used in non-MFC applications, too. You have to add CWifiPeek.h and CWifiPeek.cpp to your project. http://www.codeproject.com/KB/mobile/PeekP...
by Otto
Sat May 23, 2009 4:58 pm
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

wireless signal strength

Can YOU post the whole code how to get the wireless signal strength, thanks
by Silvio
Tue May 19, 2009 11:40 am
 
Forum: FiveWin for Pocket PC
Topic: wireless signal strength
Replies: 12
Views: 2925

... good and easy to under stand. Now I was compelled to stop calling bitmaps in the timer, instead I am displaying only the numerical value of signal strength in percetage. Can you please look into the problem. Thanks you - Ramesh Babu P
by RAMESHBABU
Fri Oct 17, 2008 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Refresh the Desktop when quit from FWH Programe
Replies: 5
Views: 871

Mr.James, Thanks for your attention. Actually I have 10 bitmaps each to display signal strength like bmp10, bmp20, bmp30... bmp100. Based on the actual signal strength, I am deleting the old bitmap using DeleteObject( oSignalStrength:hBitmap1) When there ...
by RAMESHBABU
Fri Oct 17, 2008 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: What's I do wrong with TTimer() ?
Replies: 16
Views: 3893

... of the timers I have dedfined is still appearing on the desktop. And when I refresh the desktop, it is getting disappeared. Based on the signal strength, I am calling different bitmap resources and painting on the Message bar. Below is my code. Can you please point out where I am making mistake. ...
by RAMESHBABU
Wed Oct 15, 2008 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What's I do wrong with TTimer() ?
Replies: 16
Views: 3893

Antonio, James, Uwe and friends! It's works now! With very much strength!! :) This is my generic user function: FUNCTION aplImage( oDlg, nId, cResNome, lTransparente, lStretch, cLabel ) LOCAL oBitmap DEFAULT lTransparente := .F. , ; cResNome ...
by JC
Thu Aug 28, 2008 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: "REDEFINE SAY ... TRANSPARENT" not work! SOLVED!
Replies: 22
Views: 3602

Hello Maurizio, would you be so kind to post the whole code how to get the wireless signal strength. Regards, Otto OT: Maurizio, on Friday, the 12th of September 2008, there will be a ROLLING STONES tribute concert at Sillian. Our Rolling Stones Coverband will come straight ...
by Otto
Fri Aug 22, 2008 4:54 pm
 
Forum: FiveWin for Pocket PC
Topic: Wireless signal strength
Replies: 6
Views: 1413
PreviousNext

Return to advanced search