![]() |
WL865E4-P
36.07.001
|
This file contains public APIs and structures of Domain Name System service discovery (DNS-SD) module. More...
Go to the source code of this file.
Data Structures | |
| struct | M2MB_DNSSD_CTXT_T |
| Context information for DNS-SD. More... | |
| struct | M2MB_DNSSD_START_T |
| DNS-SD start command. More... | |
| struct | M2MB_DNSSD_INIT_T |
| DNS-SD initialization command. More... | |
| struct | M2MB_DNSSD_TARGET_INFO_T |
| DNS-SD server information. More... | |
| struct | M2MB_DNSSD_DATA_T |
| DNS-SD data. More... | |
| struct | M2MB_DNSSD_DISCOVER_ENTRY_T |
| DNS-SD data entry. More... | |
| struct | M2MB_DNSSD_DISCOVER_T |
| DNS-SD discover data buffer. More... | |
| #define | M2MB_DNSSD_MAX_BUF_ENTRIES 15 |
| #define | M2MB_DNSSD_MAX_TIMEOUT 5000 |
| enum | M2MB_DNSSD_COMMAND_E { M2MB_DNSSD_START_E, M2MB_DNSSD_STOP_E, M2MB_DNSSD_DISCOVER_E, M2MB_DNSSD_INIT_E, M2MB_DNSSD_TARGET_INFO_E } |
| Commands supported by DNS-SD. More... | |
| enum | M2MB_DNSSD_RSP_TYPE_E { M2MB_DNSSD_IPV4_ADDR = 0x01, M2MB_DNSSD_PTR = 0x0c, M2MB_DNSSD_TYPE_TXT_INFO = 0x10, M2MB_DNSSD_IPV6_ADDR = 0x1c, M2MB_DNSSD_TYPE_TARGET_INFO = 0x21, M2MB_DNSSD_SEC = 0x2f, M2MB_DNSSD_ANY = 0xff } |
| Response types. More... | |
| typedef void(* | M2MB_DNSSD_CB_T) (struct M2MB_DNSSD_DISCOVER_T *param) |
| DNS service discovery callback declaration. More... | |
| typedef struct M2MB_DNSSD_DISCOVER_T | M2MB_DNSSD_DISCOVER_T |
| DNS-SD discover data buffer. More... | |
| M2MB_STATUS_T | m2mb_dnssd_start (M2MB_DNSSD_START_T *start) |
| m2mb_dnssd_start is called to start DNS-SD. More... | |
| M2MB_STATUS_T | m2mb_dnssd_init (M2MB_DNSSD_INIT_T *init) |
| m2mb_dnssd_init is called to initialize DNS service discovery. More... | |
| M2MB_STATUS_T | m2mb_dnssd_stop (M2MB_DNSSD_CTXT_T *ctxt) |
| m2mb_dnssd_stop is called to stop DNS-SD module. More... | |
| M2MB_STATUS_T | m2mb_dnssd_discover (const CHAR *svc_instance_name) |
| m2mb_dnssd_discover is called to discover a service. More... | |
This file contains public APIs and structures of Domain Name System service discovery (DNS-SD) module.
we866e4/epl/inc/nwk/m2mb_dns_service_discovery.h
DNS service discovery provides APIs that allow users to discover all the available services of a specific type on the local link.
User has to set the DNS server to get the host name resolved. This module stores the primary and secondary server IPaddress. User must provide server IP address.
Definition in file m2mb_dns_service_discovery.h.