bluez/tools/mesh/config-model.h
Tedd Ho-Jeong An 0a259dd05b tools: Add SPDX License Identifier
This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :     97
 LGPL-2.1-or-later    :     38
 GPL-2.0-only         :      2

License: GPL-2.0-or-later
   tools/l2cap-tester.c
   tools/hcisecfilter.c
   tools/ciptool.c
   tools/btsnoop.c
   tools/check-selftest.c
   tools/btpclientctl.c
   tools/hci-tester.c
   tools/hcitool.c
   tools/btiotest.c
   tools/oobtest.c
   tools/btinfo.c
   tools/hwdb.c
   tools/hciattach_bcm43xx.c
   tools/mgmt-tester.c
   tools/hex2hcd.c
   tools/hciattach_st.c
   tools/smp-tester.c
   tools/bluetooth-player.c
   tools/hciattach_tialt.c
   tools/gap-tester.c
   tools/bluemoon.c
   tools/bneptest.c
   tools/gatt-service.c
   tools/rctest.c
   tools/rfcomm-tester.c
   tools/hcieventmask.c
   tools/hciattach_ti.c
   tools/seq2bseq.c
   tools/scotest.c
   tools/bcmfw.c
   tools/hciconfig.c
   tools/btattach.c
   tools/l2ping.c
   tools/obexctl.c
   tools/l2test.c
   tools/hciattach_intel.c
   tools/hciattach.h
   tools/create-image.c
   tools/bnep-tester.c
   tools/userchan-tester.c
   tools/rfcomm.c
   tools/btmon-logger.c
   tools/hcidump.c
   tools/rtlfw.c
   tools/hciattach_qualcomm.c
   tools/btproxy.c
   tools/nokfw.c
   tools/hciattach_ath3k.c
   tools/3dsp.c
   tools/bdaddr.c
   tools/sco-tester.c
   tools/hciattach.c
   tools/amptest.c
   tools/btgatt-server.c
   tools/btgatt-client.c
   tools/cltest.c
   tools/ibeacon.c
   tools/mcaptest.c
   tools/hid2hci.c
   tools/btmgmt.c
   tools/advtest.c
   tools/eddystone.c
   tools/avtest.c
   tools/mpris-proxy.c
   tools/avinfo.c
   tools/sdptool.c
   tools/btconfig.c
   tools/update_compids.sh
   tools/parser/parser.h
   tools/parser/obex.c
   tools/parser/amp.c
   tools/parser/sdp.c
   tools/parser/tcpip.c
   tools/parser/sap.c
   tools/parser/cmtp.c
   tools/parser/avctp.c
   tools/parser/lmp.c
   tools/parser/ppp.c
   tools/parser/rfcomm.h
   tools/parser/hci.c
   tools/parser/sdp.h
   tools/parser/parser.c
   tools/parser/rfcomm.c
   tools/parser/avdtp.c
   tools/parser/avrcp.c
   tools/parser/ericsson.c
   tools/parser/hcrp.c
   tools/parser/bpa.c
   tools/parser/hidp.c
   tools/parser/bnep.c
   tools/parser/capi.c
   tools/parser/att.c
   tools/parser/l2cap.c
   tools/parser/smp.c
   tools/parser/csr.c
   tools/parser/l2cap.h
   tools/parse_companies.pl

License: LGPL-2.1-or-later
   tools/test-runner.c
   tools/btpclient.c
   tools/meshctl.c
   tools/mesh-cfgclient.c
   tools/mesh/model.h
   tools/mesh/util.h
   tools/mesh/config-model.h
   tools/mesh/cfgcli.h
   tools/mesh/mesh-db.c
   tools/mesh/mesh-db.h
   tools/mesh/keys.c
   tools/mesh/util.c
   tools/mesh/agent.h
   tools/mesh/remote.c
   tools/mesh/keys.h
   tools/mesh/agent.c
   tools/mesh/cfgcli.c
   tools/mesh/remote.h
   tools/mesh-gatt/prov.c
   tools/mesh-gatt/util.h
   tools/mesh-gatt/prov.h
   tools/mesh-gatt/net.c
   tools/mesh-gatt/util.c
   tools/mesh-gatt/prov-db.h
   tools/mesh-gatt/crypto.c
   tools/mesh-gatt/crypto.h
   tools/mesh-gatt/gatt.c
   tools/mesh-gatt/config-server.c
   tools/mesh-gatt/keys.h
   tools/mesh-gatt/onoff-model.c
   tools/mesh-gatt/net.h
   tools/mesh-gatt/gatt.h
   tools/mesh-gatt/node.c
   tools/mesh-gatt/config-client.c
   tools/mesh-gatt/mesh-net.h
   tools/mesh-gatt/node.h
   tools/mesh-gatt/onoff-model.h
   tools/mesh-gatt/prov-db.c

License: GPL-2.0-only
   tools/obex-server-tool.c
   tools/obex-client-tool.c
2020-09-29 14:37:23 -07:00

90 lines
3.1 KiB
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2017, 2019 Intel Corporation. All rights reserved.
*
*
*/
#define CONFIG_SERVER_MODEL_ID 0x0000
#define CONFIG_CLIENT_MODEL_ID 0x0001
#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_LIST 0x802D
#define OP_CONFIG_POLL_TIMEOUT_STATUS 0x802E
#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
bool config_server_init(void);
bool config_client_init(void);
void config_client_get_composition(uint32_t dst);