z-stack_linux_gateway 在BB Black上运行./zigbeeHWgw bbb 出现错误
完全按照TI发布的z-stack_linux_gateway 的文档上操作。但在运行时还是出现了
一下错误,请问这个问题是可执行程序和BB Black上的系统不兼容么?还有有其他原因……
root@beaglebone:~/z-stack_linux_gateway_arm_binaries_38883# ls
app misc protobuf servers tools
root@beaglebone:~/z-stack_linux_gateway_arm_binaries_38883# cd servers/
root@beaglebone:~/z-stack_linux_gateway_arm_binaries_38883/servers# ls
config.ini NPI_Gateway.cfg OTA_SRVR_arm track_servers
gateway_config.tlg NPI_lnx_arm_server sample_app_ota.cfg zigbeeHAgw
GATEWAY_SRVR_arm NWKMGR_SRVR_arm start_application ZLSZNP_arm
root@beaglebone:~/z-stack_linux_gateway_arm_binaries_38883/servers# ./zigbeeHAgw bbb
running zigbeegw.scr on an ARM
resetting beaglebone black
sleeping 6 seconds after reset… Using serial port: /dev/ttyACM0
zbSocProcessRpc: CMD0:41, CMD1:80, not handled
Received System version.
Transport Protocol Version: 2
Product ID: 0
Software Release: 2.6.1
Software Revision: 38724
done
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:
./zigbeeHAgw: line 324: 676 Segmentation fault $NPI_CMD
NPI started (pid 676) at Thu Nov 12 21:30:07 UTC 2015
connect: Connection refused
[ZSTACKZNP_SRVR/MAIN] ERROR: ERROR: signal 11 was trigerred:
[ZSTACKZNP_SRVR/MAIN] ERROR: Fault address: (nil)
[ZSTACKZNP_SRVR/MAIN] ERROR: Fault reason: address not mapped to object
[ZSTACKZNP_SRVR/MAIN] ERROR: Stack trace unavailable
[ZSTACKZNP_SRVR/MAIN] ERROR: Executing original handler…
./zigbeeHAgw: line 351: 681 Segmentation fault $ZLSZNP_CMD
ZLSZNP started (pid 681) at Thu Nov 12 21:30:12 UTC 2015
[NWK_MGR/MAIN] : there are 2 args
[NWK_MGR/MAIN] : argv[0] = ./NWKMGR_SRVR_arm
[NWK_MGR/MAIN] : argv[1] = 127.0.0.1:2536
connect: Connection refused
[NWK_MGR/MAIN] ERROR: ERROR: signal 11 was trigerred:
[NWK_MGR/MAIN] ERROR: Fault address: (nil)
[NWK_MGR/MAIN] ERROR: Fault reason: address not mapped to object
[NWK_MGR/MAIN] ERROR: Stack trace unavailable
[NWK_MGR/MAIN] ERROR: Executing original handler…
./zigbeeHAgw: line 407: 684 Segmentation fault $NWKMGR_CMD $NWKMGR_RESTART_FLAG
NETWORK MANAGER started (pid 684) at Thu Nov 12 21:30:13 UTC 2015
connect: Connection refused
connect: Connection refused
Susan Yang:
请问您现在使用的是什么系统,版本呢?
user4566561:
回复 Susan Yang:
您好!我使用的主板是BB Black 上面运行的系统是
BeagleBoard.org Debian Image 2015-11-12
我也想着可能是系统的原因,但是不应该啊;然后我在BBB上从新装了一个ubuntu 的系统,想在运行都正常了,和z-stack_linux_gateway-1.0.1提供的文档说明一样了;
ps:暂时还没或得到源码,而且关于z-stack_linux_gateway的相关开发资料好少啊,你们这块能提供点开发资料么,谢谢
user4566561:
回复 Susan Yang:
比如说,我想在已经将gateway 运行起来了 我想使用cc2630 或者是 cc2530 作为enddevice ,和这个gateway组网通信,请问 enddevice队z-stack固件烧写有什么要求么?网管这边如何知道 enddevice加入了网络
VV:
回复 user4566561:
你使用Z-Stack Home 1.2.2a里面里程都可以的,入网什么都有问题。
你也可以用Z-Stack Lighting 1.0.2里面的light程序。
你可以看下Z-Stack Linux Gateway User Guide.pdf在Z-Stack_Linux_Gateway-1.0.1\Documents
TI中文支持网