Skip to content

Commit 8b3f60e

Browse files
committed
Add documentation
1 parent 5cab3ca commit 8b3f60e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/ModemTerminal/ModemTerminal.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ void setup(){
1717
Serial.println("Connecting...");
1818
cellular.connect(SECRET_GPRS_APN, SECRET_GPRS_LOGIN, SECRET_GPRS_PASSWORD);
1919
Serial.println("Connected!");
20+
Serial.println("You can now send AT commands to the modem.");
2021
}
2122

2223
void loop() {

src/ArduinoCellular.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class ArduinoCellular {
179179
/**
180180
* @brief Sends an AT command to the modem and waits for a response, then returns the response.
181181
* @param command The AT command to send.
182-
* @param timeout The timeout (In milliseconds) to wait for the response.
182+
* @param timeout The timeout (In milliseconds) to wait for the response. Default is 1000ms.
183183
* @return The response from the modem.
184184
*/
185185
String sendATCommand(const char * command, unsigned long timeout = 1000);

0 commit comments

Comments
 (0)