File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/simple_cmux_client/main Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ extern "C" void app_main(void)
87
87
}
88
88
#endif
89
89
90
- if (dce->set_mode (esp_modem::modem_mode::CMUX_MODE) && dce-> set_mode (esp_modem::modem_mode::DATA_MODE) ) {
90
+ if (dce->set_mode (esp_modem::modem_mode::CMUX_MODE)) {
91
91
std::cout << " Modem has correctly entered multiplexed command/data mode" << std::endl;
92
92
} else {
93
- ESP_LOGE (TAG, " Failed to configure desired mode... exiting" );
93
+ ESP_LOGE (TAG, " Failed to configure multiplexed command mode... exiting" );
94
94
return ;
95
95
}
96
96
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class CMux {
94
94
void send_disc (size_t i); /* !< Sending closing request for each virtual terminal */
95
95
void close_down (); /* !< Close up the control terminla (term=0) */
96
96
bool exit_cmux_protocol (); /* !< Sequence of exit of all virtual terms and control term */
97
- bool on_cmux (uint8_t *data, size_t len); /* !< Called from terminal layer when raw CMUX protocol data available */
97
+ bool on_cmux_data (uint8_t *data, size_t len); /* !< Called from terminal layer when raw CMUX protocol data available */
98
98
99
99
struct CMuxFrame ; /* !< Forward declare the Frame struct, used in protocol decoders */
100
100
/* *
You can’t perform that action at this time.
0 commit comments