mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 00:34:39 +08:00
59545d760f
This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 48 License: LGPL-2.1-or-later mesh/mesh-mgmt.h mesh/mesh-mgmt.c mesh/net-keys.c mesh/mesh-io-api.h mesh/mesh.h mesh/net-keys.h mesh/model.h mesh/util.h mesh/appkey.c mesh/cfgmod.h mesh/appkey.h mesh/prov.h mesh/prov-acceptor.c mesh/net.c mesh/dbus.h mesh/friend.h mesh/mesh-io-generic.c mesh/main.c mesh/util.c mesh/dbus.c mesh/error.h mesh/mesh-config-json.c mesh/agent.h mesh/pb-adv.c mesh/crypto.c mesh/crypto.h mesh/friend.c mesh/pb-adv.h mesh/provision.h mesh/mesh-config.h mesh/mesh-io-generic.h mesh/agent.c mesh/cfgmod-server.c mesh/mesh-io.h mesh/keyring.h mesh/net.h mesh/keyring.c mesh/mesh-defs.h mesh/mesh.c mesh/rpl.c mesh/manager.c mesh/model.c mesh/mesh-io.c mesh/node.c mesh/prov-initiator.c mesh/rpl.h mesh/node.h mesh/manager.h
89 lines
3.2 KiB
C
89 lines
3.2 KiB
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
*
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
*
|
|
*/
|
|
|
|
#define CONFIG_SRV_MODEL SET_ID(SIG_VENDOR, 0x0000)
|
|
#define CONFIG_CLI_MODEL SET_ID(SIG_VENDOR, 0x0001)
|
|
|
|
/* New List */
|
|
#define OP_APPKEY_ADD 0x00
|
|
#define OP_APPKEY_DELETE 0x8000
|
|
#define OP_APPKEY_GET 0x8001
|
|
#define OP_APPKEY_LIST 0x8002
|
|
#define OP_APPKEY_STATUS 0x8003
|
|
#define OP_APPKEY_UPDATE 0x01
|
|
#define OP_DEV_COMP_GET 0x8008
|
|
#define OP_DEV_COMP_STATUS 0x02
|
|
#define OP_CONFIG_BEACON_GET 0x8009
|
|
#define OP_CONFIG_BEACON_SET 0x800A
|
|
#define OP_CONFIG_BEACON_STATUS 0x800B
|
|
#define OP_CONFIG_DEFAULT_TTL_GET 0x800C
|
|
#define OP_CONFIG_DEFAULT_TTL_SET 0x800D
|
|
#define OP_CONFIG_DEFAULT_TTL_STATUS 0x800E
|
|
#define OP_CONFIG_FRIEND_GET 0x800F
|
|
#define OP_CONFIG_FRIEND_SET 0x8010
|
|
#define OP_CONFIG_FRIEND_STATUS 0x8011
|
|
#define OP_CONFIG_PROXY_GET 0x8012
|
|
#define OP_CONFIG_PROXY_SET 0x8013
|
|
#define OP_CONFIG_PROXY_STATUS 0x8014
|
|
#define OP_CONFIG_KEY_REFRESH_PHASE_GET 0x8015
|
|
#define OP_CONFIG_KEY_REFRESH_PHASE_SET 0x8016
|
|
#define OP_CONFIG_KEY_REFRESH_PHASE_STATUS 0x8017
|
|
#define OP_CONFIG_MODEL_PUB_GET 0x8018
|
|
#define OP_CONFIG_MODEL_PUB_SET 0x03
|
|
#define OP_CONFIG_MODEL_PUB_STATUS 0x8019
|
|
#define OP_CONFIG_MODEL_PUB_VIRT_SET 0x801A
|
|
#define OP_CONFIG_MODEL_SUB_ADD 0x801B
|
|
#define OP_CONFIG_MODEL_SUB_DELETE 0x801C
|
|
#define OP_CONFIG_MODEL_SUB_DELETE_ALL 0x801D
|
|
#define OP_CONFIG_MODEL_SUB_OVERWRITE 0x801E
|
|
#define OP_CONFIG_MODEL_SUB_STATUS 0x801F
|
|
#define OP_CONFIG_MODEL_SUB_VIRT_ADD 0x8020
|
|
#define OP_CONFIG_MODEL_SUB_VIRT_DELETE 0x8021
|
|
#define OP_CONFIG_MODEL_SUB_VIRT_OVERWRITE 0x8022
|
|
#define OP_CONFIG_NETWORK_TRANSMIT_GET 0x8023
|
|
#define OP_CONFIG_NETWORK_TRANSMIT_SET 0x8024
|
|
#define OP_CONFIG_NETWORK_TRANSMIT_STATUS 0x8025
|
|
#define OP_CONFIG_RELAY_GET 0x8026
|
|
#define OP_CONFIG_RELAY_SET 0x8027
|
|
#define OP_CONFIG_RELAY_STATUS 0x8028
|
|
#define OP_CONFIG_MODEL_SUB_GET 0x8029
|
|
#define OP_CONFIG_MODEL_SUB_LIST 0x802A
|
|
#define OP_CONFIG_VEND_MODEL_SUB_GET 0x802B
|
|
#define OP_CONFIG_VEND_MODEL_SUB_LIST 0x802C
|
|
#define OP_CONFIG_POLL_TIMEOUT_GET 0x802D
|
|
#define OP_CONFIG_POLL_TIMEOUT_STATUS 0x802E
|
|
/* Health opcodes in health-mod.h */
|
|
#define OP_CONFIG_HEARTBEAT_PUB_GET 0x8038
|
|
#define OP_CONFIG_HEARTBEAT_PUB_SET 0x8039
|
|
#define OP_CONFIG_HEARTBEAT_PUB_STATUS 0x06
|
|
#define OP_CONFIG_HEARTBEAT_SUB_GET 0x803A
|
|
#define OP_CONFIG_HEARTBEAT_SUB_SET 0x803B
|
|
#define OP_CONFIG_HEARTBEAT_SUB_STATUS 0x803C
|
|
#define OP_MODEL_APP_BIND 0x803D
|
|
#define OP_MODEL_APP_STATUS 0x803E
|
|
#define OP_MODEL_APP_UNBIND 0x803F
|
|
#define OP_NETKEY_ADD 0x8040
|
|
#define OP_NETKEY_DELETE 0x8041
|
|
#define OP_NETKEY_GET 0x8042
|
|
#define OP_NETKEY_LIST 0x8043
|
|
#define OP_NETKEY_STATUS 0x8044
|
|
#define OP_NETKEY_UPDATE 0x8045
|
|
#define OP_NODE_IDENTITY_GET 0x8046
|
|
#define OP_NODE_IDENTITY_SET 0x8047
|
|
#define OP_NODE_IDENTITY_STATUS 0x8048
|
|
#define OP_NODE_RESET 0x8049
|
|
#define OP_NODE_RESET_STATUS 0x804A
|
|
#define OP_MODEL_APP_GET 0x804B
|
|
#define OP_MODEL_APP_LIST 0x804C
|
|
#define OP_VEND_MODEL_APP_GET 0x804D
|
|
#define OP_VEND_MODEL_APP_LIST 0x804E
|
|
|
|
void cfgmod_server_init(struct mesh_node *node, uint8_t ele_idx);
|