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 timing, approximately 50–100 μs anticipation.
4 – COEX2 pin toggling enabled, TX indicator. Pin ON when RF is transmitting.v1.3.x≥1
5 – COEX2 pin toggling enabled, RX indicator. Pin ON when RF is receiving.v1.3.x≥1

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

AT%XCOEX2?
%XCOEX2: 2
OK