diff --git a/test/pts/le_data_channel.c b/test/pts/le_data_channel.c index aff9d68ab..b53e38e34 100644 --- a/test/pts/le_data_channel.c +++ b/test/pts/le_data_channel.c @@ -90,7 +90,8 @@ const char * data_classic = "ABCDEF"; static int todo_send_short; static int todo_send_long; -static uint8_t buffer_x[1000]; +// note: must be smaller than TSPX_tester_mtu for l2cap/le/cfc/bv-02-c to succeed +static uint8_t buffer_x[500]; static uint16_t cid_le; static uint16_t cid_classic; @@ -321,7 +322,7 @@ static void stdin_process(char buffer){ sizeof(buffer_x), L2CAP_LE_AUTOMATIC_CREDITS, LEVEL_0, &cid_le); break; - case 'A': + case 'B': printf("Creating connection to %s 0x%02x - LE\n", bd_addr_to_str(pts_address), TSPX_psm_unsupported); l2cap_le_create_channel(&app_packet_handler, handle_le, TSPX_psm_unsupported, buffer_x, sizeof(buffer_x), L2CAP_LE_AUTOMATIC_CREDITS, LEVEL_0, &cid_le); @@ -418,4 +419,4 @@ int btstack_main(int argc, const char * argv[]){ return 0; } -/* EXAMPLE_END */ \ No newline at end of file +/* EXAMPLE_END */