mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 22:17:18 +00:00
Update the nrf24l01_ioctl function to fully comply with the common wireless character driver interface defined in nuttx/wireless/ioctl.h, and complete previously unimplemented device-specific commands. * Add support for WLIOC_SETRADIOFREQ and WLIOC_GETRADIOFREQ with quantitative conversion between Hz (API) and MHz (Hardware). * Add support for WLIOC_SETTXPOWER, WLIOC_GETTXPOWER, WLIOC_SETFINEPOWER, and WLIOC_GETFINEPOWER. * Add WLIOC_SETMODU and WLIOC_GETMODU, strictly enforcing WLIOC_GFSK modulation as required by the nRF24L01 physical layer. * Map WLIOC_SETADDR and WLIOC_GETADDR to the existing TX address routines. * Resolve -ENOSYS in NRF24L01IOC_GETRETRCFG by reading the NRF24L01_SETUP_RETR register and decoding ARD/ARC shift bits. * Resolve -ENOSYS in NRF24L01IOC_GETDATARATE by parsing RF_DR_LOW and RF_DR_HIGH bits from the NRF24L01_RF_SETUP register. 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 | ||