[PATCH] NotificationProxy updated
-
Martin S.
The implementation for lockdownd_get_device_name seems missing from the patch.
-
Nikias Bassen
Yes, right. Here is the complete patch.
-
Nikias Bassen
Well, here is the complete patch.
-
Martin S.
You have a typo "g_strfr eev(dirs);" should be "g_strfreev(dirs);". Also "iphone_mux_recv_timeout" which you are using seems not to be defined in libiphone master.
I changed it to "iphone_mux_recv" here and got it working, good job!
Would it be possible to implement some kind of notification callback instead of needing to poll for the notification_proxy stuff?
-
Nikias Bassen
Hi again. This is the new and tested patch. It fixes the errors reported, introduces the iphone_mux_recv_timeout function as well as iphone_np_set_notify_callback which is used in iphoneclient test program. It's running in a new thread that polls for notifications sent by the notification proxy on the device.
-
Paul Sladen
- Milestone set to 1.0 Release
-
Nikias Bassen
Hi, the previous patch causes some problems when running the iphoneclient tool due to the notification callback implementation. My usbmuxd aware implementation is working perfectly with it, but to avoid trouble until the usbmuxd stuff is integrated, apply the attached patch after applying 'notification_proxy_new_update_fixed.diff'. This will just disable the callback usage in iphoneclient and reactivates the standard active check for incoming notifications.
-
Nikias Bassen
Here's the first patch updated and created with git format-patch.
-
Nikias Bassen
... and here's the second one.
-
Matt Colyer
Should I merge this in now or wait for the usbmux stuff to land?
-
Matt Colyer
- State changed from new to resolved
(from [1351b686d450112ae55d26d81d9d59c5f542f12e]) NotificationProxy support added.
[#27 [PATCH] NotificationProxy updated state:resolved]
Signed-off-by: Matt Colyer matt@colyer.name http://github.com/MattColyer/lib...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
