Age | Commit message (Collapse) | Author | Files | Lines |
|
Changes:
- Implement libudev 'monitor' interface to detect hotplug devices.
- Forward udev rules as AFB 'subscribe' args to udev_monitoring
objects.
- Filter retrieved property fields through 'mask' argument from
'subscribe' args.
- Generate detached threads (event loop) and data context for each
client,
so every user can subscribe for device events with their own udev
rules and receive their desired device parameters.
Bug-AGL: SPEC-3512
Signed-off-by: Farshid Monhaseri <monhaseri.f@gmail.com>
Change-Id: I0fc007d9707deaf39d21147aa8240fde302f5f9e
|
|
The json_object given to afb_req_success is released so and as it's the userdata
or a subpart, we need to increment the json_object reference count.
Change-Id: I9ee3fa5f613cd80c1f2374a545dec247c0a52cd8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Missing testing the readdir returned value.
Bug-AGL: SPEC-2288
Change-Id: I38691f2604ed4a13ff90e53dd5303e8ddcba7cf1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-1917
Change-Id: I300155302c9d69c6549ddabc6af53e2ad55eb18d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|