Zigbee Module Examples

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ZM Examples Directory Reference

## Directories
directory | Messages

## Files
file | example_basic_comms_coordinator_afzdo.c
| Resets Module, configures this device to be a Zigbee Coordinator, and displays any messages that are received. Uses the AF/ZDO interface.
file | example_basic_comms_coordinator_sapi.c
| Resets Module, configures this device to be a Zigbee Coordinator, and displays any messages that are received. Uses the Simple API.
file | example_basic_comms_end_device_afzdo.c
| Resets Radio, configures this device to be a Zigbee End Device, joins a network, then sends a message to the coordinator every few seconds. Sleeps inbetween transmissions. Will also transmit a message when the button is pressed.
file | example_basic_comms_router_afzdo.c
| Resets Radio, configures this device to be a Zigbee Router, joins a network, then sends a message to the coordinator once per second. Uses the AF/ZDO interface. Pressing the button will display device information.
file | example_basic_comms_router_sapi.c
| Resets Radio, configures this device to be a Zigbee Router, joins a network, then sends a message to the coordinator once per second. Uses the Simple API.
file | example_button_interrupt.c
| Toggles LED0 when button pressed.
file | example_fragmentation_coordinator_afzdo.c
| Resets Module, configures this device to be a Zigbee Coordinator, and displays any messages that are received. If the message is extended then gets all the parts and displays it. Uses the AF/ZDO interface.
file | example_fragmentation_router_afzdo.c
| Resets Module, configures this device to be a Zigbee Router, joins a network, then sends an extended length message to the coordinator periodically. Uses the AF/ZDO interface. Pressing the button will display device information.
file | example_get_mac_address.c
| Resets Module, gets MAC Address.
file | example_get_random.c
| Resets Radio, gets a random number using SYS_RANDOM command and displays it.
file | example_get_version.c
| Resets Radio, gets module version information using SYS_VERSION command and displays it.
file | example_hello_world.c
| Outputs "Hello World" to console and toggles LED approximately once per second.
file | example_I2C_test.c
| tests the I2C interface
file | example_measure_module_current.c
| Simple utility to demonstrate how to measure module current using onboard current sense amplifier. To generate sufficient current to measure we turn the module on and off using its RF Test functionality.
file | example_network_explorer.c
| Allows the user to configure this device as either a Coordinator, Router, or End device and explore various features of the Zigbee Module, such as sending messages via short address or long address, finding devices, etc. Uses the AF/ZDO interface. Uses a command line interface (CLI).
file | example_read_color_sensor.c
| Uses the MSP430's I2C interface to read the external color sensor.
file | example_read_digital_io.c
| Resets Module, configures all four of the GPIO pins as inputs with pullups, then reads out the value of these pins to console once per second, between 0x00 (all low) to 0x0F (all high). To test, start this application then connect one or more GPIO pins to GND. You will see the value change accordingly.
file | example_read_eeprom.c
| reads and writes the EEPROM
file | example_read_IR_temperature_sensor.c
| Uses the I2C interface to read the external IR temperature sensor.
file | example_read_nonvolatile_memory.c
| Resets Module, reads out the contents of all user non-volatile (NV) items and displays to console.
file | example_read_supply_voltage.c
| Uses the ADC to measure the supply voltage and toggles LED1 approximately once per second.
file | example_reset_module.c
| Resets Module, parses message received and displays to console.
file | example_rf_tester.c
| Simple utility to configure the Module to output an RF test signal.
file | example_secure_comms_coordinator_afzdo.c
| Resets Radio, configures this device to be a Zigbee Coordinator, and displays any received messages. Supports several security options such as preconfigured key, etc. Uses the AF/ZDO interface.
file | example_secure_comms_router_afzdo.c
| Resets Radio, configures this device to be a Zigbee Router, joins a network, initializes security and then sends a message to the coordinator once per second. Uses the AF/ZDO interface.
file | example_simple_application_coordinator_afzdo.c
| Resets Module, configures this device to be a Zigbee Coordinator, and displays any messages that are received. If the message contains a known object-identifier (OID) then parses the contents of the OID. Also displays received value to RGB LED and allows user to use the pushbutton to select which OID is displayed on the RGB LED.
file | example_simple_application_end_device_afzdo.c
| Resets Module, configures this device to be a Zigbee End Device, joins a network, then sends a message to the coordinator periodically with information from the peripherals.
file | example_simple_application_router_afzdo.c
| Resets Module, configures this device to be a Zigbee Router, joins a network, then sends a message to the coordinator periodically with information from the peripherals.
file | example_timer_interrupt.c
| Uses the microcontroller's internal oscillator to configure a timer to wake up periodically. Toggles LED0 when an interrupt is generated from the timer. Otherwise sleeps.
file | example_write_digital_io.c
| Resets Module, configures all four of the GPIO pins as outputs, then toggles the GPIO pins once per second. To test, monitor GPIO pins with an oscilloscope.
file | example_write_nonvolatile_memory.c
| Resets Module, prompts the user for which NV item to write (1-6) and writes test data to that location.
file | module_example_utils.c
| Simple utilities for Module examples.
file | module_example_utils.h