Z-Wave Protocol Controller Reference
zpc_converters.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
22#ifndef ZPC_CONVERTERS_H
23#define ZPC_CONVERTERS_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include "sl_status.h"
31#include <stdint.h>
32#include <stdbool.h>
33#include <stddef.h>
34#include <string.h>
35
36#define DSK_STR_LEN \
37 (sizeof("xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx") + 1)
38
51 zwave_dsk_t dst);
52
67 char *dst,
68 size_t dst_max_len);
69
70#ifdef __cplusplus
71}
72#endif
73#endif //ZWAVE_SMARTSTART_MANAGEMENT_H
uint32_t sl_status_t
Definition: sl_status.h:139
sl_status_t zpc_converters_dsk_to_str(const zwave_dsk_t src, char *dst, size_t dst_max_len)
Convert a zwave_dsk_t to a String representation.
Definition: zpc_converters.c:44
sl_status_t zpc_converters_dsk_str_to_internal(const char *src, zwave_dsk_t dst)
Convert DSK string to uint8_t array representation.
Definition: zpc_converters.c:21
uint8_t zwave_dsk_t[ZWAVE_DSK_LENGTH]
Definition: zwave_controller_types.h:41
SL Status Codes.