nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
string_conversion.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

uint8_t string_conversion_ascii_to_gsm7bit (const uint8_t *data, uint8_t data_len, uint8_t *out_data, uint8_t *out_bytes, uint8_t *out_chars, bool packing)
 Convert ASCII characters into GSM 7 bit Default Alphabet character set.
 
uint8_t string_conversion_gsm7bit_to_ascii (const uint8_t *data, uint8_t *out_data, uint8_t num_char, bool packed)
 Convert GSM 7 bit Default Alphabet characters to ASCII characters.
 
uint8_t string_conversion_7bit_sms_packing (uint8_t *data, uint8_t data_len)
 Performs SMS packing for a string using GSM 7 bit character set. The result is stored in the same memory buffer that contains the input string to be packed.
 
uint8_t string_conversion_7bit_sms_unpacking (const uint8_t *packed, uint8_t *unpacked, uint8_t num_char)
 Performs unpacking of a packed GSM 7 bit string as described below.