equal
deleted
inserted
replaced
188 TInt CHCTLBcspControllerManager::DoSetPower(TBTPowerState aState) |
188 TInt CHCTLBcspControllerManager::DoSetPower(TBTPowerState aState) |
189 { |
189 { |
190 switch(aState) |
190 switch(aState) |
191 { |
191 { |
192 case EBTOff: |
192 case EBTOff: |
193 { |
193 { |
194 iHCTLBcsp.WriteBcCmd(iColdHaltCommand); //this should not produce a response |
|
195 iPowerDownCallback->CallBack(); //allows asynch callback to BTClient. |
194 iPowerDownCallback->CallBack(); //allows asynch callback to BTClient. |
196 iCurrentTask = EPowerDown; |
195 iCurrentTask = EPowerDown; |
197 iControllerManagerState = EWaiting; |
196 iControllerManagerState = EResetHardware; |
198 iHCTLBcsp.Choke(); |
197 iHCTLBcsp.Choke(); |
199 } |
198 } |
200 break; |
199 break; |
201 |
200 |
202 case EBTOn: |
201 case EBTOn: |