Introduction - If you have any usage issues, please Google them yourself
Why transplant Freemodbus, this issue needs to be answered in two ways . First , modbus is a very good application layer protocol , it is very simple and relatively perfect. For no contact with modbus friends, I do not recommend direct transplant freemodbus, the patient should start from modbus documents and take full advantage of all the resources around you , for example, part of the modbus PLC. Second, the fact communication protocol embedded systems can develop their own , but through practice found loopholes own custom protocols , especially the expansion is extremely difficult. I have always believed that draw on the experience of others is a good way . Learn from others mature code can reduce debugging time , functions are also a lot more .
Personal point of view , for reference only .
freemodbus Tips
freemodbus only from the machine function . freemodbus more suitable for embedded systems, although there are examples of WIN32 example , if you want