libmodbus icon indicating copy to clipboard operation
libmodbus copied to clipboard

openwrt and libmodbus

Open DaneshX opened this issue 10 years ago • 10 comments

Hello i have a question...i want to impliment modbus tcp/ip on soc...i RT5350 powefull chip and it support openwrt. the question is can i use libmodbus on openwrt? thanks

DaneshX avatar Jun 14 '16 19:06 DaneshX

Hi, not a dev for libmodbus but as long as it is compatible with big-endian platforms (MIPS in this case), should be good to go.

ghost avatar Jun 14 '16 19:06 ghost

Yes, you can. Libmodbus is packaged for OpenWrt/LEDE, see https://github.com/openwrt/packages/tree/master/libs/libmodbus. However, please close this ticket, it's not an issue.

mhei avatar Jun 14 '16 19:06 mhei

Hi, @mhei im a little confused! i was searching and i know about libmodbus thats interesting library .... but i really dont know so much about openwrt....i want to run modbus tcp/ip slave wifi..is it possible with openwrt? excause me if my question is so simple.

DaneshX avatar Jun 14 '16 19:06 DaneshX

libmodbus is only a library, you will need to write your own daemon. but in principle, it is possible with openwrt.

mhei avatar Jun 14 '16 20:06 mhei

Hi @mhei can i use libmodbus examples on openwrt? or i shoud customize libmodbus for my self?

DaneshX avatar Jun 15 '16 06:06 DaneshX

You could use the examples, but they are not packaged by default.

mhei avatar Jun 15 '16 08:06 mhei

Aha...Thanks alot so i buy Hardware (RT5350) asap and show my results here:) @mhei Thanks alot.

DaneshX avatar Jun 15 '16 09:06 DaneshX

Please don't forget to close this issue. Use mailing list for further need/reports...

mhei avatar Jun 15 '16 11:06 mhei

Hi @mhei on Which board or processor you make this library(libmodbus)? is it possible to make it on wrtnode or other board that support openwrt?

DaneshX avatar Jun 15 '16 13:06 DaneshX

just close this. libmodbus is packaged for all platforms that openwrt/lede supports. if openwrt works on the board, libmodbus works on the board.

karlp avatar Jun 15 '16 19:06 karlp