File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 21
21
#include " unity/unity.h"
22
22
#include " utest.h"
23
23
#include " tcp_tests.h"
24
+ #include " CellularDevice.h"
24
25
25
26
using namespace utest ::v1;
26
27
@@ -119,6 +120,15 @@ void rcv_n_chk_against_rfc864_pattern(TCPSocket &sock)
119
120
void TCPSOCKET_RECV_100K ()
120
121
{
121
122
SKIP_IF_TCP_UNSUPPORTED ();
123
+
124
+ #ifdef MBED_CONF_APP_BAUD_RATE
125
+ int baudrate;
126
+ CellularDevice::get_default_instance ()->set_baud_rate (MBED_CONF_APP_BAUD_RATE);
127
+ if (CellularDevice::get_default_instance ()->get_baud_rate (baudrate) == NSAPI_ERROR_OK) {
128
+ printf (" \n Baud rate changed to: %d\n " , baudrate);
129
+ }
130
+ #endif
131
+
122
132
TCPSocket sock;
123
133
if (_tcpsocket_connect_to_chargen_srv (sock) != NSAPI_ERROR_OK) {
124
134
TEST_FAIL ();
You can’t perform that action at this time.
0 commit comments