bacure.services

send-request-promise

(send-request-promise device-id request)(send-request-promise local-device-id device-id request)
Send the request to the remote device.
The possible return values are :

{:success <expected valuezs - if any>
 :error {:error-class ..., :error-code ...}}

Will block until the remote device answers.

send-subscribe-cov

(send-subscribe-cov local-device-id remote-device-id object-identifier {:keys [process-identifier confirmed? lifetime-seconds], :or {process-identifier events/default-cov-process-id, confirmed? false, lifetime-seconds 60}, :as args})

send-who-has

(send-who-has local-device-id object-identifier-or-name {:keys [min-range max-range], :or {min-range 0, max-range 4194303}, :as args})

send-who-is

(send-who-is local-device-id {:keys [min-range max-range], :as args})

send-who-is-router-to-network

(send-who-is-router-to-network local-device-id)