CLI commands for sending various messages.

License#

Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

/***************************************************************************/
#ifndef SILABS_ZCL_CLI_H
#define SILABS_ZCL_CLI_H

#if !defined(EMBER_AF_GENERATE_CLI)
void emAfCliSendCommand(void);
void emAfCliSendUsingMulticastBindingCommand(void);
void emAfCliBsendCommand(void);
void emAfCliReadCommand(void);
void emAfCliWriteCommand(void);
void emAfCliTimesyncCommand(void);
void emAfCliRawCommand(void);
void emAfCliAddReportEntryCommand(void);
#endif

void zclSimpleCommand(uint8_t frameControl,
                      uint16_t clusterId,
                      uint8_t commandId);

extern EmberCommandEntry keysCommands[];
extern EmberCommandEntry interpanCommands[];
extern EmberCommandEntry printCommands[];
extern EmberCommandEntry zclCommands[];
extern EmberCommandEntry certificationCommands[];

#define zclSimpleClientCommand(clusterId, commandId)                                  \
  zclSimpleCommand(ZCL_CLUSTER_SPECIFIC_COMMAND | ZCL_FRAME_CONTROL_CLIENT_TO_SERVER, \
                   (clusterId),                                                       \
                   (commandId))

#define zclSimpleServerCommand(clusterId, commandId)                                  \
  zclSimpleCommand(ZCL_CLUSTER_SPECIFIC_COMMAND | ZCL_FRAME_CONTROL_SERVER_TO_CLIENT, \
                   (clusterId),                                                       \
                   (commandId))

#endif // SILABS_ZCL_CLI_H

Macros#

#define
zclSimpleClientCommand (clusterId, commandId)
#define
zclSimpleServerCommand (clusterId, commandId)

Variables#

EmberCommandEntry
EmberCommandEntry
EmberCommandEntry
EmberCommandEntry
EmberCommandEntry

Functions#

void
zclSimpleCommand(uint8_t frameControl, uint16_t clusterId, uint8_t commandId)

Macro Definition Documentation#

zclSimpleClientCommand#

#define zclSimpleClientCommand
Value:
zclSimpleCommand(ZCL_CLUSTER_SPECIFIC_COMMAND | ZCL_FRAME_CONTROL_CLIENT_TO_SERVER, \
(clusterId), \
(commandId))

Definition at line 42 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

zclSimpleServerCommand#

#define zclSimpleServerCommand
Value:
zclSimpleCommand(ZCL_CLUSTER_SPECIFIC_COMMAND | ZCL_FRAME_CONTROL_SERVER_TO_CLIENT, \
(clusterId), \
(commandId))

Definition at line 47 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

Variable Documentation#

keysCommands#

EmberCommandEntry keysCommands[]

Definition at line 36 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

interpanCommands#

EmberCommandEntry interpanCommands[]

Definition at line 37 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

printCommands#

EmberCommandEntry printCommands[]

Definition at line 38 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

zclCommands#

EmberCommandEntry zclCommands[]

Definition at line 39 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

certificationCommands#

EmberCommandEntry certificationCommands[]

Definition at line 40 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

Function Documentation#

emAfCliSendCommand#

void emAfCliSendCommand (void )
Parameters
N/A

Definition at line 22 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliSendUsingMulticastBindingCommand#

void emAfCliSendUsingMulticastBindingCommand (void )
Parameters
N/A

Definition at line 23 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliBsendCommand#

void emAfCliBsendCommand (void )
Parameters
N/A

Definition at line 24 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliReadCommand#

void emAfCliReadCommand (void )
Parameters
N/A

Definition at line 25 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliWriteCommand#

void emAfCliWriteCommand (void )
Parameters
N/A

Definition at line 26 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliTimesyncCommand#

void emAfCliTimesyncCommand (void )
Parameters
N/A

Definition at line 27 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliRawCommand#

void emAfCliRawCommand (void )
Parameters
N/A

Definition at line 28 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

emAfCliAddReportEntryCommand#

void emAfCliAddReportEntryCommand (void )
Parameters
N/A

Definition at line 29 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h

zclSimpleCommand#

void zclSimpleCommand (uint8_t frameControl, uint16_t clusterId, uint8_t commandId)
Parameters
N/AframeControl
N/AclusterId
N/AcommandId

Definition at line 32 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/cli/zcl-cli.h