
EtherSpaceLink-RG408
EtherSpaceLink family User Manual
S
ee
A
lso
EtherSpaceLink_flush()
E
xa
mple
B
a
s
i
c
u
s
a
g
e
f
o
r
d
a
t
a
p
ac
k
ets:
char buffer[1024];
EtherSpaceLink ESL_unit;
ESL_unit = EtherSpaceLink_open
( "Rosetta" );
EtherSpaceLink_set_mode ( ESL_unit, EtherSpaceLink_LINK_mode_normal );
EtherSpaceLink_write_packet ( ESL_unit, "ABCD",
4, EtherSpaceLink_EOP );
// initialise buffer[] before sending it
EtherSpaceLink_write_packet ( ESL_unit, buffer, 15, EtherSpaceLink_EOP );
EtherSpaceLink_flush ( ESL_unit );
4Links Limited
www.4Links.co.uk
support@4Links.co.uk
page 60 of 110
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park