shimmeringbee / zstack

Implementation of a ZNP and support code designed to interface with Texas Instruments Z-Stack, written in Go.
https://shimmeringbee.io/
Apache License 2.0
27 stars 8 forks source link

Initialisation fails on linux/arm7 #19

Closed pwood closed 3 years ago

pwood commented 3 years ago

While trying to run code using zstack on a Raspberry Pi 3, initialisation fails, where as the same configuration works on an AMD64 architectured machine.

This could be to do with different sizes of int on the different platforms, they are the same endian so thankfull doesn't appear to be a byte order issue.

This issue may also effect ZCL, bytecodec or unpi.

pwood commented 3 years ago

This issue was actualy due to serial port configuration of go-serial.v1 - it by default disables RTSCTS, and SetRTS was confusing matters. This has been removed from controller and as such is not an issue.