acminterface.h File Reference

const TLitC< sizeof(L"ECACM")/2 > KAcmCsyName

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

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

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

const TUint KAcmHighUnit

RCommServ::GetPortInfo is the preferred method for determining the number of available ports. RCommServ::GetPortInfo