Basic Server#

API and Callbacks for the Basic Cluster Server Component.

Silicon Labs implementation of the Basic server cluster. This component implements the optional ResetToFactoryDefaults command, which allows any remote device in the network to reset the local device. When the application receives this command, the component resets attributes managed by the framework to their default values and then calls a callback so that the application can perform any other necessary reset-related operations. The command is disruptive and not required, so Silicon Labs recommends disabling this component for most production applications.

This group describes the CLI commands for the Basic cluster. Listed below is a description of the cluster: Attributes for determining basic information about a device, setting user device information such as location, and enabling a device.

Modules#

Basic

Macros#

#define

zcl basic gls [startLocale:-1] [maxLocalesRequested:1]

#define

zcl basic glsr [discoveryComplete:1] [localeSupported:-1]

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_BASIC_RTFD#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_BASIC_RTFD

zcl basic rtfd

  • Command that resets all attribute values to factory default.


Definition at line 341 of file app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_BASIC_GLS#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_BASIC_GLS

zcl basic gls [startLocale:-1] [maxLocalesRequested:1]

  • This command gets locales supported.

    • startLocale - CHAR_STRING

    • maxLocalesRequested - INT8U


Definition at line 348 of file app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_BASIC_GLSR#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_BASIC_GLSR

zcl basic glsr [discoveryComplete:1] [localeSupported:-1]

  • The locales supported response command is sent in response to a get locales supported command, and is used to discover which locales the device supports.

    • discoveryComplete - INT8U

    • localeSupported - CHAR_STRING


Definition at line 355 of file app/framework/test/headers/cli.doc