Ported TYModemSend
Reset pointer after writing data to buffer