etwmc / Personal-HomeKit-HAP

This project will provide source code to build a HomeKit support accessories.
MIT License
236 stars 85 forks source link

PHK need D-bus to communicate with avahi-daemon ? #41

Open GharsallaouiNader opened 9 years ago

GharsallaouiNader commented 9 years ago

if i change in avahi-daemon.conf "enable-dbus=yes" to "enable-dbus=no" the IPhone don't find the PHK and there are no error message i need to now if the PHK use d-bus to communicate with avahi-daemon

etwmc commented 9 years ago

For the Bonjour broadcast, I access you will need dbus. Because judging from what I can find from Google, it's used for the software to the daemon, which actually broadcast the service.

Sent from my iPhone

On Apr 2, 2015, at 11:45 PM, GharsallaouiNader notifications@github.com wrote:

if i change in avahi-daemon.conf "enable-dbus=yes" to "enable-dbus=no" the IPhone don't find the PHK and there are no error message i need to now if the PHK use d-bus to communicate with avahi-daemon

— Reply to this email directly or view it on GitHub.

GharsallaouiNader commented 9 years ago

the broadcast MDNS of bonjour work fine the problem is that the service added by the PHK DNSServiceRegister() don't work. i use wireshark to verify

etwmc commented 9 years ago

Yeah. You need service register to attach service to the broadcast.

Sent from my iPhone

On Apr 3, 2015, at 12:07 AM, GharsallaouiNader notifications@github.com wrote:

the broadcast MDNS of bonjour work fine the problem is that the service added by the PHK DNSServiceRegister() don't work. i use wireshark to verify

— Reply to this email directly or view it on GitHub.