* Checks the power mode an determine the according status word.
* @param powerMode Value, taken from {@link HCIDevice#getPowerMode()}
* @return The according status word.
*/
privateshortcheckPowerMode(bytepowerMode){
switch(powerMode){
caseHCIDevice.FULL_POWER_MODE:
returnSW_FULL_POWER_MODE;
caseHCIDevice.LOW_POWER_MODE:
returnSW_LOW_POWER_MODE;
case(-1):
returnSW_POWER_MODE_COULD_NOT_BE_RETRIEVED;
default:
returnISO7816.SW_UNKNOWN;
}
}
/**
* Not used
* This method is called by the HCI framework to inform the Listener Object about a specific event and pass the corresponding HCIMessage to the Listener Object.
* This method is called by the HCI framework to inform the Listener Object about a specific event and pass the corresponding HCIMessage to the Listener Object.