provisioning.h (f4854a5efbe174cdf16fcaf3de7491781eef80ab) provisioning.h (30a044b0956c3be1f387e2fa8623a84a01cef70d)
1/*
2 * Copyright (C) 2017 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 71 unchanged lines hidden (view full) ---

80
81// Provisioning Input OOB Actions
82#define MESH_INPUT_OOB_PUSH 0x01
83#define MESH_INPUT_OOB_TWIST 0x02
84#define MESH_INPUT_OOB_NUMBER 0x04
85#define MESH_INPUT_OOB_STRING 0x08
86
87typedef enum {
1/*
2 * Copyright (C) 2017 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 71 unchanged lines hidden (view full) ---

80
81// Provisioning Input OOB Actions
82#define MESH_INPUT_OOB_PUSH 0x01
83#define MESH_INPUT_OOB_TWIST 0x02
84#define MESH_INPUT_OOB_NUMBER 0x04
85#define MESH_INPUT_OOB_STRING 0x08
86
87typedef enum {
88 PB_TYPE_ADV = 0,
89 PB_TYPE_GATT
90} pb_type_t;
88 MESH_PB_TYPE_ADV = 0,
89 MESH_PB_TYPE_GATT
90} mesh_pb_type_t;
91
92typedef enum {
93 MESH_OOB_INFORMATION_INDEX_OTHER = 0,
94 MESH_OOB_INFORMATION_INDEX_ELECTRONIC_OR_URI,
95 MESH_OOB_INFORMATION_INDEX_2D_MACHINE_READABLE_CODE,
96 MESH_OOB_INFORMATION_INDEX_BAR_CODE,
97 MESH_OOB_INFORMATION_INDEX_NEAR_FIELD_COMMUNICATION,
98 MESH_OOB_INFORMATION_INDEX_NUMBER,

--- 54 unchanged lines hidden ---
91
92typedef enum {
93 MESH_OOB_INFORMATION_INDEX_OTHER = 0,
94 MESH_OOB_INFORMATION_INDEX_ELECTRONIC_OR_URI,
95 MESH_OOB_INFORMATION_INDEX_2D_MACHINE_READABLE_CODE,
96 MESH_OOB_INFORMATION_INDEX_BAR_CODE,
97 MESH_OOB_INFORMATION_INDEX_NEAR_FIELD_COMMUNICATION,
98 MESH_OOB_INFORMATION_INDEX_NUMBER,

--- 54 unchanged lines hidden ---