WiFi
wlan_get_country_code
Since 5.0.0:
Gets the Wi-Fi country code or region code. The default is WLAN_CC_US. This is not automatically set; if you need to use a different country code it must be set manually.
// PROTOTYPE
int wlan_get_country_code(void* reserved);
// EXAMPLE
wlan_country_code_t ccType = wlan_get_country_code(nullptr);
See the list of code in wlan_set_country_code.
This API is available only on the P2, Photon 2, and M-SoM in Device OS 5.0.0 and later.