Use cases INIT(0), OFF(2), and PWROFF(3)

Use cases INIT(0), OFF(2), and PWROFF(3) are introduced here.

Syntax for each use case:

INIT (0)
AT%XMIPIRFFECTRL=<dev_id>,0,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>
OFF (2)
AT%XMIPIRFFECTRL=<dev_id>,2,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>   
PWROFF (3)
AT%XMIPIRFFECTRL=<dev_id>,3,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>

The parameters and their defined values are the following:

<n>
The number of address/data pairs. Valid values are 0, 1, 2, 3, 4. If the value is 0, all the following fields must be omitted.
<address_x>
The 8-bit address of the internal register in MIPI RFFE device. x = 0, ..., n−1.
<data_x>
The 8-bit data to be written to <address_x>. x = 0, ..., n−1.

The following command example configures the INIT use case of <dev_id> = 1 to write value 184 = 0xB8 to register address 28 = 0x1C, and value 0 to register address 0:

AT%XMIPIRFFECTRL=1,0,2,28,184,0,0

The following example configures the example antenna tuner device to low power mode at OFF use case by writing register 28 with value 184:

AT%XMIPIRFFECTRL=1,2,1,28,184