7.3. Transmit and receive data
7.3.1. CMD_DATA_REQ
This command provides the simple data transfer between two connected modules. Trans-
mission takes place to the previously connected device(s). This command is suitable for
transmission for a point-to-point connection. The number of payload data Bytes is negotiat-
ed during the connection phase. It can be maximal 243 Bytes, but at least 19 Bytes.
When the data is processed by the module a
is sent to the host. Additionally
a
will follow as soon as the data has been sent.
The receiving Proteus-III will get a
message containing the transmitted pay-
load data.
In "high throughput mode" the length of data packets may be up to 964 Bytes. Format:
Start signal
Command
Length
Payload
CS
0x02
0x04
2 Bytes
Length Bytes
1 Byte
Response (
Start signal
Command | 0x40
Length
Status
CS
0x02
0x44
2 Bytes
Length Bytes
1 Byte
Status:
0x00:
Request received, will send data now
0x01 + 0xXX:
Operation 0xXX maximum payload size (if it was exceeded)
0xFF:
Operation not permitted
7.3.2. CMD_TXCOMPLETE_RSP
This command is sent to the host as soon as the data, which was requested by a
has been transmitted successfully.
Format:
Start signal
Command
Length
Status
CS
0x02
0xC4
0x01 0x00
1 Byte
1 Byte
Status:
0x00:
Data transmitted successfully
0x01:
Data transmission failed
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
76