AtClient.h
Go to the documentation of this file.
67 void send(const String& text, const String& altResponse = nullptr, uint32_t timeoutMs = AT_TIMEOUT,
77 void send(const String& text, AtReceiveCallback onReceive, uint32_t timeoutMs = AT_TIMEOUT, unsigned retries = 0);
86 void send(const String& text, AtCompleteCallback onComplete, uint32_t timeoutMs = AT_TIMEOUT, unsigned retries = 0);
AtReceiveCallback onReceive
if set you can process manually all incoming data in a callback
Definition: AtClient.h:42
void sendDirect(AtCommand command)
Executes directly (does not queue it) a command.
void send(const String &text, const String &altResponse=nullptr, uint32_t timeoutMs=AT_TIMEOUT, unsigned retries=0)
Sends AT command.
Definition: AtClient.h:46
void resend()
Definition: AtClient.h:46
Delegate< bool(AtClient &atClient, String &reply)> AtCompleteCallback
Definition: AtClient.h:32
AtClient(HardwareSerial *stream)
Definition: AtClient.h:36
virtual void processor(Stream &source, char arrivedChar, uint16_t availableCharsCount)
Processes response data.
Delegate< bool(AtClient &atClient, Stream &source)> AtReceiveCallback
Definition: AtClient.h:27
AtCompleteCallback onComplete
if set then you can process the complete response manually
Definition: AtClient.h:43
void next()
Definition: AtClient.h:46