|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
A Network MIDI2 session, representing a connection to a peer. More...
#include <midi2.h>
Public Types | |
| enum | { NETMIDI2_SESSION_NOT_INITIALIZED = 0 , NETMIDI2_SESSION_IDLE , NETMIDI2_SESSION_PENDING_INVITATION , NETMIDI2_SESSION_AUTH_REQUIRED , NETMIDI2_SESSION_ESTABLISHED , NETMIDI2_SESSION_PENDING_RESET , NETMIDI2_SESSION_PENDING_BYE } |
| State of this session. More... | |
Data Fields | |
| enum netmidi2_session:: { ... } | state |
| State of this session. | |
| uint16_t | tx_ump_seq |
| Sequence number of the next universal MIDI packet to send. | |
| uint16_t | rx_ump_seq |
| Sequence number of the next universal MIDI packet to receive. | |
| struct sockaddr_storage | addr |
| Remote address of the peer. | |
| socklen_t | addr_len |
| Length of the peer's remote address. | |
| struct netmidi2_ep * | ep |
| The Network MIDI2 endpoint to which this session belongs. | |
| const struct netmidi2_user * | user |
| The username to which this session belongs. | |
| char | nonce [16] |
| The crypto nonce used to authorize this session. | |
| struct net_buf * | tx_buf |
| The transmission buffer for that peer. | |
| struct k_work | tx_work |
| The transmission work for that peer. | |
A Network MIDI2 session, representing a connection to a peer.
| anonymous enum |
State of this session.
| struct sockaddr_storage netmidi2_session::addr |
Remote address of the peer.
| socklen_t netmidi2_session::addr_len |
Length of the peer's remote address.
| struct netmidi2_ep* netmidi2_session::ep |
The Network MIDI2 endpoint to which this session belongs.
| char netmidi2_session::nonce[16] |
The crypto nonce used to authorize this session.
| uint16_t netmidi2_session::rx_ump_seq |
Sequence number of the next universal MIDI packet to receive.
| enum { ... } netmidi2_session::state |
State of this session.
| struct net_buf* netmidi2_session::tx_buf |
The transmission buffer for that peer.
| uint16_t netmidi2_session::tx_ump_seq |
Sequence number of the next universal MIDI packet to send.
| struct k_work netmidi2_session::tx_work |
The transmission work for that peer.
| const struct netmidi2_user* netmidi2_session::user |
The username to which this session belongs.