43 #ifndef RQ_SENSOR_COM_H 44 #define RQ_SENSOR_COM_H 51 #define MP_BUFF_SIZE 1024 70 #endif //RQ_SENSOR_COM_H void rq_com_get_str_production_year(INT_8 *production_year)
Retrieves the sensor firmware version.
float rq_com_get_received_data(UINT_8 i)
Return an effort component.
void rq_sensor_com_read_info_high_lvl(void)
Reads and stores high level information from the sensor. These include the firmware version...
INT_8 rq_sensor_com()
Discovers and initialize the communication with the sensor.
bool rq_com_get_valid_stream(void)
returns if the stream message is valid
void rq_com_get_str_firmware_version(INT_8 *firmware_version)
Retrieves the sensor firmware version.
void rq_com_get_str_serial_number(INT_8 *serial_number)
Retrieves the sensor serial number.
void rq_com_do_zero_force_flag(void)
Set the "zero sensor" flag to 1. When the next stream message will be decoded, the effort values will...
void stop_connection(void)
close the serial port.
INT_8 rq_com_start_stream(void)
Starts the sensor streaming mode.
bool rq_com_get_stream_detected(void)
retrieves the sensor firmware version
void rq_com_listen_stream(void)
Listens and decode a valid stream input.
bool rq_com_got_new_message(void)
Returns true if a new valid stream message has been decoded and is available.