> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WebSocket /ext/frontpanel

> WebSocket (/ext/frontpanel)

Remotely controls a front panel for an XBOX One X Devkit.

* [Send messages](#ID4ET)
* [Receive messages](#ID4E1)

## Send messages

Strings can be send indicating that front panel buttons should be pressed. The strings should be from the following set:

Up, Down, Left, Right, or Select to control navigation
One, Two, Three, Four, Five to press one of the five buttons
Switch to simulate a long press of the Select button (toggling between Title and System mode).

## Receive messages

The websocket will return an image buffer which an be processed to show the contents of the front panel display. The buffer is send in 4bpp.

## See also

##### Parent

[/ext/frontpanel](https://docs.xbox.com/reference/deviceportal/frontpanel/uri-extfrontpanel.md)


## Related topics

- [/ext/frontpanel (API contents)](https://docs.xbox.com/reference/deviceportal/frontpanel/uri-extfrontpanel.md)
- [Front Panel URIs (API contents)](https://docs.xbox.com/reference/deviceportal/frontpanel/atoc-rest-frontpanel.md)
- [HCGetWebSocketFunctions](https://docs.xbox.com/reference/live/httpclient/httpprovider/functions/hcgetwebsocketfunctions.md)
- [WebSocketCompletionResult](https://docs.xbox.com/reference/live/httpclient/httpclient/structs/websocketcompletionresult.md)
- [HCWebSocketDisconnect](https://docs.xbox.com/reference/live/httpclient/httpclient/functions/hcwebsocketdisconnect.md)
