Skip to content

Commit 003fe46

Browse files
authored
add readSerial command
1 parent 96d4480 commit 003fe46

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

GSMSim.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,16 @@ void GSMSim::start(uint32_t baud) {
9999
_buffer.reserve(BUFFER_RESERVE_MEMORY);
100100
}
101101

102+
String GSMSim::readSerial() {
103+
return _readSerial();
104+
}
105+
106+
String GSMSim::readSerial(uint32_t timeout) {
107+
return _readSerial(timeout);
108+
}
109+
110+
111+
102112
// Reset GMS Module
103113
void GSMSim::reset() {
104114
if (LED_FLAG) {

0 commit comments

Comments
 (0)