Library for microcontroller

28 views
Skip to first unread message

Sarath Joseph

unread,
Jun 29, 2020, 11:27:46 PM6/29/20
to libmodbus
Hi,I want to write a library that works on microcontrollers also.But I can get where some of the functions are defined.The functions declared in the backed class are defined where?Could someone pls tell me.I had written before also but I didnt get any respone.
Its for a work I got.Otherwise I would have write from scratch.Please help!

Bodo Meissner

unread,
Jun 30, 2020, 2:09:03 AM6/30/20
to libm...@googlegroups.com
Hello,

your question is difficult to understand.

On 30.06.20 05:27, Sarath Joseph wrote:
> Hi,I want to write a library that works on microcontrollers also.

Do you mean that you want to write a library that uses libmodbus?
Or do you want to modify libmodbus to compile it for a microcontroller?
On what microcontrollers using what operating system?

> But I
> can get where some of the functions are defined.

Do you mean "I can't get..."?

> The functions declared
> in the backed class are defined where?

Please add the functions' names (or at least some examples).
If you get an error message copy&paste the exact error message.

I don't understand what you mean with "the backed class". libmodbus is
implemented in C, it does not use classes.

Best regards,
Bodo

Sarath Joseph

unread,
Jul 4, 2020, 3:34:51 AM7/4/20
to libm...@googlegroups.com
I want to modify libmodbus to work on esp32 on freertos.I cant find function definition of MODBUS_API int modbus_set_slave(), and function initialised in backend class, etc

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes libmodbus.
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse libmodbus+...@googlegroups.com.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/libmodbus/7da4c523-3086-c12d-ebf0-90087918cc2a%40bodo-m.de.
Reply all
Reply to author
Forward
0 new messages