Skip to content

Commit d5c17de

Browse files
eivindj-nordicanangl
authored andcommitted
nrf_modem: doc: add note about leading whitespace characters
Add note about leading whitespace characters to the custom AT command documentation. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent 8ca0994 commit d5c17de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nrf_modem/doc/at_interface.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ The following snippet shows how to set up and use a custom AT command:
309309
The filter uses the callback of the first match found in the filter list.
310310
Hence, make sure to keep the filters accurately or order them accordingly.
311311

312+
.. note::
313+
The custom AT command filter is compared against the start of the AT command string sent to the Modem library.
314+
Therefore, you must make sure to remove any leading whitespace characters in the AT command string before calling the :c:func:`nrf_modem_at_cmd` function.
315+
312316
Receiving AT notifications
313317
**************************
314318

0 commit comments

Comments
 (0)