DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
cc1101.h File Reference

CC1101 sub-GHz radio driver (DETWS_ENABLE_CC1101) - TI 300-928 MHz over SPI. More...

#include "ServerConfig.h"

Go to the source code of this file.

Detailed Description

CC1101 sub-GHz radio driver (DETWS_ENABLE_CC1101) - TI 300-928 MHz over SPI.

A radio driver plugin for the gateway (DETWS_ENABLE_GATEWAY): generic ISM-band remotes and sensors (OOK / 2-FSK on 315/433/868/915 MHz) bridged to the web stack. Like the nRF24, the CC1101 speaks an SPI header protocol - every transaction begins with a header byte (bit7 = read, bit6 = burst, bits5-0 = address) and returns the chip status byte (CHIP_RDYn, the 3-bit state machine value, and the FIFO-bytes-available count). Config registers live at 0x00-0x2E, the 13 command strobes at 0x30-0x3D (a single write triggers the command), the read-only status registers at 0x30-0x3D read with the burst bit set, and both FIFOs at 0x3F.

The huge modem configuration (band, data rate, deviation, sync word) is board/tool-specific, so the caller supplies it as a register table (a TI SmartRF Studio export); the driver resets the chip, writes that table, sets the channel, and verifies the VERSION status register talks back. Packets use variable length mode (a leading length byte) with appended RSSI/LQI status. Bridge received payloads northbound with det_gw_uplink. The register/strobe/FIFO protocol is host-testable against a mock; the RF link needs the module.

Definition in file cc1101.h.