сервис был не запущен.
сменил как вы написали порт на APP1
по прежнему выдает ошибку, видимо где-то еще надо сменить?
root@wirenboard:~# wb-mqtt-smartbus
panic: open /dev/ttyNSC1: no such file or directory
goroutine 1 [running]:
main.main()
/home/boger/work/board/wb-mqtt-smartbus/smartbus_driver.go:23 +0x248
goroutine 13 [runnable]:
github.com/contactless/wbgo.func·006()
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/github.com/contactless/wbgo/mqtt.go:91
created by github.com/contactless/wbgo.(*PahoMQTTClient).Start
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/github.com/contactless/wbgo/mqtt.go:103 +0x16c
goroutine 8 [select]:
git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.func·003()
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/router.go:131 +0x494
created by git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.(*router).matchAndDispatch
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/router.go:161 +0x17c
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/home/boger/src/go/src/runtime/asm_arm.s:1322 +0x4
goroutine 9 [select]:
git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.outgoing(0x10642380)
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/net.go:124 +0x1278
created by git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.func·001
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/client.go:134 +0x1030
goroutine 10 [select]:
git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.alllogic(0x10642380)
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/net.go:273 +0x2c78
created by git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.func·001
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/client.go:134 +0x105c
goroutine 11 [sleep]:
git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.keepalive(0x10642380)
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/ping.go:70 +0x730
created by git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.func·001
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/client.go:134 +0x124c
goroutine 12 [IO wait]:
net.(*pollDesc).Wait(0x10646738, 0x72, 0x0, 0x0)
/home/boger/src/go/src/net/fd_poll_runtime.go:84 +0x3c
net.(*pollDesc).WaitRead(0x10646738, 0x0, 0x0)
/home/boger/src/go/src/net/fd_poll_runtime.go:89 +0x38
net.(*netFD).Read(0x10646700, 0x1062e69b, 0x1, 0x1, 0x0, 0xb6e08a38, 0x1062e69c)
/home/boger/src/go/src/net/fd_unix.go:242 +0x390
net.(*conn).Read(0x1060a3b0, 0x1062e69b, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/boger/src/go/src/net/net.go:121 +0xc8
io.ReadAtLeast(0xb6e0a530, 0x1060a3b0, 0x1062e69b, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/boger/src/go/src/io/io.go:298 +0x100
io.ReadFull(0xb6e0a530, 0x1060a3b0, 0x1062e69b, 0x1, 0x1, 0x1062e69b, 0x0, 0x0)
/home/boger/src/go/src/io/io.go:316 +0x64
git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets.ReadPacket(0xb6e0a530, 0x1060a3b0, 0x0, 0x0, 0x0, 0x0)
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets/packets.go:107 +0xc8
git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.incoming(0x10642380)
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/net.go:77 +0x1ec
created by git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git.func·001
/home/boger/work/board/wb-mqtt-smartbus/_vendor/src/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/client.go:134 +0x12d0