modbus_lib icon indicating copy to clipboard operation
modbus_lib copied to clipboard

Lightweight and easy to merge Modbus RTU Slave library for microcontrollers

Results 4 modbus_lib issues
Sort by recently updated
recently updated
newest added

Following warnings are produced when compiled with `-Wconversion -std=c99 -pedantic -Wall -Wextra` flags: ``` /home/ceremcem/embedded/gcc/gcc-arm-none-eabi-10-2020-q4-major/bin//arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F407xx -ICore/Inc -IDrivers/STM32F4xx_HAL_Driver/Inc -IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F4xx/Include -IDrivers/CMSIS/Include -Imodbus_lib -O0 -Wconversion...

enhancement

Currently two different error management approaches are used. One uses `return modbus_lib_send_error(MBUS_RESPONSE_SERVICE_DEVICE_FAILURE)` and other uses `return MBUS_RESPONSE_SERVICE_DEVICE_FAILURE` in `modbus_lib_read_handler` and `modbus_lib_write_handler` respectively. Proper approach might be using `modbus_lib_send_error()` for both...

enhancement

I implemented the modbus library into my project and noticed while debugging that the union CRC_t, MbDataField is endian dependent. It would really help if the dependence on endianness would...

enhancement

https://stackoverflow.com/a/67818025/1952991

enhancement