Documentation ¶
Index ¶
- Constants
- type Client
- func (client *Client) ChangeFreezeState(freezeState freezeState) (err error)
- func (client *Client) Close()
- func (client *Client) ConsoleFeatures() ([]string, error)
- func (client *Client) ConsoleName() string
- func (client *Client) ConsoleType() (string, error)
- func (client *Client) DebugName() (string, error)
- func (client *Client) GetMemory(address, length int64) ([]byte, error)
- func (client *Client) ListDirectory(dir string) ([]*models.DirectoryItem, error)
- func (client *Client) ListDrives() ([]*models.Drive, error)
- func (client *Client) ReadMultilineResponse() ([]string, error)
- func (client *Client) Reboot(rebootType rebootType) error
- func (client *Client) RunningXBEInfo() (*models.XBEInfo, error)
- func (client *Client) Screenshot() ([]byte, error)
- func (client *Client) SendCommand(command string) (string, error)
- func (client *Client) SetMemory(address int64, data string) (string, error)
Constants ¶
View Source
const ( // RebootTitle defines the enum for rebooting to the Developer Dashboard. RebootTitle rebootType = iota // RebootTitleToActiveTitle defines the enum for rebooting to the currently active // title. RebootTitleToActiveTitle // RebootCold defines the enum for turning the kit off and then back on. RebootCold // FrozenState is when all the threads are resumed as normal. FrozenState freezeState = iota // UnfrozenState is when all the threads are paused. UnfrozenState )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ConsoleIP string // contains filtered or unexported fields }
Client ..
func NewXBDMClient ¶
NewXBDMClient creates a new XBDM client.
func NewXBDMClientWithPort ¶
NewXBDMClientWithPort creates a new XBDM client with a custom port.
func (*Client) ChangeFreezeState ¶
ChangeFreezeState set's the freeze state of the Xbox.
func (*Client) ConsoleFeatures ¶
ConsoleFeatures gets a list of features available on the console.
func (*Client) ConsoleName ¶
ConsoleName returns the name of the console at the time the connection was established.
func (*Client) ConsoleType ¶
ConsoleType gets the type of console.
func (*Client) ListDirectory ¶
func (client *Client) ListDirectory(dir string) ([]*models.DirectoryItem, error)
ListDirectory ..
func (*Client) ListDrives ¶
ListDrives ..
func (*Client) ReadMultilineResponse ¶
ReadMultilineResponse reads the body of a multiline response and returns it.
func (*Client) RunningXBEInfo ¶
RunningXBEInfo gets the xbeinfo of the currently running title.
func (*Client) Screenshot ¶
Screenshot dumps the frame buffer of the Xbox.
func (*Client) SendCommand ¶
SendCommand sends a text command to the Xbox.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.