147 buffer execute (
const buffer &command,
bool with_feedback =
false );
152 buffer prepare_play_tone ( uint16_t tone_Hz, uint16_t duration_ms );
154 buffer prepare_output_state (
157 motor_modes mode = motor_brake,
158 regulation_modes regulation = regulation_motor_speed,
159 int8_t turn_ratio = 0,
160 motor_run_states state = motor_run_state_running,
161 uint32_t tacho_count = 0 );
164 buffer prepare_reset_motor_position ( motors motor,
bool relative_to_last_position =
false );
165 buffer prepare_stop_sound_playback (
void );
166 buffer prepare_keep_alive (
void );
172 void play_tone ( uint16_t tone_Hz, uint16_t duration_ms );
175 void set_motor ( motors motor, int8_t power_pct );
180 uint16_t get_battery_level (
void );
188 void msg_rate_check (
void );
194 direct_command_with_response = 0x00,
195 system_command_with_response = 0x01,
197 direct_command_without_response = 0x80,
198 system_command_without_response = 0x80
201 buffer assemble ( telegram_types teltype,