Jump to main content

##

# NET_PRES_EncSessionStatus Enumeration

## C

    typedef enum {
        NET_PRES_ENC_SS_UNKNOWN,
        NET_PRES_ENC_SS_WAITING_TO_START_NEGOTIATION,
        NET_PRES_ENC_SS_CLIENT_NEGOTIATING,
        NET_PRES_ENC_SS_SERVER_NEGOTIATING,
        NET_PRES_ENC_SS_OPEN,
        NET_PRES_ENC_SS_FAILED,
        NET_PRES_ENC_SS_CLOSING,
        NET_PRES_ENC_SS_CLOSED
    } NET_PRES_EncSessionStatus;

## Members

Members | Description
--- | ---
NET_PRES_ENC_SS_UNKNOWN | Presentation encryption is in an unknown/default state
NET_PRES_ENC_SS_WAITING_TO_START_NEGOTIATION | Presentation encryption has not started negotiation
NET_PRES_ENC_SS_CLIENT_NEGOTIATING | Presentation encryption client negotiation is in progress
NET_PRES_ENC_SS_SERVER_NEGOTIATING | Presentation encryption server negotiation is in progress
NET_PRES_ENC_SS_OPEN | Presentation encryption negotiation is complete and data can be sent/received
NET_PRES_ENC_SS_FAILED | Presentation encryption negotiation failed or some other failure
NET_PRES_ENC_SS_CLOSING | Presentation encryption is closing, but connection needs to be pumped for final packets
NET_PRES_ENC_SS_CLOSED | Presentation encryption is closed, provider data has been freed

## Description

MPLAB Harmony Networking Presentation Layer Encryption status type This enumeration defines the enumeration for the state and status of the encrypted portion of a connection.

## Remarks

None.