Add comments on TCP client development
This commit is contained in:
parent
6fc800e562
commit
46393bacdb
|
@ -163,6 +163,10 @@ pub struct TecSetICmd {
|
|||
json: TecSetICmdJson
|
||||
}
|
||||
|
||||
/// Miniconf is very slow in debug builds (~3-4ms of cmd decoding time).
|
||||
/// Make sure kirdy's firmware is flashed with release builds.
|
||||
/// The received message must contain only one json cmd. TCP client should set TCP_NODELAY or equivalent flag in its TCP Socket
|
||||
/// Settings to avoid unwanted buffering on TX Data and minimize TX latency.
|
||||
pub fn execute_cmd(buffer: &mut [u8], buffer_size: usize, mut laser: LdDrive, mut tec: Thermostat, mut device_settings: DeviceSettings)->(LdDrive, Thermostat, bool, DeviceSettings){
|
||||
let mut should_reset = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue