-
Notifications
You must be signed in to change notification settings - Fork 792
group__aithinker__a6
Sara Damiano edited this page Sep 11, 2026
·
2 revisions
Module: Supported Modules / Ai-Thinker / Ai-Thinker A6 and A7
Manufacturer: Ai-Thinker. Models: A6, A7.
- TCP sockets:
- 8
- SSL client not supported *
- Socket Buffering:
- The modem does not have an internal buffer for incoming data.
- You must set the buffer size in this library to be larger than your largest expected incoming packet, or you will lose incoming data.
- Socket Numbering:
- The modem will automatically assign a channel number when the client connects to a server. Todo: todo
-
TinyGsmA6
- GSM Modem Constructor
- Basic functions (TinyGsmModem.tpp)
- begin(const char* pin = nullptr)
- init(const char* pin = nullptr)
- sendAT(Args... cmd)
- setBaud(uint32_t baud)
- forceModemBaud(StreamObject& at_serial, uint32_t targetBaud)
- testAT(uint32_t timeout_ms = 10000L)
- waitResponse(uint32_t timeout_ms, String& data, GsmConstStr r1 = GFP(ModemConfig::GSM_OK), GsmConstStr r2 = GFP(ModemConfig::GSM_ERROR), GsmConstStr r3 = nullptr, GsmConstStr r4 = nullptr, GsmConstStr r5 = nullptr, GsmConstStr r6 = nullptr, GsmConstStr r7 = nullptr, GsmConstStr r8 = nullptr)
- waitResponse(uint32_t timeout_ms, GsmConstStr r1 = GFP(ModemConfig::GSM_OK), GsmConstStr r2 = GFP(ModemConfig::GSM_ERROR), GsmConstStr r3 = nullptr, GsmConstStr r4 = nullptr, GsmConstStr r5 = nullptr, GsmConstStr r6 = nullptr, GsmConstStr r7 = nullptr, GsmConstStr r8 = nullptr)
- waitResponse(GsmConstStr r1 = GFP(ModemConfig::GSM_OK), GsmConstStr r2 = GFP(ModemConfig::GSM_ERROR), GsmConstStr r3 = nullptr, GsmConstStr r4 = nullptr, GsmConstStr r5 = nullptr, GsmConstStr r6 = nullptr, GsmConstStr r7 = nullptr, GsmConstStr r8 = nullptr)
- getConfiguredModem()
- getModemInfo()
- getModemName()
- getModemManufacturer()
- getModemModel()
- getModemRevision()
- getModemSerialNumber()
- factoryDefault()
- Power functions (TinyGsmModem.tpp)
- Generic network functions (TinyGsmModem.tpp)
- SIM card functions (TinyGsmGPRS.tpp)
- GPRS functions (TinyGsmGPRS.tpp)
- Socket listening functions (TinyGsmTCP.tpp)
- Phone call functions (TinyGsmCalling.tpp)
- Audio functions
- Text messaging (SMS) functions (TinyGsmSMS.tpp)
- Time functions (TinyGsmTime.tpp)
- Battery functions (TinyGsmBattery.tpp)
- Utilities (TinyGsmModem.tpp)
-
GsmClientA6
- Arduino Client interface (TinyGsmTCP.tpp)
- connect(const char* host, uint16_t port, int timeout_s)
- connect(IPAddress ip, uint16_t port, int timeout_s)
- connect(const char* host, uint16_t port)
- connect(IPAddress ip, uint16_t port)
- stop(uint32_t maxWaitMs)
- stop()
- write(const uint8_t* buf, size_t size)
- write(uint8_t c)
- available()
- read(uint8_t* buf, size_t size)
- read()
- peek()
- flush()
- connected()
- Extended Client API (TinyGsmTCP.tpp)
- Arduino Client interface (TinyGsmTCP.tpp)
| Name | |
|---|---|
| struct |
TinyGsmA6ModemConfig Basic modem configurations for the A6 and A7 modems. |
| struct |
TinyGsmA6TcpConfig TCP behavior and limits for the A6 and A7 modems. |
| class |
TinyGsmA6 TinyGsmA6 is a class for controlling the Ai-Thinker A6 and A7 GSM/GPRS module. |
| class |
TinyGsmA6::GsmClientA6 Inner client. |
| Name | |
|---|---|
| enum class |
A6RegStatus { REG_NO_RESULT = -1, REG_UNREGISTERED = 0, REG_SEARCHING = 2, REG_DENIED = 3, REG_OK_HOME = 1, REG_OK_ROAMING = 5, REG_UNKNOWN = 4 } Registration status. |
Generated by Doxygen and m.css with templates from doxybook2 Updated on 2026-09-11
If you like TinyGSM library - give it a star, or fork it and contribute!