Johann Fischer
dcbadd24c2
samples: rtu_server: rework LED configuration
...
Follow modern way to configure LEDs GPIO using
struct gpio_dt_spec and GPIO_DT_SPEC_GET.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
fc7ffab2cd
samples: modbus: add TCP to serial line gateway
...
Add TCP to serial line gateway.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
Johann Fischer
e6d4b28592
samples: add MODBUS TCP server sample
...
Add MODBUS TCP server sample.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00
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
Johann Fischer
48d1b4b697
samples: add Modbus RTU server sample
...
Add Modbus RTU server sample.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2021-03-19 15:50:21 +01:00