39 #ifndef HDLCD_SESSION_DESCRIPTOR_H 40 #define HDLCD_SESSION_DESCRIPTOR_H 101 (a_eSessionType & ~SESSION_TYPE_MASK)) {
118 explicit HdlcdSessionDescriptor(uint8_t a_ServiceAccessPointSpecifier): m_ServiceAccessPointSpecifier(a_ServiceAccessPointSpecifier) {
130 operator uint8_t()
const {
131 return m_ServiceAccessPointSpecifier;
174 uint8_t m_ServiceAccessPointSpecifier;
177 #endif // HDLCD_SESSION_DESCRIPTOR_H Deliver data packets sent by the HDLCd and received by the device.
Payload Raw, data read only, port status read only.
E_SESSION_TYPE GetSessionType() const
Query the session type.
bool DeliversRcvdData() const
Query whether data packets sent by a device to the HDLCd should be delivered.
HdlcdSessionDescriptor(E_SESSION_TYPE a_eSessionType, uint8_t a_SessionFlags)
The constructor of HdlcdSessionDescriptor objects.
Deliver data packets sent by the device and received by the HDLCd.
bool DeliversSentData() const
Query whether data packets sent by the HDLCd to a device should be delivered.
Payload, data read and write, port status read and write.
E_SESSION_FLAGS
The enum E_SESSION_FLAGS to specify all possible session flags.
E_SESSION_TYPE
The enum E_SESSION_TYPE to specify all possible session types.
Port status only, no data exchange, port status read and write.
HDLC Raw, data read only, port status read only.
The lowest invalid session type number.
Deliver also invalid frames with broken CRC checksum.
bool DeliversInvalidData() const
Query whether invalid data packets with a broken CRC checksum should be delivered.
HDLC dissected, data read only, port status read only.
HdlcdSessionDescriptor(uint8_t a_ServiceAccessPointSpecifier)
The constructor of HdlcdSessionDescriptor objects.
Bit mask to query the session flags.
Invalid entry, to indicate unset state.
Bit mask to query the session type.
Class HdlcdSessionDescriptor.