I have a problem (once again) to configure my profile in
a proper way. I would like to put in the network name
"ANIFA" in my newly created profile (using C++).
In the same way as when you write the "Network name" when
you create a profile manually.
I have tried to do this whith the following code:
ssid.Len = 5;
memcpy(ssid.SSID, "ANIFA", 5);
dwStatus = pProfile->SetDataBin(
(unsigned char *)&ssid);
The result will be that the name ANIFA appears in the list of
network (I can see that in the "Administrador D211" program.)
Nevertheless my program then creates a "Adhoc" connection
instead of an infrastructure!
But if I select the network name ANIFA in the "Administrador D211
program" and press "Change name", and thereafter "Okey" WHITHOUT
changing the network name, it will connect to the ANIFA
network as infrastructure. ;-()
I think that I'm doing something wrong when I programaticly
adding the network name, and therefor he treats the name ANIFA
as a new network that doesn't exist.
I presuate all kind of hint, tricks and answers.
Best regards, Martin