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.

[参考译文] CC1352P:TI 15.4-Stack SDK Linux 示例运行应用程序使用预编译的二进制文件错误

Guru**** 2393725 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1232459/cc1352p-ti-15-4-stack-sdk-linux-example-run-application-use-prebuilt-binaries-error

器件型号:CC1352P

大家好

我想使用 x86 PC (ubuntu23.4)作为网关创建 TI15.4网络、如下所示:

安装 SDK (4_40_00_03)

对 Launch-cc1352p1-4进行编程

使用预生成的二进制文件运行应用程序时出错。

TI Collector
Nwk: Started





Info: Channel 0
cmd: 
cici@cici-computer:~/ti/ti154stack_linux_x64_4_40_00_03/prebuilt$ 
cmd:  throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use 0.0.0.0:1310
    at Server.setupListenHandle [as _listen2] (node:net:1727:16)
    at listenInCluster (node:net:1775:12)
    at doListen (node:net:1924:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1754:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '0.0.0.0',
  port: 1310
}

如能得到您的答复,我将不胜感激。

此致,

TDY

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、TDY:

    该应用使用的端口似乎已在使用中。 您可能必须终止正在使用该端口的进程。  

    https://stackoverflow.com/questions/4075287/node-express-eaddrinuse-address-already-in-use-kill-server

    此致、

    SID

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、我是  id

    1.该端口被占用,因为我反复执行 sudo。 /run_demo.sh。

    2.I 以新顺序再次执行了 run_demo.sh、但出现了新错误。

    cici@cici-computer:~$ cd /home/cici/ti/ti154stack_linux_x64_4_40_00_03/prebuilt/
    cici@cici-computer:~/ti/ti154stack_linux_x64_4_40_00_03/prebuilt$ sudo chmod u+x run_demo.sh
    [sudo] cici 的密码: 
    cici@cici-computer:~/ti/ti154stack_linux_x64_4_40_00_03/prebuilt$ sudo ./run_demo.sh
    Launching the Collector Application in the background
    
    TI Collector
    Nwk: Started
    
    
    
    
    
    Info: Channel 0
    cici@cici-computer:~/ti/ti154stack_linux_x64_4_40_00_03/prebuilt$ 
    cmd: 
    0): cannot open directory "/var/lib": permission denied
    cmd:

    我该怎么办?

    如能得到您的答复,我将不胜感激。

    此致、

    TDY

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、TDY:  

    这似乎是一些 Linux 权限问题。 请检查本主题中的解决方案是否对您有所帮助。  

    https://askubuntu.com/questions/1208816/can-not-open-directory-even-if-i-sudo-user

    此致、
    SID