Manages Art-Net node state, including normalization, paging, and status bits.
Provides pure functions for configuring and transforming node state, ensuring valid bitmasks and default values.
Manages Art-Net node state, including normalization, paging, and status bits. Provides pure functions for configuring and transforming node state, ensuring valid bitmasks and default values.
(*system-nano-time*)Gets current system time in nanoseconds. Override for deterministic testing.
Gets current system time in nanoseconds. Override for deterministic testing.
(default-network-state node overrides)Constructs default network state from node config and overrides.
Constructs default network state from node config and overrides.
(ensure-command-labels labels)Normalizes command label strings (swin/swout), removing null termination and whitespace.
Normalizes command label strings (swin/swout), removing null termination and whitespace.
(nano-time event)Gets current nano time from event or system default.
Gets current nano time from event or system default.
(node-port-addresses node)Calculates all unique active port addreses across all pages of a node.
Calculates all unique active port addreses across all pages of a node.
(node-port-pages node)Calculates effective node pages based on configuration strategy (:port-pages, :ports, or logical default).
Calculates effective node pages based on configuration strategy (:port-pages, :ports, or logical default).
(normalize-node node)Normalizes node configuration map to ensure all required fields function correctly.
Populates defaults for required Art-Net node properties like IP, port, status bits, and port definitions.
Normalizes node configuration map to ensure all required fields function correctly. Populates defaults for required Art-Net node properties like IP, port, status bits, and port definitions.
(page-port-addresses page)Calculates list of active port addresses for a page.
Calculates list of active port addresses for a page.
(ports->pages node ports)Converts a flat list of port descriptors into a vector of Art-Net node pages.
Converts a flat list of port descriptors into a vector of Art-Net node pages.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |