Status API

isConfigured

The isConfigured function will return true if the device has saved network credentials, otherwise it will return false.

API Reference

if (NW.isConfigured()) {
  ...
}
Previous
onPortalState