I use code from wiki
CCommsDatabase* commDb = CCommsDatabase::NewL(EDatabaseTypeIAP);
CleanupStack::PushL(commDb);
CApSelect* select = CApSelect::NewLC(
*commDb,
KEApIspTypeAll,
EApBearerTypeWLAN, // use EApBearerTypeAll for all types
KEApSortUidAscending);
TBuf<256> accessPoints;
_LIT(KAPInfoTxtFormat, "[%d]%S ");
TBool ok = select->MoveToFirst();
for(TInt i = 0; ok && (i < select->Count()); i++)
{
accessPoints.AppendFormat(
KAPInfoTxtFormat,
select->Uid(),
&select->Name());
ok = select->MoveNext();
}
CleanupStack::PopAndDestroy(2); // select, commDb
this works fine, but is it possible to get wlan network name inside of that wlan name.
I got now wlan ap and its name is Test and network name is linksys, so above code returns just Test, but I need to get that linksys.
Many thanks for help
edit: and problem is solved
wlan->ReadTextL(EApWlanNetworkName, networkName)




