From 4473e68e6f7c5240e79fdba3422590fd6f79eeb4 Mon Sep 17 00:00:00 2001 From: Tomi Fontanilles Date: Wed, 23 Aug 2023 10:22:04 +0300 Subject: [PATCH] applications: serial_lte_modem: Fix #XHTTPCRSP's documentation The advertised syntax was incorrect and contradictory to examples appearing on the same page. It now reflects the actual syntax used by the SLM. Signed-off-by: Tomi Fontanilles --- .../doc/HTTPC_AT_commands.rst | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/applications/serial_lte_modem/doc/HTTPC_AT_commands.rst b/applications/serial_lte_modem/doc/HTTPC_AT_commands.rst index dd0aa4a3db4..b17f241b844 100644 --- a/applications/serial_lte_modem/doc/HTTPC_AT_commands.rst +++ b/applications/serial_lte_modem/doc/HTTPC_AT_commands.rst @@ -45,9 +45,9 @@ Response syntax :: - #XHTTPCCON= + #XHTTPCCON: -* The ```` value can return one of the following: +* ```` is one of the following: * ``0`` - Disconnected * ``1`` - Connected @@ -78,7 +78,7 @@ Response syntax :: - XHTTPCCON: ,,[,]] + XHTTPCCON: ,,[,] Example ~~~~~~~ @@ -151,9 +151,9 @@ Response syntax :: - #XHTTPCREQ: + #XHTTPCREQ: -The ```` value can return one of the following: +```` is one of the following: * ``0`` - Request sent successfully * ``1`` - Wait for payload data @@ -245,13 +245,12 @@ Syntax :: - #XHTTPCRSP=, + #XHTTPCRSP:, -* The ```` is an integer. +* ```` is the raw data of the HTTP response, including headers and body. +* ```` is an integer. It represents the length of a partially received HTTP response. -* The ```` value can return one of the following: +* ```` is one of the following: * ``0`` - There is more HTTP response data to come. * ``1`` - The entire HTTP response has been received. - -* The ```` is the raw data of the HTTP response, including headers and body.