WE310F5  39.00.000
m2mb_mdns.h File Reference

This file contains the public APIs and structures of multi-cast Domain Name System(mDNS) module. More...

Go to the source code of this file.

Data Structures

struct  M2MB_MDNS_TXT_RECORD
 Structure for updating or adding a new text record. More...
 
struct  M2MB_MDNS_SVC_REG_STATUS
 Structure for registration status information. More...
 
struct  M2MB_MDNS_SVC_INFO
 Structure for registering the new service or advertising a service. More...
 
struct  M2MB_MDNS_TXT
 
struct  M2MB_MDNS_INIT_PARAMS
 MDNS initialization parameters. More...
 
union  M2MB_MDNS_CONF_PARAMS_T
 Structure is used by SET configuration parameter of CONF IDs mentioned in enum M2MB_MDNS_CONF_ID_E. Maximum of 10 text records are supported. More...
 
#define M2MB_MDNS_MAX_TXT_RECORDS   10
 
enum  M2MB_MDNS_CONF_ID {
  M2MB_MDNS_CONF_INVALID = 0,
  M2MB_MDNS_CONF_SET_UPDATE_TXT = 1
}
 MDNS SET Configuration enumeration. More...
 
typedef struct M2MB_MDNS_TXT_RECORD M2MB_MDNS_TXT_RECORD_T
 Structure for updating or adding a new text record. More...
 
typedef struct M2MB_MDNS_SVC_REG_STATUS M2MB_MDNS_SVC_REG_STATUS_T
 Structure for registration status information. More...
 
typedef struct M2MB_MDNS_SVC_INFO M2MB_MDNS_SVC_INFO_T
 Structure for registering the new service or advertising a service. More...
 
typedef struct M2MB_MDNS_TXT M2MB_MDNS_TXT_T
 
typedef UINT32(* M2MB_MDNS_CB_T) (VOID *arg)
 mDNS application callback. More...
 
typedef enum M2MB_MDNS_CONF_ID M2MB_MDNS_CONF_ID_E
 MDNS SET Configuration enumeration. More...
 
typedef struct M2MB_MDNS_INIT_PARAMS M2MB_MDNS_INIT_PARAMS_T
 MDNS initialization parameters. More...
 
typedef void(* MDNS_NAME_RESULT_CB_T) (struct netif *netif, UINT8 result)
 
void m2mb_mdns_resp_register_name_result_cb (MDNS_NAME_RESULT_CB_T cb)
 
M2MB_STATUS_T m2mb_mdns_init (HANDLE *handle, M2MB_MDNS_INIT_PARAMS_T *init_params)
 m2mb_mdns_init is called to Start the mDNS service. More...
 
M2MB_STATUS_T m2mb_mdns_set_hostname (HANDLE handle, const CHAR *host_name)
 Sets the hostname for mDNS. More...
 
M2MB_STATUS_T m2mb_mdns_register_service (HANDLE handle, M2MB_MDNS_SVC_INFO_T *svc_info, UINT8 blocking)
 Registers a new service with mDNS. More...
 
M2MB_STATUS_T m2mb_mdns_unregister_service (HANDLE handle, const CHAR *svc_name)
 unregisters a service with mDNS. More...
 
M2MB_STATUS_T m2mb_mdns_set_cfg (HANDLE handle, M2MB_MDNS_CONF_ID_E conf_id, M2MB_MDNS_CONF_PARAMS_T *conf_params)
 SET the MDNS configuration parameters. More...
 
M2MB_STATUS_T m2mb_mdns_deinit (HANDLE handle)
 m2mb_mdns_deinit API de-initializes the mDNS module. More...
 

Detailed Description

This file contains the public APIs and structures of multi-cast Domain Name System(mDNS) module.

epl/inc/nwk/m2mb_mdns.h

The Multicast DNS service provides APIs that allow users to register available services and respond to mDNS queries from other clients on a local link. It enables clients to perform DNS-like operations on the local link in the absence of any conventional unicast DNS server.

Note
Dependencies: "#include <m2mb_types.h>" "#include <m2mb_status.h>" "#include <m2mb_wlan_driver.h>"
Author
Tejashwini Hiremath
Date
02/11/2017

Definition in file m2mb_mdns.h.