All Functions Modules Pages
hardware

Functions

STRING hw.baryon ()
 Baryon value. More...
 
STRING hw.tachyon ()
 Tachyon value. More...
 
NUMBER hw.pommel ()
 Pommel value. More...
 
STRING hw.fuseid ()
 Gets the FuseId value. More...
 
STRING hw.fusecfg ()
 Gets the FuseCfg value. More...
 
STRING hw.kirk ()
 Gets the Kirk value. More...
 
STRING hw.spock ()
 Gets the Spock value. More...
 
STRING hw.nandseed ()
 Gets the Nand-Seed (IdsScramble) value. More...
 
STRING hw.ofwinitial ()
 Gets the console factory firmware. More...
 
STRING hw.board ()
 Identifies motherboard type. More...
 
STRING hw.gen ()
 Identifies motherboard generation. More...
 
STRING hw.region ()
 Identifies the PSP region configured. More...
 
STRING hw.getmodel ()
 Identifies the PSP model. More...
 
BOOLEAN hw.pandora ()
 Show if the motherboard can pandorize the battery. More...
 
STRING hw.nand ()
 Calculates the NAND size. More...
 
NUMBER hw.volume ()
 Show the actual volume. More...
 
NUMBER hw.volume (NUMBER level)
 Configure the current volume. More...
 
NUMBER hw.mute ()
 Detects if PSP is in "mute".. More...
 
NIL hw.mute (NUMBER mode)
 It allows setting the state of the "mute". More...
 
NUMBER hw.headphone ()
 It allows to know if the headphones are connected. More...
 
NUMBER hw.audioout (NUMBER mode)
 Allows set or force the audio output from the speakers and headphones. More...
 
NUMBER hw.led (NUMBER led, NUMBER state)
 Allows set or force the state of the LEDs. More...
 

Detailed Description

Hardware functions.

Function Documentation

STRING hw.baryon ( )

Baryon value.

Returns
PSP motherboard Baryon value.
STRING hw.tachyon ( )

Tachyon value.

Returns
PSP motherboard Tachyon value.
NUMBER hw.pommel ( )

Pommel value.

Returns
PSP motherboard Pommel value.
STRING hw.fuseid ( )

Gets the FuseId value.

Returns
The FuseId value.
STRING hw.fusecfg ( )

Gets the FuseCfg value.

Returns
The FuseCfg value.
STRING hw.kirk ( )

Gets the Kirk value.

Returns
The Kirk value.
STRING hw.spock ( )

Gets the Spock value.

Returns
The Spock value.
STRING hw.nandseed ( )

Gets the Nand-Seed (IdsScramble) value.

Returns
The Nand-Seed (IdsScramble) value.
STRING hw.ofwinitial ( )

Gets the console factory firmware.

Returns
The console factory firmware.
STRING hw.board ( )

Identifies motherboard type.

Returns
Motherboard type.
STRING hw.gen ( )

Identifies motherboard generation.

Returns
Motherboard generation: "g01" to "g10".
STRING hw.region ( )

Identifies the PSP region configured.

Returns
Region configured:
  • Japan
  • America
  • Australia
  • United Kingdom
  • Europe
  • Korea
  • Hong-Kong
  • Taiwan
  • Russia
  • China
  • Mexico
  • "--"
STRING hw.getmodel ( )

Identifies the PSP model.

Returns
Identified model: "1000", "2000", "3000", "Go", "Street", "Vita" , "UNK" , "Emulator".
BOOLEAN hw.pandora ( )

Show if the motherboard can pandorize the battery.

Returns
true/false according to whether the motherboard can pandorize the battery.
STRING hw.nand ( )

Calculates the NAND size.

Returns
The NAND size in the form: "64MB".
NUMBER hw.volume ( )

Show the actual volume.

Returns
Actual level of the volume.
NUMBER hw.volume ( NUMBER  level)

Configure the current volume.

Parameters
levelA number between 1-30.
Returns
The current volume level.
NUMBER hw.mute ( )

Detects if PSP is in "mute"..

Returns
A numeric value, 1 if it is in "mute", 0 if not.
NIL hw.mute ( NUMBER  mode)

It allows setting the state of the "mute".

Parameters
modeAny of the following values:
  • 1: Activate.
  • 0: Deactivate.
Returns
Nothing.
NUMBER hw.headphone ( )

It allows to know if the headphones are connected.

Returns
A number 1 if they are connected, 0 otherwise.
NUMBER hw.audioout ( NUMBER  mode)

Allows set or force the audio output from the speakers and headphones.

Parameters
modeAny of the following values:
  • 1: Speakers.
  • 0: Headphones.
Returns
It will be 0 if successful, otherwise somewhat less than 0.
NUMBER hw.led ( NUMBER  led,
NUMBER  state 
)

Allows set or force the state of the LEDs.

Parameters
ledAny of the following values:
  • 0: Led MS.
  • 1: Led Wlan.
  • 2: Led Power.
  • 3: Led BT.
stateAny of the following values:
  • 1: Activate.
  • 0: Deactivate.
Note
This feature only enables or disables the LEDs, not turn on or off.
Returns
It will be 0 if successful, otherwise somewhat less than 0.