![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427176.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
169
rn_echo
int rn_echo(int handle, char sendecho, char *recdata);
DESCRIPTION
The peripheral card sends back the character the master sent.
This function will
check de-
vice information to determine that the peripheral card is connected to a master.
PARAMETERS
handle
an address index to device information. Use
rn_device()
or
rn_find()
to establish the handle.
sendecho
the character to echo back.
recdata
pointer to the return address of the character from the device.
RETURN VALUE
The status byte from the previous command.
-1 means that device information indicates the peripheral card is not connected to the
master.
176 / 191
176 / 191