17.05.2023, 10:39
I tried connecting the caleffi meter to the /dev/RS485-2 port as a result i don't get the scan table and still no data
log:
Code:
require('mbus')
mbus.init('/dev/RS485-2', 9600 ,"half")
res, err = mbus.scan(1 , 10, 1)
log(res)
log(err)
log(mbus.getdata(7))
log:
Code:
m-bus 17.05.2023 12:38:53
* table:
m-bus 17.05.2023 12:38:53
* nil
m-bus 17.05.2023 12:38:55
* arg: 1
* nil
* arg: 2
* string: failed to send/receive frame