-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
In Mbed OS 5.9, targets are able to provide default network interface of each type.
Ublox Odin W2 however, does not provide WiFiInterface *WiFiInterface::get_default_instance() making it impossible to select default network interface to be a WiFi.
Same seems to be true for REALTEK_RTL8195AM.
To verify, create following main.cpp
// Network interface
NetworkInterface *net;
// Socket demo
int main() {
net = NetworkInterface::get_default_instance();
if (!net) {
printf("Error! No network inteface found.\n");
return 0;
}
printf("Found, OK\n");
}
And following mbed_app.json
{
"target_overrides": {
"*": {
"target.network-default-interface-type": "WIFI"
}
}
}
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug