const TLitC < sizeof(L"ECACM")/2 > | KAcmCsyName | [static] |
The root of the CSY filename. Use this in LoadCommModule.
const TLitC < sizeof(L"ACM")/2 > | KAcmSerialName | [static] |
The name of the CSerial , and consequently the root of the ACM port name ACM::0. Use this in Open (and UnloadCommModule, if you're not closing your session anyway).
const TUint | KAcmLowUnit |
Lowest valid value of d in calls to Open(_L("ACM::%d")). For the highest valid value of d in calls to Open(_L("ACM::%d")), use RCommServ::GetPortInfo . Note that if USB services are stopped/idle (see RUsb::GetServiceState) the high unit value will be incorrect. Under these circumstances, no ACM ports are may be opened, but TSerialInfo cannot express this. When USB services are starting/started/stopping, the given high unit will accurately reflect the highest available port number. Note that this numerical value will depend on the current USB personality (see RUsb) and also potentially whether USB is fully started or in a transitional state (starting or stopping).
const TUint | KAcmHighUnit |
RCommServ::GetPortInfo is the preferred method for determining the number of available ports. RCommServ::GetPortInfo
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.