forked from tuya/TuyaOpen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtuya_config.h
More file actions
executable file
·43 lines (38 loc) · 1.42 KB
/
tuya_config.h
File metadata and controls
executable file
·43 lines (38 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* @file tuya_config.h
* @brief IoT specific configuration file
*
* @copyright Copyright (c) 2021-2024 Tuya Inc. All Rights Reserved.
*/
#ifndef TUYA_CONFIG_H_
#define TUYA_CONFIG_H_
/**
* @brief configure the product information
*
* TUYA_PRODUCT_ID: PID, create on the Tuya IoT platform
* TUYA_DEVICE_UUID: UUID, create on the Tuya IoT platform
* TUYA_DEVICE_AUTHKEY: AUTHKEY, create on the Tuya IoT platform
*
* detail please refer to:
* 1. Create the product and get the pid:
* https://developer.tuya.com/cn/docs/iot-device-dev/application-creation?id=Kbxw7ket3aujc
* 2. Get the open-sdk license code or module: https://platform.tuya.com/purchase/index?type=6
*
* warning: please replace these production information with your product id
* and license, otherwise the demo cannot work.
*
*/
// clang-format off
#define TUYA_PRODUCT_ID "urj3rcaetqy6l6zd" // Please change your product id
#define TUYA_OPENSDK_UUID "uuidxxxxxxxxxxxxxxxx" // Please change the correct uuid
#define TUYA_OPENSDK_AUTHKEY "keyxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" // Please change the correct authkey
/**
* @brief PINCODE for AP provisioning
*
* TUYA_NETCFG_PINCODE: a random PINCODE for AP provisioning, PINCODE was generated BY TUYA PMS system!!!
*
* WARNING: PINCODE is mandatory for AP provisioning
*/
// #define TUYA_NETCFG_PINCODE "69832860"
// clang-format on
#endif