$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
 SDT API Overview
 SDT callback functions
 SDT Constants
 SDT initialization and session management
 SDT on UDP, Constants from EPI18
 SDT Structures and associated macros
 SDT transmit functions
 Setting Property Values
 short version facility and level macros
 Single linked lists
 Single linked lists with pointer to tail
 SLP scopes
 Special values for nrefines
 struct chanParams_s
 struct Lcomponent_s
 struct Rcomponent_s
 Structures generated during parse
WARNING: This page is out of date.
To use SDT a component must first register using sdt_register.
Constants from Session Data Transport
These values and the method of specification changed between ACN-2006 and ACN-2010 with ACN-2010 defining several timeouts in terms of a timeout factor which relates the timeout to variable channel expiry time.
Implementation of SDT (Session Data Transport) protocol
Implementation of SDT (Session Data Transport) protocol
int sdt_addClient(ifMC(struct Lcomponent_s *Lcomp,) clientRx_fn *rxfn,
void *cookie)
Register a client protocol with SDT.
void sdt_deregister(ifMC(struct Lcomponent_s *Lcomp))
De-register a component from SDT.
sdt_dropClient(ifMC(struct Lcomponent_s *Lcomp))
De-register a client protocol from the SDT layer.
Local component structure for SDT.
ACN-2006 and ACN-2010
Session Data Transport (SDT section 7)
Session Data Transport (EPI-19)
Remote component structure for SDT.
int sdt_register(ifMC(struct Lcomponent_s *Lcomp,) memberevent_fn *membevent,
netx_addr_t *adhocip,
chanOpen_fn *joinRx)
int rlp_sendbuf( uint8_t *txbuf, int length, PROTO_ARG rlpsocket_t *src, netx_addr_t *dest, cid_t srccid);
int sendWrap(struct member_s *memb,
protocolID_t proto,
uint16_t wflags,
const uint8_t *data,
int size)
Serial number, constructed at run time from CID and DCID.
void setbvflg(struct dcxt_s *dcxp,
enum netflags_e flags)
Set property flags.
static void setintprop(struct member_s *mbr,
const struct dmpprop_s *dprop,
struct adspec_s *ofs,
uint32_t pval)
Send a set property command for an integer property.
void setlang(const ddlchar_t **ltags)
static void setprop(char **bpp)
Read the command line property and value specification then call setintprop or setstringprop to set the value.
void setptype(struct dcxt_s *dcxp,
enum proptype_e type,
unsigned int sizes)
Set encoding type
static void setstringprop(struct member_s *mbr,
const struct dmpprop_s *dprop,
struct adspec_s *ofs,
char *str,
int len)
Send a set property command for a string property.
static int showprops(struct dmprcxt_s *rcxt,
const uint8_t *bp)
Callback function which sisplay the properties received in a get property reply or event message.
Each list member structure contains one pointer lnk.r pointing to its right neighbour.
Each list member structure contains one pointer lnk.r pointing to its right neighbour.
insert an object at the head of the list
insert an object after itemp
declare a link structure
The demo device and controller use OpenSLP which is available as an option on most Linux distributions.
Default scope for SLP (RFC2608), not ACN specific.
void slp_deregister(ifMC(struct Lcomponent_s *Lcomp))
De-register a local component with SLP service agent.
int slp_register(ifMC(struct Lcomponent_s *Lcomp))
Register (or re-register) a local component for advertisement by SLP service agent.
extern const char * const slperrs[]
Table of SLP error descriptions used for diagnostic messages
unlink an object
Software version string
static FILE * src_outf(const char *fname,
const char *dcidstr)
Open a file for source code output.
generic address map using binary search to find a region then possibly further tests as defined in Algorithm for address search.
struct txwrap_s *startMemberWrapper(struct member_s *memb,
int size,
uint16_t wflags)
uint8_t * startProtoMsg(struct txwrap_s **txwrapp,
void *dest,
protocolID_t proto,
uint16_t wflags,
int *sizep)
Initialize the next message block in the wrapper
struct txwrap_s * startWrapper(int size)
Create and initialize a txwrap.
insert an object at the head of the list
insert an object at the tail of the list
insert an object after itemp
declare a link structure
unlink an object
int str2uuid(const char *uuidstr,
uint8_t *uuid)
Parse a UUID string and optionally convert to binary UUID
Turn the expansion of a macro into a string
Channel Parameters – applied to each local channel and separately to each local member of a remote channel.
The main entry point parseroot returns a struct rootdev_s which in turn contains three principle structures: