From 1df7f340bec9bdd0986218ddc58acf6ffa61fd86 Mon Sep 17 00:00:00 2001 From: Laukik Hase Date: Fri, 26 Nov 2021 10:44:48 +0530 Subject: [PATCH] docs: Fix spell and grammatical errors - PCNT - ESP-TLS - ESP WebSocket Client --- docs/en/api-reference/peripherals/pcnt.rst | 2 +- docs/en/api-reference/protocols/esp_tls.rst | 2 +- docs/en/api-reference/protocols/esp_websocket_client.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/api-reference/peripherals/pcnt.rst b/docs/en/api-reference/peripherals/pcnt.rst index 6cb0e81e2e..360887a3fc 100644 --- a/docs/en/api-reference/peripherals/pcnt.rst +++ b/docs/en/api-reference/peripherals/pcnt.rst @@ -55,7 +55,7 @@ If desired, the pulse input pin and the control input pin may be changed "on the .. note:: - For the counter not to miss any pulses, the pulse duration should be longer than one APB_CLK cycle (12.5 ns). The pulses are sampled on the edges of the APB_CLK clock and may be missed, if fall between the edges. This applies to counter operation with or without a :ref:`filer `. + For the counter not to miss any pulses, the pulse duration should be longer than one APB_CLK cycle (12.5 ns). The pulses are sampled on the edges of the APB_CLK clock and may be missed, if fall between the edges. This applies to counter operation with or without a :ref:`filter `. .. _pcnt-api-filtering-pulses: diff --git a/docs/en/api-reference/protocols/esp_tls.rst b/docs/en/api-reference/protocols/esp_tls.rst index 51408460b3..cfd1ba6236 100644 --- a/docs/en/api-reference/protocols/esp_tls.rst +++ b/docs/en/api-reference/protocols/esp_tls.rst @@ -60,7 +60,7 @@ used, wolfssl SSL/TLS library is available publicly at https://github.com/espres also provides few examples which are useful for understanding the API. Please refer the repository README.md for information on licensing and other options. Please see below option for using wolfssl in your project. -.. note:: `As the library options are internal to ESP-TLS, switching the libries will not change ESP-TLS specific code for a project.` +.. note:: `As the library options are internal to ESP-TLS, switching the libraries will not change ESP-TLS specific code for a project.` How to use wolfssl with ESP-IDF ------------------------------- diff --git a/docs/en/api-reference/protocols/esp_websocket_client.rst b/docs/en/api-reference/protocols/esp_websocket_client.rst index f54a9ab023..664b8f0b04 100644 --- a/docs/en/api-reference/protocols/esp_websocket_client.rst +++ b/docs/en/api-reference/protocols/esp_websocket_client.rst @@ -63,7 +63,7 @@ Configuration: .cert_pem = (const char *)websocket_org_pem_start, }; -.. note:: If you want to verify the server, then you need to provide a certificate in PEM format, and provide to ``cert_pem`` in :cpp:type:`websocket_client_config_t`. If no certficate is provided then the TLS connection will to default not requiring verification. +.. note:: If you want to verify the server, then you need to provide a certificate in PEM format, and provide to ``cert_pem`` in :cpp:type:`websocket_client_config_t`. If no certficate is provided then the TLS connection will default to not requiring verification. PEM certificate for this example could be extracted from an openssl `s_client` command connecting to websocket.org. In case a host operating system has `openssl` and `sed` packages installed, one could execute the following command to download and save the root or intermediate root certificate to a file (Note for Windows users: Both Linux like environment or Windows native packages may be used).