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.

Z-Stack HA profile temperature sensor example on CC2650; Raspberry Pi and Digi Xbee Pro Series 1 as coordinator

Other Parts Discussed in Thread: CC2650, CC2531, Z-STACK

Hello,

I want to implement the temperature sensor example of Z-stack home automation profile using SmartRF06 EB and CC2650. End device will be CC2650. I want to use Digi Xbee Pro series 1 dongle on raspberry pi as coordinator. Is this possible? If Z stack linux gateway is not compatible on raspberry pi, what gateway device should I use? Also, can I use the Xbee Pro Series 1 dongle on my PC for packet sniffing using Z tool; or is it compulsory to purchase a CC2531 dongle?

Thanks in advance.

  • Z-Stack Home provide Zigbee HA profile temperature sensor example for CC2650 and there is no problem to run Z-Stack Linux Home Gateway with CC2531 USB dongle. I don't have Digi Xbee Pro series 1 dongle so don't know if it works for Zigbee HA profile.
  • Thank you for the information.

    As I understand, Z stack linux gateway can not be run on a raspberry pi. Am I correct?
  • No, Z stack linux gateway can run on a raspberry pi. You can refer to sunmaysky.blogspot.tw/.../how-to-do-porting-of-ti-z-stack-linux.html.
  • Okay. Thank you for the link :D
  • You are welcome.
  • Hello YK,

    I tried the steps in your blog and am getting the following errors when I run the server on my raspberry pi:
    "running zigbeegw.scr on an ARM
    resetting beaglebone black
    ./zigbeeHAgw: line 982: 3393 Segmentation fault ../tools/bbb_usbreset.bin
    sleeping 6 seconds after reset... ./zigbeeHAgw: line 982: 3395 Segmentation fault ../tools/gw_soc_fw_version_query.bin /dev/ttyACM0
    done
    Starting the ZigBee gateway subsystem
    ./zigbeeHAgw: line 324: 3399 Segmentation fault $NPI_CMD
    NPI started (pid 3399) at Tue Feb 9 15:36:59 IST 2016
    ./zigbeeHAgw: line 351: 3402 Illegal instruction $ZLSZNP_CMD
    ZLSZNP started (pid 3402) at Tue Feb 9 15:37:03 IST 2016
    ./zigbeeHAgw: line 407: 3405 Illegal instruction $NWKMGR_CMD $NWKMGR_RESTART_FLAG
    NETWORK MANAGER started (pid 3405) at Tue Feb 9 15:37:04 IST 2016
    ./zigbeeHAgw: line 378: 3408 Illegal instruction $GATEWAY_SERVER_CMD
    GATEWAY SERVER started (pid 3408) at Tue Feb 9 15:37:06 IST 2016
    ./zigbeeHAgw: line 438: 3413 Illegal instruction $OTA_SERVER_CMD
    OTA SERVER started (pid 3413) at Tue Feb 9 15:37:08 IST 2016
    starting tracker with our pid ./zigbeeHAgw and pid list 3399 3402 3408 3413
    ===================================================
    NETWORK MANAGER exited with code 132 at Tue Feb 9 15:37:08 IST 2016
    ./zigbeeHAgw: line 482: 3420 Killed ./track_servers $$ "$pids"
    GATEWAY_SRVR_arm: no process found
    OTA_SRVR_arm: no process found
    ZLSZNP_arm: no process found
    NPI_lnx_arm_server: no process found
    unexpected exit code (132) from netmgr!
    resetting beaglebone black
    ./zigbeeHAgw: line 982: 3483 Segmentation fault ../tools/bbb_usbreset.bin
    sleeping 6 seconds after reset... ./zigbeeHAgw: line 982: 3485 Segmentation fault ../tools/gw_soc_fw_version_query.bin /dev/ttyACM0
    done
    Starting the ZigBee gateway subsystem
    ./zigbeeHAgw: line 324: 3490 Segmentation fault $NPI_CMD
    NPI started (pid 3490) at Tue Feb 9 15:37:33 IST 2016
    ./zigbeeHAgw: line 351: 3493 Illegal instruction $ZLSZNP_CMD
    ZLSZNP started (pid 3493) at Tue Feb 9 15:37:37 IST 2016
    ./zigbeeHAgw: line 407: 3496 Illegal instruction $NWKMGR_CMD $NWKMGR_RESTART_FLAG
    NETWORK MANAGER started (pid 3496) at Tue Feb 9 15:37:39 IST 2016
    ./zigbeeHAgw: line 378: 3499 Illegal instruction $GATEWAY_SERVER_CMD
    GATEWAY SERVER started (pid 3499) at Tue Feb 9 15:37:41 IST 2016
    ./zigbeeHAgw: line 438: 3506 Illegal instruction $OTA_SERVER_CMD
    OTA SERVER started (pid 3506) at Tue Feb 9 15:37:43 IST 2016
    starting tracker with our pid ./zigbeeHAgw and pid list 3490 3493 3499 3506
    ===================================================
    NETWORK MANAGER exited with code 132 at Tue Feb 9 15:37:43 IST 2016
    ./zigbeeHAgw: line 482: 3513 Killed ./track_servers $$ "$pids"
    GATEWAY_SRVR_arm: no process found
    OTA_SRVR_arm: no process found
    ZLSZNP_arm: no process found
    NPI_lnx_arm_server: no process found
    unexpected exit code (132) from netmgr!
    resetting beaglebone black
    ./zigbeeHAgw: line 982: 3572 Segmentation fault ../tools/bbb_usbreset.bin
    sleeping 6 seconds after reset... ./zigbeeHAgw: line 982: 3574 Segmentation fault ../tools/gw_soc_fw_version_query.bin /dev/ttyACM0
    done
    ^Ccaught SIGTERM, killing all the servers and cleaning up
    terminating zigbeeHAGW (pid 3339)
    Killed
    "

    Could you please help me with debugging these errors?
  • Do you get full source code from TI?
  • I downloaded the source files from ti website. Link: http://www.ti.com/tool/z-stack
  • You have to contact TI local representative to sign SLA to get full source code of Z-Stack Linux Home GW and follow my steps to build binary for Raspberry Pi.
  • Okay, thanks for your reply.
  • You are welcome.