This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

New Z-Stack Linux Gateway release announced

Other Parts Discussed in Thread: Z-STACK, CC2531, CC2530, CC3200, CC2591, CC2538

Hi Z-Stack fans,

I am excited to announce the release of our Z-Stack Linux Gateway software product.

It is a Linux SW package, running on BeagleBone black and featuring Sitara AM335x processor, which provides a very simple to use and abstracted API that accelerates the integration and development of application that use ZigBee Home Automation as connectivity technology in Linux.

Giving a socket level interface to the applications, our Linux gateway middleware implements a ZigBee to IP translation, enabling other TCP/IP based application to easily connect with it.

The middleware is an integrated sub-system, providing features like serial boot loader capability for in-field upgrade of the local ZigBee firmware as well as OTA server for upgrade of remote nodes.

Combined with embedded CC253x ZNP, the whole solution is flexible and versatile for the control and monitor of any kind of Home Automation device.

The Z-Stack Linux gateway SDK is an Ubuntu installer SDK, which bundles the gateway sub-system middleware, a feature-rich application that uses it and several documents that guide you through the first step of the install and the development of your application.

Please visit www.ti.com/tool/z-stack and download the Z-STACK-LINUX-GATEWAY SDK.

Stay tuned for more news and enjoy our Z-Stack Linux gateway product!

Thanks,

TheDarkSide

  • Hi,

    I am trying to enable reporting for Byun switch with the demo app. I have added following changes in user_interface.c file for switch case 'y':

    attr_configure_reporting(destination_addr, gateway_self_addr, 0, CLUSTER_ID_ONOFF, ATTRID_ON_OFF, GW_ZCL_ATTRIBUTE_DATA_TYPES_T__ZCL_DATATYPE_BOOLEAN);

    I commented the attribute reporting for Temperature measurement and Humdiity which is the sample code in user_interface.c

    Steps to run:

    1. Run HA gateway with command: "hagateway x86"

    2. Run sample application with command: "./start_application

    3. Press "P" to permit join requests.

    4. My Zigbee switch then connects to gateway and joins the network. It has 3 ON/OFF buttons shown as 3 endpoints on the console:

    IEEE_ADDR ADDR EP DETAILS | EP DETAILS | ...
    00:12:4B:00:08:B8:3F:1E 0000 02 0007(HA) | 03 0100(HA) | 04 0101(HA) | 05 0102(HA) | 06 0102(HA)
    >00:12:4B:00:08:93:F7:F4 6DBE 03 ON/OFF SWITCH | 02 ON/OFF SWITCH | 01 ON/OFF SWITCH

    5. Then I select one of the endpoints for the switch and press "D"

    6. I select the endpoint 03 for HA gateway and again press "D".

    This completes the bind process

    7. Now I select the endpoint on switch and press "y" to enable reporting.

    But I am getting following error:

    received from GATEWAY: len=6, cmd_id=0, subsystem=115
    Raw=06:00:73:00:08:00:10:00:18:00
    Calling confirmation callback
    attr_read_confirm_handler: Received ZIGBEE_GENERIC_CNF
    attr_read_confirm_handler: Status SUCCESS.
    Reporting Register state 4
    received from NWK_MGR: len=21, cmd_id=27, subsystem=82
    Raw=15:00:52:1B:08:1B:10:01:18:00:22:0D:08:00:11:F4:F7:93:08:00:4B:12:00:28:03
    comm_device_binding_entry_request_rsp_ind Received NWK_MGR_CMD_ID_T__NWK_SET_BINDING_ENTRY_RSP_IND
    Bind/Unbind successful
    sourceaddress 0x124b000893f7f4 endpoint 0x3
    Reporting Register state 5
    Unregistering state machine (00422e4a)
    received from GATEWAY: len=12, cmd_id=21, subsystem=83
    Raw=0C:00:53:15:08:15:10:00:18:04:22:02:08:00:28:00
    attr_process_set_attribute_reporting_rsp_ind: WARNING: Status FAILURE msg->status = 4

    I want the demo app to show the status of switch ON/OFF on the console, when I manually press the switch. The reverse is working fine, i.e. if I select the respective endpoint and press N/F then the switch is turned ON/OFF.

    Please guide me. What steps have I missed? Where can I get more information on the status and error codes?

    Thanks,

    Sonal