Demo HCI Implementation for WiMOD-LR Devices  V2.0.3
StrToIntConverter.h File Reference
#include <stdint.h>
Include dependency graph for StrToIntConverter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void StrToIntConverter_convertHexStrToArray (char *inputString, uint8_t *targetArray, uint8_t numberOfEntries)
 Convert a String containing hex numbers into an C array. More...
 

Function Documentation

◆ StrToIntConverter_convertHexStrToArray()

void StrToIntConverter_convertHexStrToArray ( char *  inputString,
uint8_t *  targetArray,
uint8_t  numberOfEntries 
)

Convert a String containing hex numbers into an C array.

Parameters
inputStringThe C String that contains the numbers e.g. "12 0x34 AB"
targetArrayThe array where to store the converted numbers
numberOfEntriesThe number of numbers contained in the string (e.g. 3)