/** Send contents of send buffer to a connection */
Send contents of send buffer to a connection
Send contents of send buffer to a connection
pub fn send(&mut self, link: u32) -> Result<(), S::Error> {
        assert!(self.state == State::Idle);
        self.port.write_all(b"AT+CIPSEND=")?;
        write_num_u32(self.port, link)?;
        self.port.write_all(b",")?;
        write_num_u32(self.port, self.txn as u32)?;
        self.port.write_all(b"\r\n")?;
        self.state = State::Sending(link);
        Ok(())
    }
pub fn send ( & mut self , link : u32 ) -> Result < ( ) , S :: Error > { assert ! ( self state State Idle ) ; self . port . write_all ( b" " ) ? ; write_num_u32 ( self . port , link ) ? ; self . port . write_all ( b" " ) ? ; write_num_u32 ( self . port , self . txn as u32 ) ? ; self . port . write_all ( b" \r \n " ) ? ; self . state = State :: Sending ( link ) ; Ok ( ( ) ) }
Send contents of send buffer to a connection
Send contents of send buffer to a connection
&mut self
link
u32