Status codes for ThreadNetworkClient
methods result Task
failures.
The codes are supplementary to common status codes in CommonStatusCodes
.
Constant Summary
int | LOCAL_NETWORK_NOT_CONNECTED | Local Wi-Fi or Ethernet network is not connected. |
int | MAX_STORAGE_SIZE_EXCEEDED | Failed to add Thread network credentials because the storage quota is exceeded. |
int | PERMISSION_DENIED | Operation is not permitted. |
int | PLATFORM_NOT_SUPPORTED | Operation is not supported on current platform. |
Inherited Constant Summary
Public Constructor Summary
Public Method Summary
static String |
getStatusCodeString(int statusCode)
Get the debug string associated with the status code.
|
Inherited Method Summary
Constants
public static final int LOCAL_NETWORK_NOT_CONNECTED
Local Wi-Fi or Ethernet network is not connected.
public static final int MAX_STORAGE_SIZE_EXCEEDED
Failed to add Thread network credentials because the storage quota is exceeded.
public static final int PERMISSION_DENIED
Operation is not permitted.
public static final int PLATFORM_NOT_SUPPORTED
Operation is not supported on current platform.
Public Constructors
public ThreadNetworkStatusCodes ()
Public Methods
public static String getStatusCodeString (int statusCode)
Get the debug string associated with the status code. This can be used for clearer logging messages to avoid having to look up error codes.