女人自慰AV免费观看内涵网,日韩国产剧情在线观看网址,神马电影网特片网,最新一级电影欧美,在线观看亚洲欧美日韩,黄色视频在线播放免费观看,ABO涨奶期羡澄,第一导航fulione,美女主播操b

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示

微雪電子ROC-RK3308主板CC-Amazon Alexa簡介

firefly ? 來源:微雪電子 ? 作者:微雪電子 ? 2019-12-23 15:32 ? 次閱讀
加入交流群
微信小助手二維碼

掃碼添加小助手

加入工程師交流群

Amazon Alexa

參考固件

固件:ROC-RK3308-CC Alexa

Amazon授權

使用 Alexa Voice Service,首先你需要注冊一個Amazon賬號,向 Amazon 注冊你的產品,并對你的 alexa client 進行授權。

第一步,按照官方指導,仔細的按照步驟,注冊你的產品,并創建安全配置文件。

第二步,得到你的 Client ID 和 Product ID

獲取 Product ID:

獲取 Client ID:

使用流程

注意:Alexa Voice Service 不支持中文。

● 上電開機,如果沒有配置網絡,先進行配網。

● 將上面獲得的Client ID 和 Product ID填入 /oem/AlexaClientSDKConfig.json的deviceInfo屬性:

"deviceInfo":{ // Unique device serial number. e.g. 123456 "deviceSerialNumber":"123456", // The Client ID of the Product from developer.amazon.com "clientId":"YOUR_CLIENT_ID", // Product ID from developer.amazon.com "productId":"YOUR_PRODUCT_ID" },

● 執行下面命令啟動 Alexa

SampleApp /oem/AlexaClientSDKConfig.json /oem/resources/

● 第一次啟動需要進行認證授權,按提示打開對應網頁,輸入驗證碼進行認證即可

################################## # NOT YET AUTHORIZED # ################################## ################################################################################################ # To authorize, browse to: 'https://amazon.com/us/code' and enter the code: AT4HLU # ################################################################################################ ################################################# # Checking for authorization (1)... # #################################################

● 認證過程中,稍等幾分鐘后,就可以與 Alexa 進行對話,可通過呼叫“alexa”喚醒,不過大部分交互體驗都要通過命令行引導。

+----------------------------------------------------------------------------+ | Options: | | Wake word: | | Simply say Alexa and begin your query. | | Tap to talk: | | Press 't' and Enter followed by your query (no need for the 'Alexa').| | Hold to talk: | | Press 'h' followed by Enter to simulate holding a button. | | Then say your query (no need for the 'Alexa'). | | Press 'h' followed by Enter to simulate releasing a button. | | Stop an interaction: | | Press 's' and Enter to stop an ongoing interaction. | | Privacy mode (microphone off): | | Press 'm' and Enter to turn on and off the microphone. | | Echo Spatial Perception (ESP): This is for testing purpose only! | | Press 'e' followed by Enter at any time to adjust ESP settings. | | Playback Controls: | | Press '1' for a 'PLAY' button press. | | Press '2' for a 'PAUSE' button press. | | Press '3' for a 'NEXT' button press. | | Press '4' for a 'PREVIOUS' button press. | | Settings: | | Press 'c' followed by Enter at any time to see the settings screen. | | Speaker Control: | | Press 'p' followed by Enter at any time to adjust speaker settings. | | Firmware Version: | | Press 'f' followed by Enter at any time to report a different | | firmware version. | | Info: | | Press 'i' followed by Enter at any time to see the help screen. | | Reset device: | | Press 'k' followed by Enter at any time to reset your device. This | | will erase any data stored in the device and you will have to | | re-register your device. | | This option will also exit the application. | | Reauthorize device: | | Press 'z' followed by Enter at any time to re-authorize your device. | | This will erase any data stored in the device and initiate | | re-authorization. | | Quit: | | Press 'q' followed by Enter at any time to quit the application. | +----------------------------------------------------------------------------+

資源

Alexa 源碼目錄:

SDK/external/alexaClientSDK/

Buildroot 的 Alexa package 目錄:

SDK/buildroot/package/rockchip/alexaClientSDK/

Alexa 沒有自啟動入口,需要進入系統后自己手動啟動Alexa,方法如上一節。如果需要自啟動,則可以參考DuerOS

編譯方法

● 編譯之前,亦可將上面獲得的Client ID 和 Product ID填入SDK/device/rockchip/rk3308/alexa/AlexaClientSDKConfig.json的deviceInfo屬性,這樣固件就默認的帶有了Client ID 和 Product ID信息。

"deviceInfo":{ // Unique device serial number. e.g. 123456 "deviceSerialNumber":"123456", // The Client ID of the Product from developer.amazon.com "clientId":"YOUR_CLIENT_ID", // Product ID from developer.amazon.com "productId":"YOUR_PRODUCT_ID" },

● 甚至可以從已經認證過的設備中,拷貝/oem/application-necessities/cblAuthDelegate.db到SDK中device/rockchip/rk3308/alexa/application-necessities/cblAuthDelegate.db,這樣Alexa就會跳過認證,直接開始對話。

● 編輯 device/rockchip/rk3308/BoardConfig.mk 文件,將 OEM_PATH=oem 修改為 OEM_PATH=alexa,保存退出

● 配置 firefly_rk3308_release

source buildroot/build/envsetup.sh

選擇[1],按回車,配置成功后如下

● Buildroot配置:BR2_PACKAGE_ALEXACLIENTSDK

make menuconfig

進入圖形選擇界面,輸入 /,跳出搜索界面如下,輸入BR2_PACKAGE_ALEXACLIENTSDK,按回車進行搜索

選擇[1],然后按空格選擇上 alexa client sdk

前面有 [ * ] 號,表示已經選上,然后< Save >保存,并< Exit >退出圖形界面,輸入配置保存命令:

make savedefconfig

保存配置,不保存的話,會在一鍵編譯腳本中被重置

● 在編譯前,如果當前倉庫不是第一次編譯,需要執行:

make gst1-plugins-good-reconfigure && make gst1-plugins-good-rebuild

● 最后全部編譯

./build.sh

聲明:本文內容及配圖由入駐作者撰寫或者入駐合作網站授權轉載。文章觀點僅代表作者本人,不代表電子發燒友網立場。文章及其配圖僅供工程師學習之用,如有內容侵權或者其他違規問題,請聯系本站處理。 舉報投訴
  • 嵌入式主板
    +關注

    關注

    7

    文章

    6097

    瀏覽量

    36222
  • Firefly
    +關注

    關注

    2

    文章

    541

    瀏覽量

    7463
  • RK3308
    +關注

    關注

    1

    文章

    40

    瀏覽量

    1537
收藏 人收藏
加入交流群
微信小助手二維碼

掃碼添加小助手

加入工程師交流群

    評論

    相關推薦
    熱點推薦

    ROC-RK3308主板CC固件編譯的知識點解析,絕對實用

    ROC-RK3308主板CC固件編譯的知識點解析,絕對實用
    發表于 03-09 07:29

    請問ROC-RK3308-CC支持Amazon Alexa語音服務嗎

    請問ROC-RK3308-CC支持Amazon Alexa語音服務嗎?
    發表于 03-09 07:13

    ROC-RK3308-CC板子Amazon授權使用流程

    1、ROC-RK3308-CC板子Amazon授權使用流程使用 Alexa Voice Service,首先你需要注冊一個Amazon賬號,向 Am
    發表于 07-21 18:15

    ROC-RK3308-CC開發板使用Alexa Voice Service步驟

    1、ROC-RK3308-CC開發板使用Alexa Voice Service步驟Amazon授權使用 Alexa Voice Service,首先你需要注冊一個
    發表于 08-15 18:09

    firefly RK3308開發板ROC-RK3308-CC四核64位AIOT主板規格

    ROC-RK3308-CC 四核64位AIOT主板
    的頭像 發表于 11-03 11:08 ?5484次閱讀
    firefly <b class='flag-5'>RK3308</b>開發板<b class='flag-5'>ROC-RK3308-CC</b>四核64位AIOT<b class='flag-5'>主板</b>規格

    fireflyROC-RK3308B-CC--啟動模式說明

    ROC-RK3308B-CC 有著非常靈活的啟動方式。一般情況下,除非硬件損壞,ROC-RK3308B-CC 主板是不會變磚的。
    的頭像 發表于 12-20 09:20 ?3402次閱讀

    fireflyROC-RK3308B主板CC教程簡介

    確認主板配件連接無誤后,通過 USB Type-C 線給 ROC-RK3308B-CC 供電。
    的頭像 發表于 12-20 09:32 ?2762次閱讀

    電子RK3308主板CC啟動模式介紹

    ROC-RK3308-CC 有著非常靈活的啟動方式。一般情況下,除非硬件損壞,ROC-RK3308-CC 主板是不會變磚的。
    的頭像 發表于 12-23 15:47 ?3017次閱讀

    電子RK3308主板CC上手介紹

    確認主板配件連接無誤后,通過 USB Type-C 線給 ROC-RK3308-CC 供電。
    的頭像 發表于 12-23 15:50 ?2696次閱讀

    Core 3308Y固件ROC RK3308B CC PLUS Buildroot MiniGUI

    電子發燒友網站提供《Core 3308Y固件ROC RK3308B CC PLUS Buildroot MiniGUI.txt》資料免費下載
    發表于 09-13 10:00 ?3次下載
    Core <b class='flag-5'>3308</b>Y固件<b class='flag-5'>ROC</b> <b class='flag-5'>RK3308</b>B <b class='flag-5'>CC</b> PLUS Buildroot MiniGUI

    Core 3308Y固件ROC RK3308B CC PLUS支持Docker固件

    電子發燒友網站提供《Core 3308Y固件ROC RK3308B CC PLUS支持Docker固件.txt》資料免費下載
    發表于 09-13 09:52 ?10次下載
    Core <b class='flag-5'>3308</b>Y固件<b class='flag-5'>ROC</b> <b class='flag-5'>RK3308</b>B <b class='flag-5'>CC</b> PLUS支持Docker固件

    Core 3308Y固件ROC RK3308B CC Buildroot NoUI固件

    電子發燒友網站提供《Core 3308Y固件ROC RK3308B CC Buildroot NoUI固件.txt》資料免費下載
    發表于 09-13 09:51 ?0次下載
    Core <b class='flag-5'>3308</b>Y固件<b class='flag-5'>ROC</b> <b class='flag-5'>RK3308</b>B <b class='flag-5'>CC</b> Buildroot NoUI固件

    ROC RK3308B CC Buildroot Qt Desktop固件

    電子發燒友網站提供《ROC RK3308B CC Buildroot Qt Desktop固件.txt》資料免費下載
    發表于 09-13 09:49 ?0次下載
    <b class='flag-5'>ROC</b> <b class='flag-5'>RK3308</b>B <b class='flag-5'>CC</b> Buildroot Qt Desktop固件

    IoT四核64位開源主板ROC RK3308B CC規格書

    電子發燒友網站提供《IoT四核64位開源主板ROC RK3308B CC規格書.pdf》資料免費下載
    發表于 09-13 09:35 ?2次下載
    IoT四核64位開源<b class='flag-5'>主板</b><b class='flag-5'>ROC</b> <b class='flag-5'>RK3308</b>B <b class='flag-5'>CC</b>規格書

    四核64位開源主板ROC RK3308B CC Plus規格書

    電子發燒友網站提供《四核64位開源主板ROC RK3308B CC Plus規格書.pdf》資料免費下載
    發表于 09-13 09:33 ?0次下載
    四核64位開源<b class='flag-5'>主板</b><b class='flag-5'>ROC</b> <b class='flag-5'>RK3308</b>B <b class='flag-5'>CC</b> Plus規格書