28 #ifndef M2MB_mDNS_API_H 29 #define M2MB_mDNS_API_H 54 #define M2MB_MDNS_MAX_TXT_RECORDS 10
M2MB_STATUS_T m2mb_mdns_register_service(M2MB_MDNS_SVC_INFO_T *svc_info, UINT8 blocking)
Registers a new service with mDNS.
#define M2MB_MDNS_MAX_TXT_RECORDS
struct M2MB_MDNS_SVC_REG_STATUS M2MB_MDNS_SVC_REG_STATUS_T
Structure for registration status information.
struct M2MB_MDNS_TXT M2MB_MDNS_TXT_T
enum M2MB_MDNS_COMMAND M2MB_MDNS_COMMAND_T
Commands supported by the mDNS service.
struct M2MB_MDNS_TXT_RECORD M2MB_MDNS_TXT_RECORD_T
Structure for updating or adding a new text record.
struct M2MB_MDNS_START M2MB_MDNS_START_T
mDNS start command structure.
struct M2MB_MDNS_SVC_INFO M2MB_MDNS_SVC_INFO_T
Structure for registering the new service or advertising a service.
mDNS start command structure.
M2MB_STATUS_T m2mb_mdns_set_hostname(const CHAR *host_name)
Sets the hostname for mDNS.
CHAR * txt[M2MB_MDNS_MAX_TXT_RECORDS]
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.
UINT32(* M2MB_MDNS_CB_T)(VOID *arg)
mDNS application callback.
Structure for updating or adding a new text record.
Structure for registering the new service or advertising a service.
M2MB_STATUS_T m2mb_mdns_update_txt(M2MB_MDNS_TXT_T *txt_update)
Updates a text record of registered service of mDNS.
M2MB_MDNS_COMMAND
Commands supported by the mDNS service.
Structure for registration status information.
M2MB_STATUS_T m2mb_mdns_unregister_service(const CHAR *svc_name)
unregisters a service with mDNS.
M2MB_STATUS_T m2mb_mdns_stop(VOID)
Stops the mDNS service.