大家好:
目前在搭建TI 15.4-Stack Linux Gateway 时出现了Sensor无法连接到Linux网关的问题,
网关采用BBB+CC1310烧写\ti\ti154stack_linux_x64_2_06_00_24\firmwarecoprocessor_cc13x0lp.hex例子,
Sensor烧写\ti\ti154stack_linux_x64_2_06_00_24\firmware\default\sensor_default_cc13x0lp.hex
BBB在运行run_demo.sh时曾报错 bash: ./run_gateway.sh: No such file or directory
root@am335x-evm:~/prebuilt# ./run_demo.sh Launching the Collector Application in the background TI Collector Nwk: Started Info: Channel 0 Collector Running as Process id: 4716 Launching Node-JS gateway application in background bash: ./run_gateway.sh: No such file or directory Something seems wrong with the gateway app root@am335x-evm:~/prebuilt#
其中 run_gateway.sh 位于gateway/gateway/run_gateway.sh 更改脚本后可以运行
通过浏览器进入 192.168.1.3:1310 后点击open,sensor却无法加入?这可能会是什么原因导致的呢?谢谢!
Alvin Chen:
你加权限了吗?
chmod +x run_demo.sh
Alvin Chen:
回复 Alvin Chen:
如果你是用的我们prebulid那个文件
是有些问题的
请按照如下修改:用vi或者vim打开run_demo.sh做如下修改,少了一层目录导致找不见文件了。
GATEWAY_DIR=${HERE}/gateway to GATEWAY_DIR=${HERE}/gateway/gateway