Airoha_app _best_
| Feature | airoha_app (Airoha) | app_ble (Nordic) | tws_app (BES) | |---------|----------------------|---------------------|------------------| | Primary use | TWS earbuds, speakers | Wearables, beacons | High-end ANC buds | | Toolchain | Keil + ADT | Segger + nRF Connect | IAR + BES tool | | Audio codec support | SBC, AAC, LDAC (optional) | None (external required) | LHDC, LDAC | | OTA mechanism | Custom DFU | Nordic DFU | BES OTA | | Debugging | UART logs | RTT | SWD + proprietary |
cd airoha_app/project/ab1565_tws make clean make all airoha_app
void hfp_send_va_trigger(void) // Send AT+VBAT=1 (Airoha extension) hfp_send_at_cmd("AT+VBAT=1\r\n"); | Feature | airoha_app (Airoha) | app_ble (Nordic)
Modify config.in or the graphical configuration tool (if using the Eclipse-based IDE). speakers | Wearables
In development environments (like based on ARM Keil, IAR, or GCC), airoha_app is the top-level project that integrates:
The HAL provides standardized functions for hardware control.
In the application message handler function (often located in apps_main.c or a dedicated interaction.c file), add the logic: