Skip to content

Commit 020b407

Browse files
committed
fix(modem): Fixed API docs within doxygen comments
1 parent 0254d50 commit 020b407

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

components/esp_modem/include/cxx_include/esp_modem_types.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class CommandableIf {
7676
* @param command Command to be sent
7777
* @param got_line callback if a line received
7878
* @param time_ms timeout in milliseconds
79+
* @param separator Character treated as a line separator, typically '\n'
7980
* @return OK, FAIL or TIMEOUT
8081
*/
8182
virtual command_result command(const std::string &command, got_line_cb got_line, uint32_t time_ms, const char separator) = 0;

components/esp_modem/include/generate/esp_modem_command_declare.inc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ ESP_MODEM_DECLARE_DCE_COMMAND(sync, command_result, 0) \
2525
\
2626
/**
2727
* @brief Reads the operator name
28-
* @param[out] operator name
29-
* @param[out] access technology
28+
* @param[out] name operator name
29+
* @param[out] act access technology
3030
* @return OK, FAIL or TIMEOUT
3131
*/ \
3232
ESP_MODEM_DECLARE_DCE_COMMAND(get_operator_name, command_result, 2, STRING_OUT(p1, name), INT_OUT(p2, act)) \
@@ -46,7 +46,7 @@ ESP_MODEM_DECLARE_DCE_COMMAND(set_pin, command_result, 1, STRING_IN(p1, pin)) \
4646
\
4747
/**
4848
* @brief Execute the supplied AT command
49-
* @param[in] at AT command
49+
* @param[in] cmd AT command
5050
* @param[out] out Command output string
5151
* @param[in] timeout AT command timeout in milliseconds
5252
* @return OK, FAIL or TIMEOUT
@@ -252,6 +252,8 @@ ESP_MODEM_DECLARE_DCE_COMMAND(set_preferred_mode, command_result, 1, INT_IN(p1,
252252
/**
253253
* @brief Set network bands for CAT-M or NB-IoT
254254
* @param[in] mode CAT-M or NB-IoT
255+
* @param[in] bands bitmap in hex representing bands
256+
* @param[in] size size of teh bands bitmap
255257
* @return OK, FAIL or TIMEOUT
256258
*/ \
257259
ESP_MODEM_DECLARE_DCE_COMMAND(set_network_bands, command_result, 3, STRING_IN(p1, mode), INTEGER_LIST_IN(p2, bands), INT_IN(p3, size)) \

docs/esp_modem/en/README.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,19 @@ supports SIM800, BG96, SIM7600.
6767
Use cases
6868
---------
6969

70-
Users interact with the esp-modem using the DCE’s interface, to
71-
basically
70+
Users interact with the esp-modem using the DCE's interface, to basically
7271

7372
- Switch between command and data mode to connect to the internet via cellular network.
74-
- Send various commands to the device (e.g. send SMS)
73+
- Send various commands to the device (e.g. send SMS)
7574

7675
The applications typically register handlers for network events to
7776
receive notification on the network availability and IP address changes.
7877

7978
Common use cases of the esp-modem are also listed as the examples:
8079

81-
- ``examples/pppos_client`` – simple client which reads some module properties and switches to the data mode to connect to a public mqtt broker.
82-
- ``examples/modem_console`` – is an example to exercise all possible module commands in a console application.
83-
- ``examples/ap_to_pppos`` – this example focuses on the network
84-
connectivity of the esp-modem and provides a WiFi AP that forwards
85-
packets (and uses NAT) to and from the PPPoS connection.
80+
- ``examples/pppos_client`` simple client which reads some module properties and switches to the data mode to connect to a public mqtt broker.
81+
- ``examples/modem_console`` is an example to exercise all possible module commands in a console application.
82+
- ``examples/ap_to_pppos`` this example focuses on the network connectivity of the esp-modem and provides a WiFi AP that forwards packets (and uses NAT) to and from the PPPoS connection.
8683

8784
Extensibility
8885
-------------
@@ -95,8 +92,8 @@ allows users to also issue commands in the data mode, after creating
9592
multiple virtual terminals, designating some of them solely to data
9693
mode, others solely to command mode.
9794

98-
DTE’s
99-
~~~~~
95+
DTE
96+
~~~
10097

10198
Currently, we support only UART (and USB as a preview feature), but
10299
modern modules support other communication interfaces, such as USB, SPI.

0 commit comments

Comments
 (0)