Provides info about the role of the MyQttConn.

You can get current role for a given connection using myqtt_conn_get_role.

Enumerator
MyQttRoleUnknown 

This value is used to represent an unknown role state.

MyQttRoleInitiator 

The connection is acting as an Initiator one.

MyQttRoleListener 

The connection is acting as a Listener one.

MyQttRoleMasterListener 

The connection is acting as a master listener to accept new incoming connections.

Connections reference that were received with the following functions are the only ones that can have this value: