# Avahi service advertisement for the Pi Multi-FX Pedal web UI.
# This allows the pedal to be discovered as pedal.local on the LAN.
# Place in /etc/avahi/services/pi-multifx-pedal.service

<?xml version="1.0" standalone="no"?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
  <name>Pi Multi-FX Pedal</name>
  <service>
    <type>_http._tcp</type>
    <port>8080</port>
    <txt-record>path=/</txt-record>
    <txt-record>product=Pi-Multi-FX-Pedal</txt-record>
    <txt-record>version=0.1.0</txt-record>
  </service>
  <service>
    <type>_pedal._tcp</type>
    <port>8080</port>
    <txt-record>api=/api</txt-record>
    <txt-record>ws=/ws</txt-record>
  </service>
</service-group>