> For the complete documentation index, see [llms.txt](https://sdk.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.twelite.info/en/twelite-net-api-ref/gou-zao-ti/tsrxdataapp.md).

# tsRxDataApp

Structure passed to [`cbToCoNet_vRxEvent()`](/en/twelite-net-api-ref/krubakku/cbtoconet_vrxevent.md) when a radio packet is received.。

| Members                               | Remark                                                                                                                                                                                                                                                                                   |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `uint8 u8Cmd`                         | Packet type. This can be specified arbitrarily by the sender. It is used to distinguish between data and command packets. Value range: `0-7`.                                                                                                                                            |
| `uint8 u8Len`                         | Payload length. The length of the data stored in `au8Data[]` (see below). ([Maximum packet size](/en/twelite-net-api-expl/paketto/pakettono.md))                                                                                                                                         |
| `uint8 u8Seq`                         | Sequence number. It is set arbitrarily by the sender. It is used to determine duplicate packets. Value range: `0-255`.                                                                                                                                                                   |
| `uint32 u32SrcAddr uint32 u32DstAddr` | Source and destination addresses. The range of `0-0xFFFF` indicates the short address mode, and `0x8000000` or more indicates sending/receiving by the extended address. The range `0-0xFFFF` indicates short address mode, while `0x8000000` and above indicates extended address mode. |
| `uint8 auData[]`                      | Payload. Data valid for the length of the payload ([maximum packet size](/en/twelite-net-api-expl/paketto/pakettono.md)).                                                                                                                                                                |
| `uint8 u8Lqi`                         | Reception quality LQI value. Value range: `0..255` (corresponds to the field strength at the time of reception, 0 being the weakest and 255 being the strongest)                                                                                                                         |
| `uint8 bSecurePkt`                    | If the packet is encrypted, it will be TRUE. At this point, the `auData[]` has already been decrypted to plaintext.                                                                                                                                                                      |
| `uint32 u32Tick`                      | Timestamp on receipt ([`u32TickCount_ms`](/en/twelite-net-api-ref/gurbaru/uint32-u32tickcount_ms.md))                                                                                                                                                                                    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sdk.twelite.info/en/twelite-net-api-ref/gou-zao-ti/tsrxdataapp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
