Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions source/includes/tcp/_cmd_CHN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Get Audio Channel Information (Mono/Stereo)
>Command:

```plaintext
MCU+PAS+RAKOIT:CHN&
```

> Example Response:

```plaintext
MCU+PAS+CHN:S& or MCU+PAS+CHN:L& or MCU+PAS+CHN:R&
```
This request will return a string which will indicate stereo active or mono active (including channel left or right)

Command: `MCU+PAS+RAKOIT:CHN&`

Response: <br>
`MCU+PAS+RAKOIT:CHN:S&` Device output is Stereo <br>
`MCU+PAS+RAKOIT:CHN:L&` Device output is Mono - Left Channel<br>
`MCU+PAS+RAKOIT:CHN:R&` Device output is Mono - Right Channel<br>
60 changes: 60 additions & 0 deletions source/includes/tcp/_cmd_network.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Connection Status Commands

### Get Status of Ethernet Connection (RJ45 Network)
> Command:

```plaintext
MCU+PAS+RAKOIT:ETH&:
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:ETH:0& \\ Device not connected to LAN
MCU+PAS+RAKOIT:ETH:1& \\ Device connected to LAN
```
This command will return the status of the device on the Local Area Network (LAN).

Command: `MCU+PAS+RAKOIT:ETH&`

Response: <br>`MCU+PAS+RAKOIT:ETH:0&` Device not connected to LAN<br>`MCU+PAS+RAKOIT:ETH:1&` Device connected to LAN

<br><br><br>
### Get Status of Wireless Connection (WiFi Network)
>Command::

```plaintext
MCU+PAS+RAKOIT:WIF&:
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:WIF:0& \\ Device not connected to WLAN
MCU+PAS+RAKOIT:WIF:1& \\ Device connected to WLAN
```
This command will return the status of the device on the Wireless Local Area Network (WLAN).

Command: `MCU+PAS+RAKOIT:WIF&`

Response: <br>`MCU+PAS+RAKOIT:WIF:0&` Device not connected to WLAN<br>`MCU+PAS+RAKOIT:WIF:1&` Device connected to WLAN

<br><br><br>
### Get Status of Internet Connection
>Command:

```plaintext
MCU+PAS+RAKOIT:WWW&:
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:WWW:0& \\ Device not connected to Internet
MCU+PAS+RAKOIT:WWW:1& \\ Device connected to Internet
```
This command will return the status of the device Internet Connection.

Command: `MCU+PAS+RAKOIT:WWW&`

Response: <br>`MCU+PAS+RAKOIT:WWW:0&` Device not connected to Internet<br>`MCU+PAS+RAKOIT:WWW:1&` Device connected to Internet<br>
37 changes: 37 additions & 0 deletions source/includes/tcp/_cmd_pair_BAS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Device Bass Level - Command Pair
### Get Device Bass Level
>Command:

```plaintext
MCU+PAS+RAKOIT:BAS&
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:BAS:`<int_bass>`&
```

This request will return the current device bass level

Command: `MCU+PAS+RAKOIT:BAS&`

Response: `MCU+PAS+RAKOIT:BAS<int_bass>&`<br>
`<int_bass>` Integer value of the bass level. Value range is from `-10dB to 10dB`<br>


### Select Device Bass Level
>Command:

```plaintext
MCU+PAS+RAKOIT:BAS`<int_bass>`&:

There is no Response for this command:
```

Sets the Bass Level of the Device.

Command: `MCU+PAS+RAKOIT:BAS<int_bass>&`
`<int_bass>` Integer value of the bass level. Value range is from `-10dB to 10dB`<br>

Response: There is no response for this command.
54 changes: 54 additions & 0 deletions source/includes/tcp/_cmd_pair_BEP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
## Device Main BEEP Tone (Enable/Disable) - Command Pair
### Get BEEP Tone Status (Enabled/Disbled)
> Command::

```plaintext
MCU+PAS+RAKOIT:BEP&:
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:BEP:0& // BEEP Disabled
MCU+PAS+RAKOIT:BEP:1& // BEEP Enabled
```
This request will return a boolean state of the BEEP Tone Enable/Disable Function

Command: `MCU+PAS+RAKOIT:BEP&`

Response: <br>`MCU+PAS+RAKOIT:BEP:0&` BEEP Tone Disabled<br>`MCU+PAS+RAKOIT:BEP:1&` BEEP Tone Enabled

<br><br><br>

### Set BEEP Tone Status (Enabled/Disbled)
> Command:

```plaintext
MCU+PAS+RAKOIT:BEP:0& // Disable BEEP Tone
MCU+PAS+RAKOIT:BEP:1& // Enable BEEP Tone

```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:BEP:0& // BEEP Tone Disabled
MCU+PAS+RAKOIT:BEP:1& // BEEP Tone Enabled
```

Enables & Disables device main BEEP Tone.

Command: `MCU+PAS+RAKOIT:BEP:<bool>&`

Parameter | Description
---|---|---
`<bool>` | A boolean value <br>`0` Enable <br>`1` Disable<br>

Response: <br>
`MCU+PAS+RAKOIT:BEP:0&` BEEP Tone Disabled<br>
`MCU+PAS+RAKOIT:BEP:1&` BEEP Tone Enabled

Parameter | Description
---|---|---
`0` | Disable
`1` | Enable
54 changes: 54 additions & 0 deletions source/includes/tcp/_cmd_pair_BTC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
## Device Bluetooth Connection - Command Pair
### Get Bluetooth Connection Status
>Command:

```plaintext
MCU+PAS+RAKOIT:BTC&:
```

>Example Response:

```plaintext
MCU+PAS+BTC:0& // Bluetooth connection not active
MCU+PAS+BTC:1& // Bluetooth connection active
```
This request will return the boolean state of the Bluetooth connection,

Command: `MCU+PAS+RAKOIT:BTC&`

Response: <br>
`MCU+PAS+BTC:0&` Bluetooth connection not active<br>
`MCU+PAS+BTC:1&` Bluetooth connection active<br>

<aside class="notice">
If the Device is not in Bluetooth player mode then the reply will always be `MCU+PAS+BTC:0&`
</aside>

### Reconnect last active Bluetooth connection
>Command:

```plaintext
MCU+PAS+RAKOIT:BTC:0& // Disconnect current Bluetooth connection
MCU+PAS+RAKOIT:BTC:1& // Reconnect to a last active Bluetooth connection
```

>Example Response:

```plaintext
MCU+PAS+BTC:0& // Bluetooh disconnected
MCU+PAS+BTC:1& // Bluetooth connected
MCU+PAS+RAKOIT:ERR:INVALID& // Device is not in Bluetooth player mode
```

Connects and disconnects Bluetooth active connection when the player mode is Bluetooth.

Command: `MCU+PAS+RAKOIT:BTC:<bool>&`

Parameter | Description
---|---|---
`<bool>` | A boolean value<br>`0` Disconnect Bluetooth<br>`1` Connect Bluetooth

Response: <br>
`MCU+PAS+VBS:0&` Bluetooh disconnected<br>
`MCU+PAS+VBS:1&` Bluetooth connected<br>
`MCU+PAS+RAKOIT:ERR:INVALID&` Device is not in Bluetooth player mode
54 changes: 54 additions & 0 deletions source/includes/tcp/_cmd_pair_LED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
## Device Main LED - Command Pair
### Get LED Status
> Command:

```plaintext
MCU+PAS+RAKOIT:LED&:
```

> Example Response:

```plaintext
MCU+PAS+LED:0& // LED Disabled
MCU+PAS+LED:1& // LED Enabled
```

This command will return a boolean state of the LED Enable/Disable Function.

Command: `MCU+PAS+RAKOIT:LED&`

Response: <br>`MCU+PAS+RAKOIT:LED:0&` LED Disabled<br>`MCU+PAS+RAKOIT:LED:1&` LED Enabled

<br><br><br>

### Set LED Status
>Command:

```plaintext
MCU+PAS+RAKOIT:LED:0& // Disable LED
MCU+PAS+RAKOIT:LED:1& // Enable LED
MCU+PAS+RAKOIT:LED:T& // Toggle current LED status
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT:LED:0& // LED Disabled
MCU+PAS+RAKOIT:LED:1& // LED Enabled
```

Enables & Disables device main LED.

Command: `MCU+PAS+RAKOIT:LED:<bool_or_toggle>&`

Value | Description
---|---|---
`0` | Enable
`1` | Disable
`T` | Toggle current LED status
<br>

Response: <br>
`MCU+PAS+RAKOIT:LED:0&` LED Disabled<br>
`MCU+PAS+RAKOIT:LED:1&` LED Enabled

61 changes: 61 additions & 0 deletions source/includes/tcp/_cmd_pair_LPM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
## Device Repeat & Shuffle playback - Command Pair

These commands share a common parameter table

Parameter | Description
---|---
`<str_shuffle_repeat>` | Activates a combination of Shuffle and Repeat modes<br>`REPEATALL`: Shuffle disabled, Repeat enabled - loop<br>`REPEATONE`: Shuffle disabled, Repeat enabled - loop once<br>`REPEATSHUFFLE`: Shuffle enabled, Repeat enabled - loop<br>`SHUFFLE`: Shuffle enabled, Repeat disabled<br>SEQUENCE`: Shuffle disabled, Repeat disabled<br>`REPEATALL`: Shuffle enabled, Repeat enabled - loop once<br>

<aside class="notice">
The command `REPEATALL` appears twice in the table. Arylic are checking this !
</aside>

### Get Device Repeat & Shuffle Modes
>Command:

```plaintext
"MCU+PAS+RAKOIT:LPM&:
```

> Example Response:

```plaintext
MCU+PAS+RAKOIT+SRC:LPM&
```

This request will return a combination of the current shuffle & repeat mode status.

Command: `MCU+PAS+RAKOIT:LPM&`

Response: `MCU+PAS+RAKOIT:LPM<str_shuffle_repeat>&` See parameter table above.


### Set Device Repeat & Shuffle Modes
>Command:

```plaintext
MCU+PAS+RAKOIT:SRC:`<str_shuffle_repeat>`&:
```

> Example Responses:
```plaintext
AXX+PLP+000 = REPEATALL
AXX+PLP+001 = REPEATONE
AXX+PLP+002 = REPEATSHUFFLE - REPEAT ALL & SHUFFLE
AXX+PLP+003 = -SHUFFLE
AXX+PLP+004 = - NO SHUFFLE NO REPEAT
```

Selects the desired combination of shuffle and repeat functions.

Command: `MCU+PAS+RAKOIT::`

`mode` | Playback mode<br>`` - `PLAYER_MODE_NONE`<br>`NET` - NET Blah Blah Blah<br>`USB` - USB disk pen drive connected to device)<br>`USBDAC` - `USB DAC e.g. Fromlap to connected with USB lead`<br>`BT` - Bluetooth Input<br>`LINE-IN` - Analogue Line in<br>`LINE-IN2` - `PLAYER_MODE_LINEIN2`<br>`OPT` - `PLAYER_MODE_OPTICAL`<br>`COAX` - `PLAYER_MODE_COAXIAL`<br>`I2S` - `PLAYER_MODE_I2S`<br>`HSMI` - HDMI IN`<br>


NET/USB/USBDAC/LINE-IN/LINE-IN2/BT/OPT/COAX/I2S/HDMIResponse | Description
```
`AXX+MEA+RDY AXX+PLY+000` | Example reply
`MCU+PAS+ERR:UNSUPPORTED&` | Check with FZ
`MCU+PAS+ERR:SRC&` | Check with FZ
```
Loading