Please Help me to connect WPA2 Enterprise

I’d like to know how to use SDK for BW16…
please… I want to use 5Ghz wifi with WPA2 Enterprise…

Hi @nicobockko

you should use the EAP example code in the SDK.
You can refer to the readme.txt file for how to run it.

I thought this feature required a custom version of the firmware under NDA - is this still correct, or have things changed?

thanks for your comment
but I don’t now how to use SDK
I found this example from Arduino IDE with BW16
But I have ID, Password of an account to connect WPA2-SSID
How can I use ID,Password instaead of just Password of SSID to connect WPA2-SSID


 This example connects to an unencrypted Wifi network.
 Then it prints the  MAC address of the Wifi shield,
 the IP address obtained, and other network details.

 * WiFi shield attached

 created 13 July 2010
 by dlf (Metodo2 srl)
 modified 31 May 2012
 by Tom Igoe
#include <WiFi.h>

// If you are connecting to an iPhone WiFi hotspot, the default SSID uses Unicode (U+2019) Right Single Quotation Mark instead of ASCII apostrophe
// Modify the "Your Name" section in the SSID below to connect to an iPhone using a default SSID style
// char ssid[] = "Your Name\xE2\x80\x99s iPhone";

// UTF-8 encoding can also be used for SSID with emoji characters
// Emoji characters can be converted into UTF-8 at
// char ssid[] = "\xe2\x9c\x8c\xef\xb8\x8f Ameba \xe2\x9c\x8c\xef\xb8\x8f";

char ssid[] = "yourNetwork";     //  your network SSID (name)
char pass[] = "secretPassword";  // your network password
int status = WL_IDLE_STATUS;     // the Wifi radio's status

void setup() {
    //Initialize serial and wait for port to open:
    while (!Serial) {
        ; // wait for serial port to connect. Needed for native USB port only

    // check for the presence of the shield:
    if (WiFi.status() == WL_NO_SHIELD) {
        Serial.println("WiFi shield not present");
        // don't continue:
        while (true);

    // attempt to connect to Wifi network:
    while (status != WL_CONNECTED) {
        Serial.print("Attempting to connect to WPA SSID: ");
        // Connect to WPA/WPA2 network:
        status = WiFi.begin(ssid, pass);

        // wait 10 seconds for connection:

    // you're connected now, so print out the data:
    Serial.print("You're connected to the network");

void loop() {
    // check the network connection once every 10 seconds:

void printWifiData() {
    // print your WiFi shield's IP address:
    IPAddress ip = WiFi.localIP();
    Serial.print("IP Address: ");

    // print your MAC address:
    byte mac[6];
    Serial.print("MAC address: ");
    Serial.print(mac[0], HEX);
    Serial.print(mac[1], HEX);
    Serial.print(mac[2], HEX);
    Serial.print(mac[3], HEX);
    Serial.print(mac[4], HEX);
    Serial.println(mac[5], HEX);

void printCurrentNet() {
    // print the SSID of the network you're attached to:
    Serial.print("SSID: ");

    // print the MAC address of the router you're attached to:
    byte bssid[6];
    Serial.print("BSSID: ");
    Serial.print(bssid[5], HEX);
    Serial.print(bssid[4], HEX);
    Serial.print(bssid[3], HEX);
    Serial.print(bssid[2], HEX);
    Serial.print(bssid[1], HEX);
    Serial.println(bssid[0], HEX);

    // print the received signal strength:
    long rssi = WiFi.RSSI();
    Serial.print("signal strength (RSSI):");

    // print the encryption type:
    byte encryption = WiFi.encryptionType();
    Serial.print("Encryption Type:");
    Serial.println(encryption, HEX);

I have no idea …
I’m so sad


This has changed, due to frequent user feedback, the EAP feature and sample code has been added to the GitHub SDK.

The NDA SDK still has access to other features not available on the GitHub SDK

EAP is only available on the GitHub SDK, and not supported in Arduino.

but how can i use SDK on Arduino IDE?

This SDK is separate and not usable in Arduino IDE.
You can refer to this page for how to use it.

Hey @wyy, is this functionality available in the arduino IDE yet? No worries if not, I’ll just have to boot a linux VM on my Mac and get my head around the SDK.