hardware-test/profiles/ESP32-S3-Airhub.json

77 lines
1.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"product_name": "ESP32-S3-Airhub",
"mac_pattern": "Wi-Fi MAC Address:\\s+([0-9a-fA-F:]+)",
"sn": {
"prefix": "SN",
"next_number": 1,
"digits": 6,
"step": 1
},
"tests": [
{
"id": "test_mode",
"name": "进入测试模式",
"type": "auto",
"pattern": "生产测试模式已启用"
},
{
"id": "story_btn",
"name": "故事按键",
"type": "auto",
"pattern": "故事按键.*?被按下"
},
{
"id": "boot_btn",
"name": "BOOT/打断按键",
"type": "auto",
"pattern": "BOOT按键.*?被按下"
},
{
"id": "audio_done",
"name": "音频播放完成(自动)",
"type": "auto",
"pattern": "音频播放完成"
},
{
"id": "speaker",
"name": "喇叭音质",
"type": "manual",
"hint": "听播报是否清晰、无杂音"
},
{
"id": "mic_wakeup",
"name": "麦克风唤醒",
"type": "manual",
"hint": "喊唤醒词,板载 LED 应闪烁"
},
{
"id": "touch",
"name": "触摸",
"type": "manual",
"hint": "摸触摸板,听喇叭播报「触摸被按下」"
},
{
"id": "battery",
"name": "电量",
"type": "manual_text",
"hint": "听喇叭播报「电量xx%」,填写听到的百分比"
},
{
"id": "gyro",
"name": "陀螺仪",
"type": "manual",
"hint": "晃动设备,听喇叭播报「陀螺仪正常」"
},
{
"id": "charge",
"name": "充电灯",
"type": "manual_choice",
"choices": [
"红-充电中",
"绿-已充满",
"无-异常"
]
}
]
}