-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qmdnsengine doesn't work anymore with iOS 16 or Ventura #1011
Comments
I will investigate on this this weekend. I will have to update my hardware. |
a quick fix will be use the native bonjour that is already using for
sending the hr from apple watch to ipad. this is still working
Il giorno ven 28 ott 2022 alle 16:24 p3g4asus ***@***.***> ha
scritto:
I will investigate on this this weekend. I will have to update my hardware.
—
Reply to this email directly, view it on GitHub
<#1011 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWANAZKMO5A6XDDYJ4LWFPOYPANCNFSM6AAAAAARRDDY5E>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
|
writeDatagram returns -1 Network unreachable |
ok got the problem, apple is enforcing the multicast entitlement, i changed from the broadcast ip to the localip of zwift and it's working now...i have to find a clean solution anyway |
unfortunately, i have to port the code on swift and use the nwlistener, there is no easy way. I will post also in the qmdns repository. I will start this, this evening. I hope it would be easy |
I found a dirty trick. Instead of using the mdsn broadcast address, i'm using the local broadcast. For example if my local ip is 192.168.0.1 i'm using 192.168.0.255 it works on rgt and zwift both |
Nice idea. I had it too but would like to test myself before sharing. Remember to take into account network mask for calculating broadcast address. |
yes it's what i'm doing right now ;) thanks for the reminder ;) |
I mean broadcast is 192.168.0.255 if network mask is/24 (255.255.255.0). But different network mask implies different broadcast address. |
yes i got it :) i'm searching on stackoverflow a ready to implement code :D |
Broadcast=(myip & mask)| ((1<<(32-mask))-1) |
thanks as always ;) |
maybe also better https://stackoverflow.com/a/777631/831272 ? :D |
Oh yes definitely 😁 |
qmdnsengine doesn't work anymore with iOS 16 or Ventura #1011 cagnulein/qdomyos-zwift#1011
unfortunately it's not so reliable. I asked to apple the entitlement to send unicast frames. I'm saying good luck to myself |
Eureka! Maybe...My problem was about that I was unable to change the hostname on the adv frame, but using this library it seems that I can https://github.com/neverware-mirrors/avahi/blob/d1e71b320d96d0f213ecb0885c8313039a09f693/avahi-compat-libdns_sd/null-test.c and I don't need the entitlements. Let's see if I can use it |
unfortunately this code
seems to be ineffective on iOS |
partially fixed, at least with Zwift (doesn't work with Wahoo RGT yet). I will test this on a real session later this week. |
also this one could be useful in case https://github.com/cagnulein/publish-mdns-hostname/blob/master/README.md |
|
Ok I guess also Zwift needs the entitlement. The Zwift version on iOS doesn't work anymore even with the entitlement, instead the MacOS one works beatifully, so I guess the issue now it's zwift. I will investigate this in the Zwift forum |
i'm closing this one, since now it's only a zwift issue |
the same QZ version on iOS 15 works fine
@p3g4asus I will investigate this myself, if you have time, could you also confirm me this? I can't see anymore the advertising frames from QZ. It still works flawlessy with the same QZ from today on my wife iphone with iOS 15.7
The text was updated successfully, but these errors were encountered: