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.
Hi,
i saw the z-stack linux only can running at the BBB board with arm precompiled binary files, my question is : is there a source codes can re-compile for who want try the gateway in x86 pc? not special in the arm cpu?
Thank you
Hi YiKai,
I got Z-Stack Linux Gateway source from local TI. I changed the TARGET_PLATFORM to x86 in package_builder_bbb script, but encountered some errors (buildlog.txt). Are there any guideline document or prerequisite steps before building it? Thanks.
SVN Version = Main project\'s base directory: GATEWAY=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source (leave blank to use the detault) NPI Project's base directory NPI_SOURCE=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/ Protobuf library directory: PROTOLIB=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib Protobuf include directory: PROTOINC=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source Project output subdirectory: PKGS_OUTPUT_DIR=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/out (leave blank to use the detault) Building RUNTIME package for x86 platform ******************************************************** Cleaning all if test -d out; then rm -rf out; fi rm -f project_file_list.txt ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING SERVER FOR ARM BEAGLE BONE make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/tools/LinuxHost' Compiling ipclib/server/npi_lnx_ipc.c ... gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead ipclib/server/npi_lnx_ipc.c:1:0: error: bad value (armv7-a) for -march= switch /************************************************************************************************** ^ ipclib/server/npi_lnx_ipc.c:1:0: error: bad value (cortex-a8) for -mtune= switch make[1]: *** [out/npi_lnx_ipc.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/tools/LinuxHost' make: *** [arch-all-armBeagleBone] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/zstackserverznp' Compiling osal_zstack_server_znp.c ... Compiling ../source/zmain.c ... Compiling znp_af.c ... Compiling znp_misc.c ... Compiling znp_zdo.c ... Compiling ../zstackpb/zstack.pb-c.c ... In file included from ../zstackpb/zstack.pb-c.c:8:0: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include <google/protobuf-c/protobuf-c.h> ^ compilation terminated. make[1]: *** [out/zstack.pb-c.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/zstackserverznp' make: *** [arch-all-x86] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/nwkmgr' Compiling ../srvepconfig/serverep.c ... In file included from ../srvepconfig/serverep.h:50:0, from ../srvepconfig/serverep.c:55: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include <google/protobuf-c/protobuf-c.h> ^ compilation terminated. make[1]: *** [out/serverep.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/nwkmgr' make: *** [arch-all-x86] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/hagateway' Compiling ../srvepconfig/serverep.c ... In file included from ../srvepconfig/serverep.h:50:0, from ../srvepconfig/serverep.c:55: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include <google/protobuf-c/protobuf-c.h> ^ compilation terminated. make[1]: *** [out/serverep.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/hagateway' make: *** [arch-all-x86] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 export ARCH=x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/otaserver' Compiling ../zstackpb/zstack.pb-c.c ... In file included from ../zstackpb/zstack.pb-c.c:8:0: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include <google/protobuf-c/protobuf-c.h> ^ compilation terminated. make[1]: *** [out/zstack.pb-c.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/otaserver' make: *** [arch-all-x86] Error 2 Cleaning up main.o polling.o timer_utils.o socket_interface.o tcp_client.o user_interface.o data_structures.o network_info_engine.o device_list_engine.o sensor_engine.o state_reflector.o attribute_engine.o actions_engine.o commissioning_engine.o system_engine.o ota_engine.o nwkmgr.pb-c.o gateway.pb-c.o otasrvr.pb-c.o group_scene_engine.o macros.o ./out/* /bin/rm -f main.bin main.o polling.o timer_utils.o socket_interface.o tcp_client.o user_interface.o data_structures.o network_info_engine.o device_list_engine.o sensor_engine.o state_reflector.o attribute_engine.o actions_engine.o commissioning_engine.o system_engine.o ota_engine.o nwkmgr.pb-c.o gateway.pb-c.o otasrvr.pb-c.o group_scene_engine.o macros.o ./out/* rm -f project_file_list.txt VPATH is .:./../framework:./../engines:./../../nwkmgr:./../../hagateway:./../../otaserver ******************************************************** Check existance of output folder if test ! -d ./out; then mkdir ./out; fi Compiling main.c into main.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver main.c -o main.o Compiling ./../framework/polling.c into polling.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/polling.c -o polling.o Compiling ./../framework/timer_utils.c into timer_utils.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/timer_utils.c -o timer_utils.o Compiling ./../framework/socket_interface.c into socket_interface.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/socket_interface.c -o socket_interface.o Compiling ./../framework/tcp_client.c into tcp_client.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/tcp_client.c -o tcp_client.o Compiling ./../framework/user_interface.c into user_interface.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/user_interface.c -o user_interface.o Compiling ./../framework/data_structures.c into data_structures.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/data_structures.c -o data_structures.o Compiling ./../engines/network_info_engine.c into network_info_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/network_info_engine.c -o network_info_engine.o Compiling ./../engines/device_list_engine.c into device_list_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/device_list_engine.c -o device_list_engine.o Compiling ./../engines/sensor_engine.c into sensor_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/sensor_engine.c -o sensor_engine.o Compiling ./../engines/state_reflector.c into state_reflector.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/state_reflector.c -o state_reflector.o Compiling ./../engines/attribute_engine.c into attribute_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/attribute_engine.c -o attribute_engine.o Compiling ./../engines/actions_engine.c into actions_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/actions_engine.c -o actions_engine.o Compiling ./../engines/commissioning_engine.c into commissioning_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/commissioning_engine.c -o commissioning_engine.o Compiling ./../engines/system_engine.c into system_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/system_engine.c -o system_engine.o Compiling ./../engines/ota_engine.c into ota_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/ota_engine.c -o ota_engine.o Compiling ./../../nwkmgr/nwkmgr.pb-c.c into nwkmgr.pb-c.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../../nwkmgr/nwkmgr.pb-c.c -o nwkmgr.pb-c.o Compiling ./../../hagateway/gateway.pb-c.c into gateway.pb-c.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../../hagateway/gateway.pb-c.c -o gateway.pb-c.o Compiling ./../../otaserver/otasrvr.pb-c.c into otasrvr.pb-c.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../../otaserver/otasrvr.pb-c.c -o otasrvr.pb-c.o Compiling ./../engines/group_scene_engine.c into group_scene_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/group_scene_engine.c -o group_scene_engine.o Compiling ./../framework/macros.c into macros.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/macros.c -o macros.o Building main.bin... gcc -rdynamic -o main.bin main.o polling.o timer_utils.o socket_interface.o tcp_client.o user_interface.o data_structures.o network_info_engine.o device_list_engine.o sensor_engine.o state_reflector.o attribute_engine.o actions_engine.o commissioning_engine.o system_engine.o ota_engine.o nwkmgr.pb-c.o gateway.pb-c.o otasrvr.pb-c.o group_scene_engine.o macros.o -L/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib -lprotobuf-c /usr/bin/ld: skipping incompatible /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib/libprotobuf-c.so when searching for -lprotobuf-c /usr/bin/ld: skipping incompatible /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib/libprotobuf-c.a when searching for -lprotobuf-c /usr/bin/ld: cannot find -lprotobuf-c collect2: error: ld returned 1 exit status make: *** [main.bin] Error 1 rm -rf *.o sbl_tool.bin gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o main.o ../Source/main.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocCmd.o ../Source/zbSocCmd.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocTransportUart.o ../Source/zbSocTransportUart.c gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L/opt/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/lib/../usr/lib/ -o sbl_tool.bin rm -rf *.o gw_soc_fw_version_query.bin gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o main.o ../Source/main.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocCmd.o ../Source/zbSocCmd.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocTransportUart.o ../Source/zbSocTransportUart.c gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L/opt/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/lib/../usr/lib/ -o gw_soc_fw_version_query.bin Cleaning up ../source/bbb_usbreset.o ./out/* /bin/rm -f bbb_usbreset.bin ../source/bbb_usbreset.o ./out/* VPATH is . ******************************************************** Check existance of output folder if test ! -d ./out; then mkdir ./out; fi Compiling ../source/bbb_usbreset.c into ../source/bbb_usbreset.o gcc -c -Wall -g -std=gnu99 -I. ../source/bbb_usbreset.c -o ../source/bbb_usbreset.o Building bbb_usbreset.bin... gcc -o bbb_usbreset.bin ../source/bbb_usbreset.o mv ../source/bbb_usbreset.o ./out BUILDING zigbeeHAgw script================================================ Package verification results: ERROR: 18 error(s) occured during make ERROR: 1 warning(s) occured during make diff /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/out/content.txt /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_x86.txt ERROR: Content verification failed ERROR: RUNTIME package for x86 creation failed. See details above. Output folder/tar name prefixed with "ERROR_."
Hi YiKai,
I have built x86 binaries. But there are some error after I run the "./zigbeeHAgw x86". Do you know what's the possible root cause?
running zigbeegw.scr on an x86
skipping zigbee reset
Starting the ZigBee gateway subsystem
deviceKey = 0 (0 )
devPath = '/dev/ttyACM0'
logPath = './NpiLnxLog.txt'
NPI started (pid 15105) at 五 6月 26 10:06:28 CST 2015
ZLSZNP started (pid 15180) at 五 6月 26 10:06:32 CST 2015
[NWK_MGR/MAIN] : there are 2 args
[NWK_MGR/MAIN] : argv[0] = ./NWKMGR_SRVR_x86
[NWK_MGR/MAIN] : argv[1] = 127.0.0.1:2536
[NWK_MGR/MAIN] : ************************************************
[NWK_MGR/MAIN] : * Network Manager Server v1.0.1 *
[NWK_MGR/MAIN] : * The following are the avaible key commands: *
[NWK_MGR/MAIN] : * Exit Program. - q *
[NWK_MGR/MAIN] : ************************************************
NETWORK MANAGER started (pid 15278) at 五 6月 26 10:06:33 CST 2015
[GATEWAY/MAIN] :
[GATEWAY/MAIN] : ************************************************
[GATEWAY/MAIN] : * Gateway Server v1.0.1 *
[GATEWAY/MAIN] : * The following are the avaible key commands: *
[GATEWAY/MAIN] : * Exit Program. - q *
[GATEWAY/MAIN] : ************************************************
[NWK_MGR/MAIN] ERROR: Endpoint Registration Failed
[NWK_MGR/MAIN] ERROR: Registering ZDO Callbacks Failed
[NWK_MGR/MAIN] ERROR: Reading Local Network Information Failed
[NWK_MGR/MAIN] : Initialization failed. Quitting now. mhoyt
GATEWAY SERVER started (pid 15294) at 五 6月 26 10:06:35 CST 2015
[OTASRVR/MAIN] :
[OTASRVR/MAIN] : ************************************************
[OTASRVR/MAIN] : * OTA Upgrade Server 1.0.1 *
[OTASRVR/MAIN] : * The following are the avaible key commands: *
[OTASRVR/MAIN] : * Exit Program. - q *
[OTASRVR/MAIN] : ************************************************
[OTASRVR/MAIN] :
Error - No Network Manager Server Detected. Exiting...
OTA SERVER started (pid 15321) at 五 6月 26 10:06:37 CST 2015
starting tracker with our pid ./zigbeeHAgw and pid list 15105 15180 15294 15321
===================================================
NETWORK MANAGER exited with code 255 at 五 6月 26 10:06:37 CST 2015
unexpected exit code (255) from netmgr!
skipping zigbee reset
caught SIGTERM, killing all the servers and cleaning up
terminating zigbeeHAGW (pid 15013)
I bought a Philips Hue bulb first since it's available in Taiwan now. But it doesn't appear in device list. Below is the packet sniffer log. Do you know how to make it work? Thanks.
Yes, that's Philips Hue's IEEE address. I restarted my linux pc and z-stack, then it can appear in device list now. It seems that z-stack is not reliable after I wake up my linux PC which has slept three days. By the way, I can adjust Level, Hue, Saturation successfully, but there are TIMEOUT message in log sometimes. Do you know the reason? Thanks.
I removed Philips Hue light bulb from device list and tried to let it join the network again, but it failed to appear in list even I restarted my linux PC. Could you help check below sniffer log first? Thanks.PhilipsHue_FailedJoinNetwork.psd
Reset is by its bridge, right? But I only bought a light bulb. Is there any way to reset a single bulb? Is "Factory Reset" common or necessary in most ZigBee devices?
I installed Z-Stack_Lighting_1_0_2 on my Windows PC and checked Z-Stack Lighting Sample Application Users Guide.pdf. I have only CC2531 usb dongle, can I run Remote sample application and send zllInitiator_ResetToFNSelectedTarget command through CC2531? If yes, is there any document or wiki for this topic?
Erison,
Can you please post or share how you were able to compile and run on x86 machines. I encountered a lot of issues compiling, but after making minor tweaks to the Makefiles, recompiling protobuf-c-0.15 etc. I have successfully built the images (some warning were there, but I ignored them).
When I try to run on ubuntu 14.04 32bit machine, I am encountering errors: see highlight below
sudo ./zigbeeHAgw x86
running zigbeegw.scr on an x86
skipping zigbee reset
Starting the ZigBee gateway subsystem
deviceKey = 0 (0 )
devPath = '/dev/ttyACM0'
logPath = './NpiLnxLog.txt'
... freeing memory (ret 0)
Port: 2533
Following IP addresses are available:
IPv4: interface: lo IP Address 127.0.0.1
IPv4: interface: eth0 IP Address 192.168.1.130
IPv6: interface: lo IP Address ::1
IPv6: interface: eth0 IP Address fe80::a00:27ff:fe03:8643
The socket will listen on the following IP addresses:
IPv4: 0.0.0.0
IPv6: ::
0.0.0.0 means it will listen to all available IP address
waiting for first connection on #3...
NPI started (pid 3127) at Wed Aug 5 20:07:39 BST 2015
Connected to #5.(127.0.0.1 / ::fd2f:5ab7:768b:408)
ZLSZNP started (pid 3132) at Wed Aug 5 20:07:43 BST 2015
[NWK_MGR/MAIN] : there are 2 args
[NWK_MGR/MAIN] : argv[0] = ./NWKMGR_SRVR_x86
[NWK_MGR/MAIN] : argv[1] = 127.0.0.1:2536
[NWK_MGR/MAIN] : ************************************************
[NWK_MGR/MAIN] : * Network Manager Server v1.0.1 *
[NWK_MGR/MAIN] : * The following are the avaible key commands: *
[NWK_MGR/MAIN] : * Exit Program. - q *
[NWK_MGR/MAIN] : ************************************************
NETWORK MANAGER started (pid 3138) at Wed Aug 5 20:07:44 BST 2015
[GATEWAY/MAIN] :
[GATEWAY/MAIN] : ************************************************
[GATEWAY/MAIN] : * Gateway Server v1.0.1 *
[GATEWAY/MAIN] : * The following are the avaible key commands: *
[GATEWAY/MAIN] : * Exit Program. - q *
[GATEWAY/MAIN] : ************************************************
GATEWAY SERVER started (pid 3144) at Wed Aug 5 20:07:46 BST 2015
[OTASRVR/MAIN] :
[OTASRVR/MAIN] : ************************************************
[OTASRVR/MAIN] : * OTA Upgrade Server 1.0.1 *
[OTASRVR/MAIN] : * The following are the avaible key commands: *
[OTASRVR/MAIN] : * Exit Program. - q *
[OTASRVR/MAIN] : ************************************************
[NWK_MGR/MAIN] ERROR: Endpoint Registration Failed
[NWK_MGR/MAIN] ERROR: Registering ZDO Callbacks Failed
[NWK_MGR/MAIN] ERROR: Reading Local Network Information Failed
[NWK_MGR/MAIN] : Initialization failed. Quitting now. mhoyt
OTA SERVER started (pid 3152) at Wed Aug 5 20:07:48 BST 2015
[OTASRVR/MAIN] :
Error - Could not register OTA endpoint with zstackserver.Exiting...
...
Hi Venkateswar,
I also encountered the errors sometimes. I just restart my linux pc, pull and plug the dongle again, then I can start those servers successfully. I think this might be Linux GW issue.
Hi Amit,
You need to contact with local TI to sign agreement to get the source code.
Regards,
Erison
Hi Amit,
After compiling the zstack for x86 platform, Z-Stack is running on x86 linux machine. My CC2531 dongle is connected to a Ubuntu PC. By Z-Stack gateway application, I can control Philips Hue light bulb, smart plug and get notification from PIR sensor. I also bought CC debugger for flash firmware into CC2531.
Regards,
Erison
Hi Shyam,
Please my mail Id.
amitranjan.singh@lnttechservices.com
ranjan.amit1984@gmail.com
Thanks for the support.