I have read this article already 3 times
and to be honest I got really upset every time
I would very much appreciate if someone could tell
how can I use this example:
in my Active Object file (*.cpp and *.h)
// defines buffer of size of max. 512 TChars;
// client application sets the needed buffer size.
// make modifiable descriptor
monitor.GetPckgAttribute( EBearerIdAll, // some parameter
0, // SubConnection Id
KWLANNetworks, // specify the request
ptr, // buffer for writing data
// after completion, arr is filled with data
User::WaitForRequest( status );
// amount of array items totally to be transferred
// amount of actually received items
if(total != count)
// not all data is received
// act accordingly to a client's needs
// for example, re-request the same data with bigger buffer size
// can be calculated exactly, by using “total” value
// unpack data to an array
// here buffer will be converted to an array
for(TUint i(0); i < wlanNetworks.Count(); ++i)
// use net here
Using GetPckgAttribute for requesting KSNAPsAvailability
Guys please don't get me wrong, bug senteces like this one
do not help much !!!
The following events are enabled only when the client has set the threshold that applies to the event:
so I am probably suppose to guess that there is something like
KSignalStrengthThreshold and not just
The signalstrength comming from TPckgBuf<TConnMonNetworkNames> iPkgNetworks is also rubbish!
It couldnt' be the case that I am sitting on top of my wlan-router
and I get only 37% ?!? (my laptop is showing 100) and a router from
my neighbour shows 87% ...
anyhow.., thank you for your reply.