How xinyuan-lilygo/lilygo-modem-series works
This repository is a LilyGo modem-series support repository whose visible runtime content is largely a collection of embedded libraries. The documented use case is cellular-enabled ESP32/ESP32-S3 boards; TinyGSM supplies modem networking, with HTTP and MQTT client libraries available over a Client interface. The tree also contains radio, display, LED, and sensor libraries. The application examples and board-specific setup are not present in the supplied tree, so their orchestration cannot be traced here; edges below are limited to relationships shown by the README or source index/excerpts.
Main entry points: TinyGsmClientSIM7600.h SIM7600 modem · TinyGsmClientSIM7672.h SIM7672 modem · BellModem.cpp Bell modem protocol · HttpClient.cpp HTTP client
Components 22
Cellular networking
- TinyGSM modem clients
lib/TinyGSM/src/TinyGSM.h - SIM7600 modem
lib/TinyGSM/src/TinyGsmClientSIM7600.h - SIM7672 modem
lib/TinyGSM/src/TinyGsmClientSIM7672.h - Client interface
lib/TinyGSM/src/ArduinoCompat/Client.h - A76xx MQTT support
lib/TinyGSM/src/TinyGsmMqttA76xx.h - Modem HTTPS support
lib/TinyGSM/src/TinyGsmHttpsComm.h
Network protocols
- HTTP client
lib/ArduinoHttpClient/src/HttpClient.cpp - WebSocket client
lib/ArduinoHttpClient/src/WebSocketClient.cpp - MQTT client
lib/pubsubclient/src/PubSubClient.cpp
Radio communication
- RadioLib module layer
lib/RadioLib/src/Module.h - Physical radio layer
lib/RadioLib/src/protocols/PhysicalLayer/PhysicalLayer.h - Radio types
lib/RadioLib/src/TypeDef.h - Bell modem protocol
lib/RadioLib/src/protocols/BellModem/BellModem.cpp - LoRaWAN protocol
lib/RadioLib/src/protocols/LoRaWAN/LoRaWAN.cpp - Arduino LoRa
lib/arduino-LoRa/src/LoRa.cpp
Displays and sensors
- Graphics primitives
lib/Adafruit GFX Library/Adafruit_GFX.h - SPI display support
lib/Adafruit GFX Library/Adafruit_SPITFT.cpp - SSD1306 display
lib/Adafruit SSD1306/Adafruit_SSD1306.cpp - NeoPixel LEDs
lib/Adafruit NeoPixel/Adafruit_NeoPixel.cpp - Sensor drivers
lib/SensorLib/src/SensorLib.h - INA219 sensor
lib/Adafruit INA219/Adafruit_INA219.cpp
Other components
- LilyGo modem boards
Connections 11
- LilyGo modem boards → TinyGSM modem clients: uses cellular
README.md - HTTP client → Client interface: uses transport
- MQTT client → Client interface: uses transport
- WebSocket client → HTTP client: extends
- SIM7600 modem → A76xx MQTT support: includes support
lib/TinyGSM/src/TinyGsmClientSIM7600.h - SIM7600 modem → Modem HTTPS support: includes support
lib/TinyGSM/src/TinyGsmClientSIM7600.h - SIM7672 modem → A76xx MQTT support: includes support
lib/TinyGSM/src/TinyGsmClientSIM7672.h - SIM7672 modem → Modem HTTPS support: includes support
lib/TinyGSM/src/TinyGsmClientSIM7672.h - Bell modem protocol → Physical radio layer: transmits through
lib/RadioLib/src/protocols/BellModem/BellModem.cpp - RadioLib module layer → Radio types: imports definitions
lib/RadioLib/src/Module.h - Bell modem protocol → RadioLib module layer: accesses module
lib/RadioLib/src/protocols/BellModem/BellModem.cpp