29 #ifndef M2MB_mDNS_API_H 30 #define M2MB_mDNS_API_H 67 #define M2MB_MDNS_MAX_TXT_RECORDS 10 struct M2MB_MDNS_INIT_PARAMS M2MB_MDNS_INIT_PARAMS_T
MDNS initialization parameters.
void m2mb_mdns_resp_register_name_result_cb(MDNS_NAME_RESULT_CB_T cb)
MDNS initialization parameters.
enum M2MB_MDNS_CONF_ID M2MB_MDNS_CONF_ID_E
MDNS SET Configuration enumeration.
M2MB_STATUS_T m2mb_mdns_deinit(HANDLE handle)
m2mb_mdns_deinit API de-initializes the mDNS module.
struct M2MB_MDNS_TXT M2MB_MDNS_TXT_T
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.
M2MB_MDNS_CONF_ID
MDNS SET Configuration enumeration.
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.
M2MB_STATUS_T m2mb_mdns_set_hostname(HANDLE handle, const CHAR *host_name)
Sets the hostname for mDNS.
struct M2MB_MDNS_SVC_INFO M2MB_MDNS_SVC_INFO_T
Structure for registering the new service or advertising a service.
void(* MDNS_NAME_RESULT_CB_T)(struct netif *netif, UINT8 result)
Structure for registration status information.
M2MB_STATUS_T m2mb_mdns_unregister_service(HANDLE handle, const CHAR *svc_name)
unregisters a service with mDNS.
CHAR * txt[M2MB_MDNS_MAX_TXT_RECORDS]
#define M2MB_MDNS_MAX_TXT_RECORDS
struct M2MB_MDNS_TXT_RECORD M2MB_MDNS_TXT_RECORD_T
Structure for updating or adding a new text record.
M2MB_MDNS_TXT_T * txt_update
M2MB_STATUS_T m2mb_mdns_register_service(HANDLE handle, M2MB_MDNS_SVC_INFO_T *svc_info, UINT8 blocking)
Registers a new service with mDNS.
struct M2MB_MDNS_SVC_REG_STATUS M2MB_MDNS_SVC_REG_STATUS_T
Structure for registration status information.
UINT32(* M2MB_MDNS_CB_T)(VOID *arg)
mDNS application callback.
Structure for updating or adding a new text record.
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.
Structure for registering the new service or advertising a service.