Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master 004423135 -> f6605c2ab


nimble/l2cap: Add PTS instructions for LE CoC and run all the testcases

This patch adds instructions for LE CoC and fixes adv data settings
for previous test cases.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b907e7d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b907e7d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b907e7d3

Branch: refs/heads/master
Commit: b907e7d3ea98965dae6d3b8d1bf858bce48c96aa
Parents: 5a6fd54
Author: Łukasz Rymanowski <[email protected]>
Authored: Tue Mar 21 14:19:02 2017 +0100
Committer: Łukasz Rymanowski <[email protected]>
Committed: Thu Apr 6 10:04:03 2017 +0200

----------------------------------------------------------------------
 net/nimble/host/pts/pts-l2cap.txt | 75 +++++++++++++++++++++++++---------
 1 file changed, 55 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b907e7d3/net/nimble/host/pts/pts-l2cap.txt
----------------------------------------------------------------------
diff --git a/net/nimble/host/pts/pts-l2cap.txt 
b/net/nimble/host/pts/pts-l2cap.txt
index c94e9ba..9002183 100644
--- a/net/nimble/host/pts/pts-l2cap.txt
+++ b/net/nimble/host/pts/pts-l2cap.txt
@@ -1,7 +1,7 @@
 PTS test results for L2CAP
 
 PTS version: 7.0
-Tested: 10-Jan-2017
+Tested: 21-Mar-2017
 
 Results:
 PASS   test passed
@@ -181,40 +181,75 @@ L2CAP/ECF/BV-07-C         N/A
 L2CAP/ECF/BV-08-C              N/A
 -------------------------------------------------------------------------------
 
-L2CAP/LE/CPU/BV-01-C   PASS    b set adv_data flags=0
+L2CAP/LE/CPU/BV-01-C   PASS    b set adv_data flags=6
                                b adv
                                b l2cap update conn=<handle>
 L2CAP/LE/CPU/BV-02-C   PASS    b conn peer_addr=<addr>
                                b term conn=<handle>
 L2CAP/LE/CPU/BI-01-C   PASS    b conn peer_addr=<addr>
                                b term conn=<handle>
-L2CAP/LE/CPU/BI-02-C   PASS    b set adv_data flags=0
+L2CAP/LE/CPU/BI-02-C   PASS    b set adv_data flags=6
                                b adv
 -------------------------------------------------------------------------------
 
-L2CAP/LE/REJ/BI-01-C   PASS    b set adv_data flags=0
+L2CAP/LE/REJ/BI-01-C   PASS    b set adv_data flags=6
                                b adv
-L2CAP/LE/REJ/BI-02-C   PASS    b set adv_data flags=0
+L2CAP/LE/REJ/BI-02-C   PASS    b set adv_data flags=6
                                b adv
                                b term conn=<handle>
 -------------------------------------------------------------------------------
 
-L2CAP/LE/CFC/BV-01-C   N/A
-L2CAP/LE/CFC/BV-02-C   N/A
-L2CAP/LE/CFC/BV-03-C   N/A
-L2CAP/LE/CFC/BV-04-C   N/A
-L2CAP/LE/CFC/BV-05-C   N/A
-L2CAP/LE/CFC/BV-06-C   N/A
-L2CAP/LE/CFC/BV-07-C   N/A
-L2CAP/LE/CFC/BI-01-C   N/A
-L2CAP/LE/CFC/BV-08-C   N/A
-L2CAP/LE/CFC/BV-09-C   N/A
-L2CAP/LE/CFC/BV-16-C   N/A
+L2CAP/LE/CFC/BV-01-C   PASS    b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=90
+L2CAP/LE/CFC/BV-02-C   PASS    b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=90
+L2CAP/LE/CFC/BV-03-C   PASS    b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+                               b l2cap send conn=<handle> idx=0 bytes=15
+L2CAP/LE/CFC/BV-04-C   PASS    b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=<not 
suppported psm from ixit>
+L2CAP/LE/CFC/BV-05-C   PASS    b set adv_data flags=6
+                               b adv
+L2CAP/LE/CFC/BV-06-C   PASS    b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+                               b l2cap send conn=<handle> idx=0 bytes=15
+L2CAP/LE/CFC/BV-07-C   PASS    b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+L2CAP/LE/CFC/BI-01-C   PASS    b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+L2CAP/LE/CFC/BV-08-C   PASS    b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+                               b l2cap disconnect conn=<handle> idx=0
+L2CAP/LE/CFC/BV-09-C   PASS    b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+L2CAP/LE/CFC/BV-16-C   PASS    b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=90
 L2CAP/LE/CFC/BV-17-C   N/A
-L2CAP/LE/CFC/BV-18-C   N/A
-L2CAP/LE/CFC/BV-19-C   N/A
-L2CAP/LE/CFC/BV-20-C   N/A
-L2CAP/LE/CFC/BV-21-C   N/A
+L2CAP/LE/CFC/BV-18-C   PASS    b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=90
+L2CAP/LE/CFC/BV-19-C   PASS    NOTE: TSPC_L2CAP_3_16 (multiple channel 
support) must be checked
+                               b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=90
+L2CAP/LE/CFC/BV-20-C   PASS    NOTE: TSPC_L2CAP_3_16 (multiple channel 
support) must be checked
+                               b set adv_data flags=6
+                               b l2cap create_srv psm=<your psm>
+                               b adv
+                               b term conn=<handle>
+L2CAP/LE/CFC/BV-21-C   PASS    b set adv_data flags=6
+                               b adv
+                               b l2cap connect conn=<handle> psm=90
 -------------------------------------------------------------------------------
 
 L2CAP/LE/CID/BV-01-C   N/A

Reply via email to