CB1_XBEE_SendMessage Function

Send NULL-terminated string via RF link

Syntax

ERRCODE CB1_XBEE_SendMessage(UBYTE iface, UBYTE channel, UBYTE* str);

Parameters

UBYTE - interface (SPI_INTERFACE0,SPI_INTERFACE1, SPI_INTERFACE2)
UBYTE - channel (only A)
UBYTE* - pointer to NULL-terminated string

Return Value

SUCCESS -  SUCCESS
Otherwise - INVALID_INTERFACE

Remarks

N/A

Requirements

cb1.h

Example

N/A