I am searching ZIGBEE module which has support of different OS's like Contiki,Linux,Zephyr and RIOT for iotivity frame work. please suggest any Zigbee module with above specs.
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 YK,
I am trying to Build TI Z-Stack Linux Home Gateway reference design to run on Linux 16.04 AMD64 (64Bit) in Ubuntu 16.04 (64-bit) OS.
With the reference to the link you sent previously (i.e) http://sunmaysky.blogspot.in/2017/06/build-ti-z-stack-linux-home-gateway.html , I assume that all the API's are totally implemented on Ubuntu machine without using beagle bone black.
But i am getting errors as below
RUNTIME package for x86 creation failed
So here kindly clarify me with two things.
1. Can we implement an Zigbee gateway totally on a linux machine running all the required API's and directly interfacing it with some cc253x controller running as Zigbee coordinator without beagalbone black.
2. struck up with the above mentioned error. how to solve it ? Kindly find this link.
https://drive.google.com/file/d/0B2rfcFHdrw-ud0xHbU92SngwbmM/view?usp=sharing
AKSHAY
Hi YK Chen,
I am following all steps in my Ubuntu 14.04 32bit System as mention in blog sunmaysky.blogspot.in/.../build-ti-z-stack-linux-home-gateway.html
But still getting some errors see my terminal window:
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
cp: cannot stat ‘/home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source//Projects/tools/LinuxHost/out/NPI_lnx_armBeagleBone_server’: No such file or directory
cp: cannot stat ‘/home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/zstackserverznp/out/ZLSZNP_x86’: No such file or directory
cp: cannot stat ‘/home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/nwkmgr/out/NWKMGR_SRVR_x86’: No such file or directory
cp: cannot stat ‘/home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/hagateway/out/GATEWAY_SRVR_x86’: No such file or directory
cp: cannot stat ‘/home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/otaserver/out/OTA_SRVR_x86’: No such file or directory
BUILDING zigbeeHAgw script================================================
Package verification results:
ERROR: 4 error(s) occured during make
ERROR: 1 warning(s) occured during make
diff /home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/out/content.txt /home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_x86.txt
diff: /home/smartron/Downloads/Zigbee/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_x86.txt: No such file or directory
ERROR: Content verification failed
ERROR: RUNTIME package for x86 creation failed. See details above. Output folder/tar name prefixed with "ERROR_."
please help me in solving the error.
akshay
Z-Stack Linux Gateway BeagleBone QuickStart Guide.pdfIt's similar to the steps mentioned in chapter 3 of Z-Stack Linux Gateway BeagleBone QuickStart Guide. I attach it for your reference.
It's incorrect size. Mime is about 5.9M bytes and I attach it for your reference.
3187.z-stack_linux_gateway_x86_binaries_.tar
By the way, when you build your own binary, do you do the following step?
Create a new folder "tools" and export TCLIB to it using the following lines:
cd ~
mkdir tools
export TCLIB=~/tools
Thank you YK Chen for your all reply's,
Now i am able run zigbeeHAgw and start_application in my Ubuntu 14.04 LTS (32-bit) and in 16.04(64-bit)PC with reference Quick Start guide.
So i am not yet connected the hardware to the my PC.
please look at the logs of zigbeeHAgw and start_application.
zigbeeHAgw x86 _log:
https://drive.google.com/file/d/0B2rfcFHdrw-uRGZkSlh5cHVaVUk/view?usp=sharing
start_application _log:
https://drive.google.com/file/d/0B2rfcFHdrw-uSlVPN1g0ODhCaGs/view?usp=sharing
Thanks,
akshay
Hie YK,
As per the recent conversation, everything worked fine and i got my module cc2531. and flashed the znp firmware(CC2531-GW-ZNP_38724.hex) using cc debuger., when i am connecting to the host system and starting application(./ZigbeeHAgw and ./start application), I am able to get the device info. as given in below screenshot.
https://drive.google.com/file/d/0B2rfcFHdrw-uTlBTQU1Majl6S0E/view?usp=sharing
Now I am trying to make other cc2531 module as a end device so as given in documents/sample_app_ota_readme.txt I flashed the SampleSwitchRouter_OTA.hex but I am unable to detect this module.
I tried by binding the device and permitting for 60-100 sec. and also pressed the button(s1 or s2) but i am unable to detect it.
Please guide me for the same..