Last Updated on : 2022-08-25 09:22:14download
In the scenarios of communication links that combine cellular 4G and Bluetooth, you can define a data point (DP) that specifies the Bluetooth or cellular 4G link.
Tuya provides the high-level syntax that deals with the DP route to switch between the Bluetooth and cellular 4G links.
Log in to the Tuya IoT Development Platform.
Click Create.
If you have created a product, click Product Management and select the desired product.
Find Standard Category, and choose Outdoor Travel > Travel > Smart Electric Vehicle.
Follow the prompts to select the smart mode and solution, complete the product information, and then click Create.
For more information about how to create a product, see Create Smart Electric Vehicle and Create Products.
In the step of Function Definition, click Edit in the Operation column to edit the data point.
On the page that appears, edit the standard functions. Take Lock Switch for example.
In the field of Special Configuration, choose among three options:
DP Routing - Not Set: A cellular network is preferred. If a cellular network is unavailable, Bluetooth LE is used.
DP Routing - Bluetooth Priority: Bluetooth LE is preferred. If Bluetooth LE is disconnected, a cellular network is used.
DP Routing - Force Bluetooth: Bluetooth LE is forcibly used. If Bluetooth LE is disconnected, the app panel will display an error message.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback