(bonjour-name->display-name bonjour-name)
Converts an Esprit Bonjour service name to a display name (stripping off esprit-bonjour-name-prefix).
Converts an Esprit Bonjour service name to a display name (stripping off esprit-bonjour-name-prefix).
(discover-and-choose-device choose-first-discovered? opts)
Looks for Esprit devices advertised via Bonjour and presents a simple command-line UI letting user pick one, unless choose-first-discovered? is set to true in which case the UI is bypassed
Looks for Esprit devices advertised via Bonjour and presents a simple command-line UI letting user pick one, unless choose-first-discovered? is set to true in which case the UI is bypassed
The prefix used in Esprit Bonjour service names.
The prefix used in Esprit Bonjour service names.
(esprit-eval repl-env js)
Evaluate a JavaScript string in the Espruino REPL process.
Evaluate a JavaScript string in the Espruino REPL process.
(fn-ify js)
Wraps bare try-catch into a fn as to properly return pr_str
Wraps bare try-catch into a fn as to properly return pr_str
(load-javascript repl-env provides url)
Load a Closure JavaScript file into the Espruino REPL process.
Load a Closure JavaScript file into the Espruino REPL process.
(process js)
Process outgoing JS to make compatible with Espruino
Process outgoing JS to make compatible with Espruino
(repl-env & {:as options})
Esprit REPL environment.
Esprit REPL environment.
(setup-mdns reg-type name-endpoint-map)
Sets up mDNS to populate atom supplied in name-endpoint-map with discoveries. Returns a function that will tear down mDNS.
Sets up mDNS to populate atom supplied in name-endpoint-map with discoveries. Returns a function that will tear down mDNS.
(start-reading-messages repl-env opts)
Starts a thread reading inbound messages.
Starts a thread reading inbound messages.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close