The master include file for the EmberZNet API.

See EmberZNet Stack API Reference for documentation.

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_EMBER_H
#define SILABS_EMBER_H

#ifdef __cplusplus
extern "C" {
#endif

#if (!defined(EZSP_HOST) && !defined(SL_ZIGBEE_TEST) && !defined(ZIGBEE_STACK_ON_HOST))
#include "em_device.h"  // To get _SILICON_LABS macros
#endif // !EZSP_HOST && !SL_ZIGBEE_TEST

#ifndef SL_ZIGBEE_TEST
#define EVENT_NAME(x) ""
#else
#define EVENT_NAME(x) x
#endif

#include "sl_zigbee_types.h"
#include "byte-utilities.h"
#include "stack-info.h"
#include "network-formation.h"
#include "buffer_manager/buffer-management.h"
#include "buffer_manager/buffer-queue.h"
#include "buffer_manager/legacy-packet-buffer.h"
#include "message.h"
#include "child.h"
#include "security.h"
#include "aes-mmo.h"
#include "stack/include/binding-table.h"
#include "bootload.h"
#include "zigbee-device-stack.h"
#include "event_queue/event-queue.h"
#include "sl_zigbee_debug.h"
#include "library.h"
#include "zll-api.h"
#include "multi-phy.h"
#include "sl_zigbee_duty_cycle.h"
#include "mac-layer.h"
#include "sl_zigbee_random_api.h"
#include "sl_zigbee_alternate_mac.h"
#include "raw-message.h"
#include "multi-network.h"

#ifndef DOXYGEN_SHOULD_SKIP_THIS
#define RADIO_BANDS_SUPPORTED_868   BIT(0)
#define RADIO_BANDS_SUPPORTED_915   BIT(1)
#define RADIO_BANDS_SUPPORTED_433   BIT(2)
#endif // DOXYGEN_SHOULD_SKIP_THIS

#define RADIO_BANDS_SUPPORTED_2400  BIT(3)

#ifndef DOXYGEN_SHOULD_SKIP_THIS
#define RADIO_BANDS_SUPPORTED_408   BIT(4)
#endif // DOXYGEN_SHOULD_SKIP_THIS


#ifndef DOXYGEN_SHOULD_SKIP_THIS

#include "config/config.h"

#ifdef DEBUG_ASSERT
extern bool enableFailure;
extern uint8_t rateOfFailure;
extern uint8_t failuresInARow;
static uint8_t bufferFailure;
bool generateFailure(void);
void dumpFailure(void);
#endif

#endif //DOXYGEN_SHOULD_SKIP_THIS

#ifdef __cplusplus
}
#endif

#endif // SILABS_EMBER_H

PHY Information#

Bit masks for TOKEN_MFG_RADIO_BANDS_SUPPORTED.

#define

2.4 GHz band

Macros#

#define

PHY Information Documentation#

RADIO_BANDS_SUPPORTED_2400#

#define RADIO_BANDS_SUPPORTED_2400
Value:
BIT(3)

2.4 GHz band


Definition at line 81 of file stack/include/sl_zigbee.h

Macro Definition Documentation#

EVENT_NAME#

#define EVENT_NAME
Value:
(x)

Definition at line 39 of file stack/include/sl_zigbee.h