WL865E4-P  36.07.001
m2mb_mdns.h File Reference

This file contains the public APIs and structures of multicast 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_START
 mDNS start command structure. More...
 
struct  M2MB_MDNS_TXT
 
#define M2MB_MDNS_MAX_TXT_RECORDS   10
 
enum  M2MB_MDNS_COMMAND {
  M2MB_MDNS_START_E,
  M2MB_MDNS_STOP_E,
  M2MB_MDNS_DISABLE_E,
  M2MB_MDNS_ADDSVC_E,
  M2MB_MDNS_RMSVC_E,
  M2MB_MDNS_SET_HOSTNAME_E,
  M2MB_MDNS_UPDATE_TXT_RECORD_E
}
 Commands supported by the mDNS service. More...
 
typedef enum M2MB_MDNS_COMMAND M2MB_MDNS_COMMAND_T
 Commands supported by the mDNS service. 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_START M2MB_MDNS_START_T
 mDNS start command structure. More...
 
typedef struct M2MB_MDNS_TXT M2MB_MDNS_TXT_T
 
typedef UINT32(* M2MB_MDNS_CB_T) (VOID *arg)
 mDNS application callback. More...
 
M2MB_STATUS_T m2mb_mdns_start (M2MB_MDNS_START_T *start, M2MB_MDNS_CB_T app_cb, UINT8 blocking)
 m2mb_mdns_start is called to Start the mDNS service. More...
 
M2MB_STATUS_T m2mb_mdns_stop (VOID)
 Stops the mDNS service. More...
 
M2MB_STATUS_T m2mb_mdns_set_hostname (const CHAR *host_name)
 Sets the hostname for mDNS. More...
 
M2MB_STATUS_T m2mb_mdns_register_service (M2MB_MDNS_SVC_INFO_T *svc_info, UINT8 blocking)
 Registers a new service with mDNS. More...
 
M2MB_STATUS_T m2mb_mdns_unregister_service (const CHAR *svc_name)
 unregisters a service with mDNS. More...
 
M2MB_STATUS_T m2mb_mdns_update_txt (M2MB_MDNS_TXT_T *txt_update)
 Updates a text record of registered service of mDNS. More...
 

Detailed Description

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

we866e4/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
Sandeep Itha
Date
02/11/2017

Definition in file m2mb_mdns.h.