etwmc/Personal-HomeKit-HAP

Stop Connect but don't know why

arnauddorgans opened this issue · 7 comments

hey
everythings worked perfectly but after a total purge of my raspberry and reconfiguring PHK Stop Connect after "Successfully Connect"... i don't know why it's random :/
an idea ?

Initial Accessory
Serial Port: -1
*** WARNING *** The program 'PHK' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=PHK
Start Connect: 11
Start Pair Verify
State = 1
Pair Verify M1
State = 3
Pair Verify M3
Successfully Connect
Stop Connect: 11

What do you mean by purge?
If purge=format/delete files, you might have deleted the pair record?

i totally format / reinstall my system (raspbmc) so the pair record was deleted but after a new pair / "sudo make clean all" i got this :(
i don't know why but on my first try after reinstall everything was ok but after kill and re start PHK (without make the cpp files) "Stop Connect: 11"
it's weird.. maybe it's my compilator ? (gcc 4.8)
cause my source files was the same and before reinstall all was ok :(

maybe can I send you a zip file with my cpp files and try to build with your configuration ?
see if the problem is in the files or of my configuration ?
thanks :)

the easiest way would be to just to just clone and recompile the project with the default files...at least that way you'll know if its something you've changed in the code or a compilation issue with your system.

yea good idea lol 💃
i'll try then :)

So...
the first time i start PHK everythings work but after a CTRL+C (stop PHK) and a ./PHK (start PHP)
I have this f*cking "Stop Connect:"
Any idea ?...

@Arnoymous turn wifi off for ten seconds on your iOS device after restarting PHK.

thx :D
problem solved