how to convert c lib to arduino lib

hi
am find more more arduino lib for IEC 60780-5-101 but nothing found
except c lib
and now how to convert it or used in arduino
yhanks

Arduino comes with a standard C compiler. What's the problem you're facing?
Please post a link to the library in question if you want help with it.

Pieter

PieterP:
Arduino comes with a standard C compiler. What's the problem you're facing?
Please post a link to the library in question if you want help with it.

Pieter

thanks to reply man

lib60870-C is a new implementation of the IEC 60870-5-101/104 protocol for client (master station) and server (slave or controlled station). The library implements all data types of the IEC 60870-5-101/104 specifications. lib60870-C is implemented in standard C and is compatible with the C99 standard. It is designed to be as easy to use as possible.

this link for lib

in the page of lib I see

"Edition in standard C for use in embedded systems and applications. With its platform independent design it can run on many platforms."
and

"Tested on x86/x64, Coldfire, ARM9, ARM Cortex-A, ARM Cortex-M, PowerPC, MIPS"

but I dont known how to use it or if supported arduino Board

the problem I have RTU work with IEC 101 Protocol on Slave MOD
and need make master Station (arduino) to communicat to RTU with IEC 101 protocol

It's meant to run on top of an operating system, e.g. Linux. Porting it to run bare-metal is going to take a lot of work. You have to provide interfaces for threading, network stacks, sockets, etc.
https://support.mz-automation.de/doc/lib60870/latest/group__hal.html

PieterP:
It's meant to run on top of an operating system, e.g. Linux. Porting it to run bare-metal is going to take a lot of work. You have to provide interfaces for threading, network stacks, sockets, etc.
lib60870-C: Platform (Hardware/OS) abstraction layer

so this lib i cant used on arduino

94r4d0x:
so this lib i cant used on arduino

No.