Transmit And Receive Data; Cmd_Data_Req; Cmd_Txcomplete_Rsp - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

7.3. Transmit and receive data

7.3.1. CMD_DATA_REQ

This command provides the simple data transfer between two connected modules. Transmis-
sion takes place to the previously connected device(s). This command is suitable for transmis-
sion for a point-to-point connection. The number of payload data Bytes is negotiated during the
connection phase. It can be maximal 243 Bytes, but at least 19 Bytes.
When the data is processed by the module a CMD_DATA_CNF is sent to the host. Additionally a
CMD_TXCOMPLETE_RSP will follow as soon as the data has been sent.
The receiving Proteus-III will get a CMD_DATA_IND message containing the transmitted payload
data.
In "high throughput mode" the length of data packets may be up to 964 Bytes. Format:
Start signal
0x02
Response ( CMD_DATA_CNF ):
Start signal
0x02
Status:
0x00: Request received, will send data now
0x01 + 0xXX: Operation failed + 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 CMD_DATA_REQ
has been transmitted successfully.
Format:
Start signal
Status:
0x00: Data transmitted successfully
0x01: Data transmission failed
Order code 2611011024000
Version 1.8 , July 2022
Command
0x04
Command | 0x40
0x44
Command
0x02
0xC4
Length
Payload
2 Bytes
Length Bytes
Length
Status
2 Bytes
Length Bytes
Length
Status
0x01 0x00
1 Byte
CS
1 Byte
CS
1 Byte
CS
1 Byte
www.we-online.com/wcs
78

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents