MeterLogger
Functions
espconn_mdns.c File Reference
#include "ets_sys.h"
#include "os_type.h"
#include "lwip/mdns.h"
Include dependency graph for espconn_mdns.c:

Go to the source code of this file.

Functions

void ICACHE_FLASH_ATTR espconn_mdns_enable (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_disable (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_set_hostname (char *name)
 
char *ICACHE_FLASH_ATTR espconn_mdns_get_hostname (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_set_servername (const char *name)
 
char *ICACHE_FLASH_ATTR espconn_mdns_get_servername (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_server_register (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_server_unregister (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_close (void)
 
void ICACHE_FLASH_ATTR espconn_mdns_init (struct mdns_info *info)
 

Function Documentation

◆ espconn_mdns_close()

void ICACHE_FLASH_ATTR espconn_mdns_close ( void  )

Definition at line 119 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

120 {
121  mdns_close();
122 }

◆ espconn_mdns_disable()

void ICACHE_FLASH_ATTR espconn_mdns_disable ( void  )

Definition at line 37 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

38 {
39  mdns_disable();
40 }

◆ espconn_mdns_enable()

void ICACHE_FLASH_ATTR espconn_mdns_enable ( void  )

Definition at line 25 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

26 {
27  mdns_enable();
28 }

◆ espconn_mdns_get_hostname()

char* ICACHE_FLASH_ATTR espconn_mdns_get_hostname ( void  )

Definition at line 63 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

64 {
65  return (char *)mdns_get_hostname();
66 }

◆ espconn_mdns_get_servername()

char* ICACHE_FLASH_ATTR espconn_mdns_get_servername ( void  )

Definition at line 85 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

86 {
87  return (char *)mdns_get_servername();
88 }

◆ espconn_mdns_init()

void ICACHE_FLASH_ATTR espconn_mdns_init ( struct mdns_info info)

Definition at line 131 of file espconn_mdns.c.

132 {
133  mdns_init(info);
134 }

◆ espconn_mdns_server_register()

void ICACHE_FLASH_ATTR espconn_mdns_server_register ( void  )

Definition at line 96 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

97 {
98  mdns_server_register();
99 }

◆ espconn_mdns_server_unregister()

void ICACHE_FLASH_ATTR espconn_mdns_server_unregister ( void  )

Definition at line 107 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

108 {
109  mdns_server_unregister();
110 }

◆ espconn_mdns_set_hostname()

void ICACHE_FLASH_ATTR espconn_mdns_set_hostname ( char *  name)

Definition at line 50 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

51 {
52  mdns_set_hostname(name);
53 }

◆ espconn_mdns_set_servername()

void ICACHE_FLASH_ATTR espconn_mdns_set_servername ( const char *  name)

Definition at line 74 of file espconn_mdns.c.

References ICACHE_FLASH_ATTR.

75 {
76  mdns_set_servername(name);
77 }