Read command

The read command reads the current configuration of the COEX2 pin.

Syntax:

%XCOEX2?

Response syntax:

%XCOEX2: <ctrl>

The read command parameter and its defined values are the following:

<ctrl>
Not set – Clears the current configuration and uses default values (1)
0 – COEX2 pin toggling disabled, pin OFF
1 – COEX2 pin toggling enabled, default timing, 1 ms anticipation
2 – COEX2 pin toggling enabled, MID timing, approximately 400 ms anticipation
3 – COEX2 pin toggling enabled, "as late as possible (ALAP)" timing, approximately 50–100 μs anticipation

The following command example reads the current configuration of the COEX2 pin.

AT%XCOEX2?
%XCOEX2: 2
OK