Last Updated on : 2024-06-25 03:47:50download
Test commands are only used for production scenarios to help you determine the functionality and communication capability of a module.
Production tests are classified into: PCBA production test over UART, beacon production test, and production test with two dongles.
PCBA production test over UART: Tuya provides a host that makes a module ready for a production test over UART. The host runs the test cases as instructed by a production test JSON file. This type of production test applies to the PCBA stage.
Beacon production test: Tuya provides a beacon dongle that makes an unpaired device under test (DUT) ready for a production test within 500 ms following power on. In this case, the DUT receives a notification from the dongle. When the DUT gets ready for a production test, you can perform an end product test to determine the functionality of the DUT. This type of production test applies to the testing of end products.
Production test with two dongles: Tuya provides two dongles for production tests. One dongle is a beacon signal generator that makes the DUT ready for a production test. The other dongle is used for data communication with the host over UART and with the DUT through air interfaces. This type of production test applies to the testing of end products. It supports data communication when compared to a beacon production test.
During your firmware development on top of TuyaOS, the SDK verifies the firmware with a signature. An unauthorized DUT will not function as expected seven days later.
After an authorized DUT is added to a Tuya-enabled gateway, it is activated in the cloud. For an unauthorized DUT added to the gateway, its activation in the cloud will fail, and its normal use is restricted.
If you have any problems with TuyaOS development, you can post your questions in the Tuya Developer Forum.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback