diff --git a/meta/meta-mediatek-aud/recipes-apps/config-app/config-app.bb b/meta/meta-mediatek-aud/recipes-apps/config-app/config-app.bb index d2781be6d..f1fd56b61 100644 --- a/meta/meta-mediatek-aud/recipes-apps/config-app/config-app.bb +++ b/meta/meta-mediatek-aud/recipes-apps/config-app/config-app.bb @@ -17,12 +17,13 @@ do_compile() { echo ${COMBO_CHIP_ID} echo ${MTK_PROJECT} #cd ${S}/nvram_helper && make ${MULTI_CPU} - sh ${S}/copy_include.sh ${TOPDIR} ${COMBO_CHIP_ID} ${MTK_PROJECT} + #sh ${S}/copy_include.sh ${TOPDIR} ${COMBO_CHIP_ID} ${MTK_PROJECT} echo ${S} - cd ${S}/AssistantCenter && make - cd ${S}/daemon_light && make ${MULTI_CPU} + #cd ${S}/AssistantCenter && make + #cd ${S}/daemon_light && make ${MULTI_CPU} + #cd ${S}/udp_server_test && make ${MULTI_CPU} echo "fffffff" - cd ${S} && make + #cd ${S} && make #cd ${S}/nvram_helper && make ${MULTI_CPU} } @@ -40,6 +41,7 @@ do_install() { install -m 755 ${S}/config_app ${D}${bindir} install -m 755 ${S}/config_app.service ${D}${systemd_unitdir}/system install -m 755 ${S}/daemon_light/daemon.bin ${D}${bindir} + #install -m 755 ${S}/udp_server_test/udp_server ${D}${bindir} } FILES_${PN} += "/etc /data/dingdong" diff --git a/src/apps/aud-base/config_app/AssistantCenter/dingdong-AssistantCenter b/src/apps/aud-base/config_app/AssistantCenter/dingdong-AssistantCenter new file mode 100755 index 000000000..2bbe7f724 Binary files /dev/null and b/src/apps/aud-base/config_app/AssistantCenter/dingdong-AssistantCenter differ diff --git a/src/apps/aud-base/config_app/config_app b/src/apps/aud-base/config_app/config_app new file mode 100755 index 000000000..32a969731 Binary files /dev/null and b/src/apps/aud-base/config_app/config_app differ diff --git a/src/apps/aud-base/config_app/daemon_light/daemon.bin b/src/apps/aud-base/config_app/daemon_light/daemon.bin new file mode 100755 index 000000000..2291b3e4e Binary files /dev/null and b/src/apps/aud-base/config_app/daemon_light/daemon.bin differ diff --git a/src/apps/aud-base/config_app/readme.txt b/src/apps/aud-base/config_app/readme.txt index 8d588b712..af6ecc042 100755 --- a/src/apps/aud-base/config_app/readme.txt +++ b/src/apps/aud-base/config_app/readme.txt @@ -29,3 +29,10 @@ getcurrentvboxstate config_app启动后的log实时保存在/tmp/config.log可实时查看 配网成功后信息会写入/data/dingdong/etc/appconfig.json 若想清除配网信息重新配网,删掉/data/dingdong/etc/appconfig*即可 + + +###OTA +需要写入key数据后重启才可验证 +adb push nvram_helper.bin /tmp/ +adb shell /tmp/nvram_helper.bin -w robosen RBS1234567890123,C8:63:14:20:00:02,C8:63:14:20:00:03,17ffe8eb-1a09-44da-81f5-78f8b6ed1054,52849cce-d932-4179-86ed-3d1ca58426fbfc589f22-8b60-42a5-b673-a4ed2f2c4d09 +