debevv / nanoMODBUS

A compact MODBUS RTU/TCP C library for embedded/microcontrollers
MIT License
234 stars 47 forks source link

RTU Connection Setup #53

Open Daltiair opened 3 weeks ago

Daltiair commented 3 weeks ago

I am looking to use your library for a project going to use both RTU and TCP. I've noted there is no way to set up the RTU port number, I assume that is expected to be handled by the user? Let me know if I missed something

debevv commented 3 weeks ago

Yes, you are supposed to setup any RTU and TCP connection by yourself and to implement the 2 functions to read and write on that connection. Have a look at the examples for more info