nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
utils.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef SUPL_UTILS_H_
8
#define SUPL_UTILS_H_
9
22
int
hexstr2hex
(
const
char
*in,
23
size_t
in_len,
24
unsigned
char
*out,
25
size_t
out_len);
26
40
int
get_line_len
(
const
char
*buf,
size_t
buf_len);
41
42
#endif
/* SUPL_UTILS_H_ */
get_line_len
int get_line_len(const char *buf, size_t buf_len)
Get length of a string (or a line). String shall be '\0' terminated. Newline characters are not inclu...
hexstr2hex
int hexstr2hex(const char *in, size_t in_len, unsigned char *out, size_t out_len)
Convert hex string into hex Example: in = {'D', 'E', 'A', 'D'} -> out = {0xDE, 0xAD}...
lib
supl
include
utils.h
Generated on
for nRF Connect SDK API by
1.17.0