Closed andrewjaykeller closed 8 years ago
Serial
Radio
Stream
isAStreamPacketWaitingForLaunch
thereIsDataInSerialBuffer
bufferSerialHasData
packetsInSerialBuffer
sendStreamPacketToTheHost
bufferStreamSendToHost
storeCharToSerialBuffer
bufferSerialAddChar
processSerialCharDevice
bufferStreamAddChar
Enhancements
Serial
which handles non streaming data coming from serial port to radioRadio
which handles non streaming data coming from radio to serial portStream
which handles both streaming data in both directions.Breaking Changes
isAStreamPacketWaitingForLaunch
. Now just check if stream packet buffer is in the ready state.thereIsDataInSerialBuffer
tobufferSerialHasData
packetsInSerialBuffer
forbufferSerialHasData
to follow new convention.sendStreamPacketToTheHost
tobufferStreamSendToHost
to follow new convention.storeCharToSerialBuffer
tobufferSerialAddChar
to follow new convention.processSerialCharDevice
intobufferSerialAddChar
andbufferStreamAddChar
.