|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
A Network MIDI2.0 Endpoint. More...
#include <midi2.h>
Data Fields | ||
| const char * | name | |
| The endpoint name. | ||
| const char * | piid | |
| The endpoint product instance id. | ||
| union { | ||
| struct sockaddr addr | ||
| struct sockaddr_in addr4 | ||
| struct sockaddr_in6 addr6 | ||
| }; | ||
| The local endpoint address. | ||
| struct pollfd | pollsock | |
| The listening socket wrapped in a poll descriptor. | ||
| void(* | rx_packet_cb )(struct netmidi2_session *session, const struct midi_ump ump) | |
| The function to call when data is received from a client. | ||
| struct netmidi2_session | peers [CONFIG_NETMIDI2_HOST_MAX_CLIENTS] | |
| List of peers to this endpoint. | ||
| enum netmidi2_auth_type | auth_type | |
| The type of authentication required to establish a session with this host endpoint. | ||
| union { | ||
| const char * shared_auth_secret | ||
| A shared authentication key. More... | ||
| const struct netmidi2_userlist * userlist | ||
| A list of users/passwords. More... | ||
| }; | ||
A Network MIDI2.0 Endpoint.
| union { ... } netmidi2_ep |
The local endpoint address.
| union { ... } netmidi2_ep |
| struct sockaddr netmidi2_ep::addr |
| struct sockaddr_in netmidi2_ep::addr4 |
| struct sockaddr_in6 netmidi2_ep::addr6 |
| enum netmidi2_auth_type netmidi2_ep::auth_type |
The type of authentication required to establish a session with this host endpoint.
| const char* netmidi2_ep::name |
The endpoint name.
| struct netmidi2_session netmidi2_ep::peers[CONFIG_NETMIDI2_HOST_MAX_CLIENTS] |
List of peers to this endpoint.
| const char* netmidi2_ep::piid |
The endpoint product instance id.
| struct pollfd netmidi2_ep::pollsock |
The listening socket wrapped in a poll descriptor.
| void(* netmidi2_ep::rx_packet_cb) (struct netmidi2_session *session, const struct midi_ump ump) |
The function to call when data is received from a client.
| const char* netmidi2_ep::shared_auth_secret |
A shared authentication key.
| const struct netmidi2_userlist* netmidi2_ep::userlist |
A list of users/passwords.