lwIP-CE

TCP/IP, TLS 1.3, and USB Ethernet for a calculator that was not consulted.

lwIP-CE is a port of the lwIP network stack to the TI-84 Plus CE. It allows you to connect to the Internet from your graphing calculator.

Note

This is an API for allowing Internet connectivity in programs (similar to using sockets in C or Python). It is not a magic switch that lets the calculator just go online.

lwIP-CE is a full TCP/IP stack providing:

  • A USB CDC class Ethernet driver supporting ECM and NCM.

  • Wi-Fi through the lwIP-CE Wi-Fi bridge, including scanning and saved-network management from calculator programs.

  • A membuffer driver designed to optimize resource ownership in a device that has very little RAM.

  • Constrained TLS 1.3 client and server roles, including PSK, certificate, and mTLS client authentication.

  • An assortment of cryptographic primitives.

  • JSON, XML, and URL encoders.

This documentation covers CE-specific behavior only. It does not mirror upstream lwIP’s docs; for standard lwIP types, callbacks, and protocol APIs, see the upstream lwIP API reference.

Requirements

  • A TI-84+ CE or TI-84+ CE Python Edition graphing calculator.

  • One of:

    • A USB Ethernet adapter compliant with Communications Data Class (CDC) subtype ECM or NCM, and an Ethernet cable connected to a switch, router, or an Ethernet-compatible WPS Wi-Fi adapter. [1]

    • The lwIP-CE Wi-Fi bridge (an ESP32-S3 or ESP32-P4 board running wifi_bridge/) and the calculator’s stock USB cable. See Using Wi-Fi.

  • Software for transferring the appropriate files to your calculator (TI Connect CE, TiLp2).

  • As developer, the CE C toolchain, lwIP headers and .lib file.

Notes

Where to start

Contributing

lwIP-CE is under active development and as such welcomes platform-specific contributions. It is rebased quarter-annually against upstream lwIP, but the cryptography needs to be written in ez80 assembly by those with knowledge of how to write efficient, timing-safe code.

Optional / nice to have:

  • SHA-384 — unlocks the AES-256-GCM-SHA384 cipher suite

  • SHA-512 — stronger standalone hashing

  • SHA-1 — needed to verify older CA certificates that still use sha1WithRSAEncryption

To contribute to the project, email the project maintainers at info@cagscalclabs.net or join the CagsCalcLabs Discord server.

To support equipment purchases (adapters, cables, TI-84+ CE and later Evo units) and operational costs: