Skip to main content

ash_reset

Function ash_reset 

Source
pub async fn ash_reset<T>(io: T, config: &Config) -> Result<u8, EzspError>
where T: AsyncRead + AsyncWrite + Send + 'static,
Expand description

Reset the NCP’s ASH layer and report the RSTACK code: the one frame Ezsp::start begins with, and the cheapest proof that an EZSP NCP is on the port. Returns EzspError::NoReply when nothing answers.