Implementation of the Iuant interface layers in c (based on rs485)