Johann Fischer
4ff616b647
modbus: rework interface configuration
...
Use commot parameter structure to configure server
or client interfaces.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
699b2cdf9b
modbus: remove RTU from configuration and headers
...
Remove RTU from configuration and headers
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
ed0629f623
modbus: rename MODBUS RTU API to common MODBUS API
...
Rename MODBUS RTU API to common MODBUS API.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
b0518d6100
modbus: get interface index according to interface name
...
Add function to get Modbus RTU interface index according
to interface name. This can be used to clearly identify
interfaces in the application.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
d0ff35b88d
modbus: add DE/nRE gpios properties to samples and test
...
Add DE/nRE gpios properties to samples and test.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
fef70aa494
samples: add Modbus RTU client sample
...
Add Modbus RTU client sample.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2021-03-19 15:50:21 +01:00