Defines the internal port access mode.
Enumerator | Value | Description |
---|---|---|
EIntCommExclusive | 0 |
Exclusive mode. Must be first |
EIntCommShared | 1 |
Shared mode. Must be second |
EIntCommPreemptable | 2 |
Preemptable mode. Must be third |
EIntCommWaitUntilAvailable | 3 |
Wait until the port is closed |
typedef CSerial *(* | TSerialNewL |
This typedef defines the form of the ordinal-1 entry point function to a serial protocol module. The function should create and return a concrete CSerial-derived class, which will then be used by the comms server.
Each serial protocol module should only ever create a single serial protocol factory object. If the entry point is called twice without the first factory object being destroyed, this function should leave with KErrGeneral.