;; Request a bus name
(println (if (:invoke Dbus:ROOT
- (print "RequestName(su)")
- (println (list (:bus-name au.rrq) 0)))
+ (print (:m ObjectManager "RequestName(su)"))
+ (println (list (:%name au.rrq) 0)))
(!= ($it -1 -1 -1)) ; returns BOOLEAN
))
(Dbus:process-all-pending)
(println (if (:invoke Dbus:ROOT
(print "GetNameOwner(s)")
(println (list "org.bluez")))
- ($it -1 -1 -1) ; Returns value
+ ($it -1 -1 -1) ; Return value
))
(Dbus:process-all-pending)
-(setf org.bluez (Dbus "/org/bluez"))
+(println (setf org.bluez (Dbus "/" "org.bluez")))
(println (if (:invoke org.bluez
- (print "/:org.freedesktop.DBus.ObjectManager.GetManagedObjects()")
- )
- ($it -1 -1 -1) ; Returns value
+ (println (:m ObjectManager "GetManagedObjects()")))
+ ($it -1 -1 -1) ; Return value
))