ThreadNetworkStatusCodes

public class ThreadNetworkStatusCodes extends CommonStatusCodes

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.

Constant Value: 44001

public static final int MAX_STORAGE_SIZE_EXCEEDED

Failed to add Thread network credentials because the storage quota is exceeded.

Constant Value: 44003

public static final int PERMISSION_DENIED

Operation is not permitted.

Constant Value: 44000

public static final int PLATFORM_NOT_SUPPORTED

Operation is not supported on current platform.

Constant Value: 44002

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.