mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 05:09:00 +00:00
Implement `cc1101_file_ioctl` to map common NuttX wireless IOCTL commands to CC1101 hardware registers. This allows dynamic configuration of radio parameters from user-space applications. * Map `WLIOC_SETRADIOFREQ` and `GETRADIOFREQ` to `FREQ[2:0]`. * Map `WLIOC_SETADDR` and `GETADDR` to `ADDR`. * Map `WLIOC_SETTXPOWER` and `GETTXPOWER` to internal PATABLE indexing. * Map `WLIOC_SETMODU` and `GETMODU` to `MDMCFG2`. * Map `WLIOC_FSK_SETBITRATE` and `GETBITRATE` to `MDMCFG4` and `MDMCFG3`. * Map `WLIOC_FSK_SETFDEV` and `GETFDEV` to `DEVIATN`. * Normalize positive SPI status byte returns from `cc1101_access` to `OK` (0) to ensure POSIX compliance and prevent silently skipped register writes. Signed-off-by: Chip L. <chplee@gmail.com> |
||
|---|---|---|
| .. | ||
| bluetooth | ||
| ieee80211 | ||
| ieee802154 | ||
| lpwan | ||
| spirit | ||
| cc1101.c | ||
| CMakeLists.txt | ||
| gs2200m.c | ||
| ISM1_868MHzGFSK100kbps.c | ||
| ISM2_433MHzMSK500kbps.c | ||
| ISM2_905MHzGFSK250kbps.c | ||
| Kconfig | ||
| Make.defs | ||
| nrf24l01.c | ||
| nrf24l01.h | ||