diff options
author | Bhautik Ardeshana <bhautik.ardeshana@nxp.com> | 2023-01-18 10:52:18 +0530 |
---|---|---|
committer | Bhautik Ardeshana <bhautik.ardeshana@nxp.com> | 2023-03-29 16:12:11 +0530 |
commit | 9820a89ae798cd85c0c42d35573954d33eaa6100 (patch) | |
tree | 379210f1e1671ec32717be3b4be37450f86e3806 /src/rust/uwb_uci_packets | |
parent | b2a377c39c23e4a2114a96e0cb96d2dc2fa67cba (diff) | |
download | uwb-9820a89ae798cd85c0c42d35573954d33eaa6100.tar.gz |
[uwb-core] Data transfer payload IE specification for in-band application payload transfer
-Implemented queryMaxData size method
Bug: 251477752
Test: test DataTransfer
Change-Id: I999de4d3608261b30fd5afe34a1597d55b7e1989
Diffstat (limited to 'src/rust/uwb_uci_packets')
-rw-r--r-- | src/rust/uwb_uci_packets/uci_packets.pdl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/rust/uwb_uci_packets/uci_packets.pdl b/src/rust/uwb_uci_packets/uci_packets.pdl index dcf7daa..3f146b4 100644 --- a/src/rust/uwb_uci_packets/uci_packets.pdl +++ b/src/rust/uwb_uci_packets/uci_packets.pdl @@ -928,6 +928,23 @@ test DataTransferStatusNtf { "\x62\x05\x00\x06\x00\x00\x00\x00\x00\x00\x01\x01\x00", } +packet SessionQueryMaxDataSizeCmd : SessionConfigCommand (opcode = 0xB) { //QUERY_MAX_DATA_SIZE + session_id: 32, +} + +test SessionQueryMaxDataSizeCmd { + "\x21\x0B\x00\x04\x00\x00\x00\x00", +} + +packet SessionQueryMaxDataSizeRsp : SessionConfigResponse (opcode = 0xB) { //QUER_MAX_DATA_SIZE + session_id: 32, + max_data_size: 16, +} + +test SessionQueryMaxDataSizeRsp { + "\x41\x0B\x00\x06\x00\x00\x00\x00\x0E7\0x07", +} + packet SessionStartCmd : SessionControlCommand (opcode = 0x0) { //RANGE_START session_id: 32, } |