Add additional txt items to the mDNS responses. By default the productid and deviceid is added to mDNS responses.
If the device is running when txt records are added the service is unpublished and published again with the new items.
If the key already exists it is overwritten with the new value.
NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API nabto_device_mdns_add_txt_item(NabtoDevice* device, const char* key, const char* value)
- [in] The device instance
- [in] The txt item key
- [in] The txt item value
NABTO_DEVICE_EC_OK Iff the txt item was added to the list of txt items