Add more MDNS functions
This commit is contained in:
@ -680,6 +680,9 @@ e: check-esp32-builtins
|
||||
check-files-dir-reverse
|
||||
out: dacWrite
|
||||
out: MDNS.begin
|
||||
out: MDNS.addService
|
||||
out: MDNS.setInstanceName
|
||||
out: MDNS.addServiceTxt
|
||||
;e
|
||||
|
||||
e: check-esp32-bindings
|
||||
|
||||
@ -451,5 +451,9 @@ static cell_t FromIP(IPAddress ip) {
|
||||
# endif
|
||||
# define OPTIONAL_MDNS_SUPPORT \
|
||||
/* mDNS */ \
|
||||
X("MDNS.begin", MDNS_BEGIN, n0 = MDNS.begin(c0))
|
||||
X("MDNS.begin", MDNS_BEGIN, n0 = MDNS.begin(c0)) \
|
||||
X("MDNS.addService", MDNS_ADD_SERVICE, n0 = MDNS.addService(c2, c1, n0); NIPn(2)) \
|
||||
X("MDNS.setInstanceName", MDNS_SET_INSTANCE_NAME, MDNS.setInstanceName(c0); DROP) \
|
||||
X("MDNS.addServiceTxt", MDNS_ADD_SERVICE_TXT, MDNS.addServiceTxt(c3, c2, c1, c0); DROPn(4))
|
||||
/* alx */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user