nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ is_lfcr()

static bool is_lfcr ( char  chr)
inlinestatic

#include <lib/at_cmd_parser/at_utils.h>

Check if character linefeed or carry return characters.

A line shift in an AT string is always identified by a '\r\n' sequence

Parameters
[in]chrCharacter that should be examined
Return values
trueIf an line shift character is detected
falseIf character is something else