OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a2eaa
)
L2CAP: Add a packet test for G frame
author
Hansong Zhang
<hsz@google.com>
Fri, 6 Sep 2019 23:01:25 +0000
(16:01 -0700)
committer
Hansong Zhang
<hsz@google.com>
Fri, 6 Sep 2019 23:02:37 +0000
(23:02 +0000)
Test: bluetooth_test_gd
Change-Id: I2d5bca8935a83b8c3db086eba4ecfdc4e16afba9
gd/l2cap/l2cap_packet_test.cc
patch
|
blob
|
history
diff --git
a/gd/l2cap/l2cap_packet_test.cc
b/gd/l2cap/l2cap_packet_test.cc
index
8d57aba
..
1ad36a3
100644
(file)
--- a/
gd/l2cap/l2cap_packet_test.cc
+++ b/
gd/l2cap/l2cap_packet_test.cc
@@
-55,5
+55,8
@@
DEFINE_AND_INSTANTIATE_StandardInformationFrameWithFcsReflectionTest(i_frame_wit
std::vector<uint8_t> rr_frame_with_fcs = {0x04, 0x00, 0x40, 0x00, 0x01, 0x01, 0xD4, 0x14};
DEFINE_AND_INSTANTIATE_StandardSupervisoryFrameWithFcsReflectionTest(rr_frame_with_fcs);
+
+std::vector<uint8_t> g_frame = {0x03, 0x00, 0x02, 0x00, 0x01, 0x02, 0x03};
+DEFINE_AND_INSTANTIATE_GroupFrameReflectionTest(g_frame);
} // namespace l2cap
} // namespace bluetooth