Support code for Transparent Serial Cluster of Digi Data Endpoint
Send data to the "Digi Transparent Serial" cluster (cluster 0x0011 of endpoint 0xE8).
- Parameters
-
[in,out] | envelope | Envelope with device, addresses, payload, length and options filled in. This function sets the profile, endpoints, and cluster fields of the envelope. |
- Return values
-
0 | data sent |
!0 | error trying to send request |
- See also
- xbee_transparent_serial_str
- Note
- This is a preliminary API and may change in a future release.
int xbee_transparent_serial_str |
( |
wpan_envelope_t * |
envelope, |
|
|
const char FAR * |
data |
|
) |
| |
Send string to the "Digi Transparent Serial" cluster (cluster 0x0011 of endpoint 0xE8).
- Parameters
-
[in,out] | envelope | Envelope with device, addresses and options filled in. This function sets the payload, length, profile, endpoints, and cluster fields of the envelope. |
[in] | data | string to send |
- Return values
-
0 | data sent |
!0 | error trying to send request |
- See also
- xbee_transparent_serial
- Note
- This is a preliminary API and may change in a future release.