Give the details of
TDD_SWITCH_STATE_EXAMPLE of no-os customization
By defining CAPTURE_SCRIPT, adc_capture() is additional called. We also have an example about how to transfer the captured data to the PC: no-OS/ad9361/scripts/zed at master · analogdevicesinc/no-OS · GitHub
TDD_SWITCH_STATE_EXAMPLE does exactly what the name says: if the part is configured for TDD (Time Division Duplex), it shows how to switch between the states (RX, ALERT, TX, ALERT, ...).
A different unrelated issue/question should go to a different thread.
It is related only. It is defined in config.h file and also used in main.c file
Retrieving data ...