Tesira Client
Jan Dvořák <mordae@anilinux.org>
(require tesira) | package: tesira |
This library allows for basic communication with Biamp Tesira devices over their telnet interfaces. It implements message framing, but leaves all RPC specifics to the user.
It is strongly suggested to consult relevant materials freely available on Biamp’s website. Especially the Tesira Text Protocol specification.
1 Interface
syntax
syntax
syntax
syntax
procedure
(tesira-number? v) → Boolean
v : Any
procedure
(tesira-connect host [port notify]) → Tesira
host : String port : Positive-Integer = 23 notify : (-> Tesira-Response Void) = void
When a different notify function is given, it will be called every time an asynchronous notification arrives in the middle of a tesira-send call.
procedure
(tesira-send a-tesira alias verb attr arg ...) → Tesira-Response
a-tesira : Tesira alias : Symbol verb : Symbol attr : Symbol arg : TExpr
The client object is locked for the duration of the call and any concurrent call will be blocked until the first one receives it’s reply.
2 Utilities
(require tesira/util) | package: tesira |
Set of convenience function to simplify some typical tasks.
procedure
(tesira-get a-tesira alias attr arg ...) → TExpr
a-tesira : Tesira alias : Symbol attr : Symbol arg : TExpr
procedure
(tesira-set a-tesira alias attr arg ...) → Void
a-tesira : Tesira alias : Symbol attr : Symbol arg : TExpr