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

◆ is_terminated()

static bool is_terminated ( char chr)
inlinestatic

#include <lib/at_cmd_parser/at_utils.h>

Check if the character identifies the end of the buffer.

All strings returned from the AT Host is null terminated, this function will check if we have hit the termination character.

Parameters
[in]chrCharacter that should be examined
Return values
trueIf character is 0
falseIf character is not 0