rymanluk commented on a change in pull request #849:
URL: https://github.com/apache/mynewt-nimble/pull/849#discussion_r462850228



##########
File path: apps/blestress/src/rx_stress.c
##########
@@ -837,14 +837,6 @@ rx_stress_10_l2cap_event(struct ble_l2cap_event *event, 
void *arg)
     MODLOG_DFLT(INFO, "Data buf %s\n", data_buf ? "OK" : "NOK");
     assert(data_buf != NULL);
 
-    /* The first 2 bytes of data is the size of appended pattern data. */

Review comment:
       indeed l2cap uses 2 octects with a size, but maybe this was used for the 
test purposes?

##########
File path: apps/blestress/src/rx_stress.c
##########
@@ -1365,7 +1357,7 @@ rx_stress_start(int test_num)
         break;
     case 10:
         console_printf("Stress L2CAP send\033[0m\n");
-        rc = ble_l2cap_create_server(1, STRESS_COC_MTU,
+        rc = ble_l2cap_create_server(0x80, STRESS_COC_MTU,

Review comment:
       this could be #define TEST_PSM




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to