|
@@ -227,7 +227,7 @@ MODBUS_API modbus_mapping_t* modbus_mapping_new(int nb_bits, int nb_input_bits,
|
|
|
int nb_registers, int nb_input_registers);
|
|
|
MODBUS_API void modbus_mapping_free(modbus_mapping_t *mb_mapping);
|
|
|
|
|
|
-MODBUS_API int modbus_send_raw_request(modbus_t *ctx, uint8_t *raw_req, int raw_req_length);
|
|
|
+MODBUS_API int modbus_send_raw_request(modbus_t *ctx, const uint8_t *raw_req, int raw_req_length);
|
|
|
|
|
|
MODBUS_API int modbus_receive(modbus_t *ctx, uint8_t *req);
|
|
|
|