Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crayzeewulf/libserial
/ IsDataAvailable
Method
IsDataAvailable
src/SerialPort.cpp:539–543 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
537
}
538
539
bool
540
SerialPort::IsDataAvailable()
541
{
542
return mImpl->IsDataAvailable() ;
543
}
544
545
bool
546
SerialPort::IsOpen() const
Callers
15
testSerialStreamDrainWriteBuffer
Method · 0.45
testSerialStreamFlushInputBuffer
Method · 0.45
testSerialStreamFlushOutputBuffer
Method · 0.45
testSerialStreamFlushIOBuffers
Method · 0.45
testSerialStreamIsDataAvailableTest
Method · 0.45
testSerialPortDrainWriteBuffer
Method · 0.45
testSerialPortFlushInputBuffer
Method · 0.45
testSerialPortFlushOutputBuffer
Method · 0.45
testSerialPortFlushIOBuffers
Method · 0.45
testSerialPortIsDataAvailableTest
Method · 0.45
serialStream1ThreadLoop
Method · 0.45
serialStream2ThreadLoop
Method · 0.45
Calls
3
NotOpen
Class · 0.85
call_with_retry
Function · 0.85
IsOpen
Method · 0.45
Tested by
14
testSerialStreamDrainWriteBuffer
Method · 0.36
testSerialStreamFlushInputBuffer
Method · 0.36
testSerialStreamFlushOutputBuffer
Method · 0.36
testSerialStreamFlushIOBuffers
Method · 0.36
testSerialStreamIsDataAvailableTest
Method · 0.36
testSerialPortDrainWriteBuffer
Method · 0.36
testSerialPortFlushInputBuffer
Method · 0.36
testSerialPortFlushOutputBuffer
Method · 0.36
testSerialPortFlushIOBuffers
Method · 0.36
testSerialPortIsDataAvailableTest
Method · 0.36
serialStream1ThreadLoop
Method · 0.36
serialStream2ThreadLoop
Method · 0.36