WE310F5  39.00.000
M2MB_MDNS_INIT_PARAMS Struct Reference

MDNS initialization parameters. More...

#include <m2mb_mdns.h>

Data Fields

UINT32 ip_version
 
UINT8 device_id
 
M2MB_MDNS_CB_T app_cb
 
UINT8 blocking
 

Detailed Description

MDNS initialization parameters.

Contains information needed to initialize the MDNS module, such as user callback, user context and poll interval.

Definition at line 215 of file m2mb_mdns.h.

Field Documentation

◆ app_cb

Application callback. The callback is invoked for nonblocking operations and to return asynchronous responses, e.g., hostname conflicts in the local network.

Definition at line 220 of file m2mb_mdns.h.

◆ blocking

UINT8 blocking

Flag to indicate if the mDNS function is in Blocking or Nonblocking mode.

  • If the flag = 1, all mDNS commands will block until complete (success or failure).
  • If the flag = 0, all mDNS commands will be nonblocking and will invoke the app callback to return the result of the operation.

Definition at line 222 of file m2mb_mdns.h.

◆ device_id

UINT8 device_id

Interface ID to be used by the mDNS service for outgoing/incoming mDNS packets.

Definition at line 218 of file m2mb_mdns.h.

◆ ip_version

UINT32 ip_version

IP version: IPV4, IPV6, or both.

Definition at line 217 of file m2mb_mdns.h.


The documentation for this struct was generated from the following file: