pub fn encode_poll_request(
out: &mut [u8],
callsign: &Callsign,
reflector_callsign: &Callsign,
) -> Result<usize, EncodeError>Expand description
Encode a 17-byte poll (keepalive) request.
Layout per ircDDBGateway/Common/PollData.cpp:170-186
(getDCSData direction DIR_OUTGOING):
[0..8]: space-padded client callsign[8]:0x00[9..17]: space-padded reflector callsign
§Errors
Returns EncodeError::BufferTooSmall if out.len() < 17.
§See also
ircDDBGateway/Common/PollData.cpp:170-186 (getDCSData)
for the reference keepalive encoder.