Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    X829蓝牙串口同步错误

    Wireless & Analog Series
    1
    1
    1066
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yzman LV 2 last edited by

      bluez5按照tina内容添加hciattach_xradio.c文件,编译成功可以运行,然后执行下面命令
      #hciattach -n ttyS1 xradio
      xradio_init
      [ 570.102733] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
      [ 570.109296] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
      [ 570.137275] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
      [ 570.153636] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
      [ 570.181226] [XR_BT_LPM] bluedroid_write_proc_btwake: bluedroid_write_proc_btwake 1
      [ 570.189767] [XR_BT_LPM] bluedroid_write_proc_btwake: wakeup bt device
      [ 570.197519] [XR_BT_LPM] bluedroid_write_proc_lpm: disable lpm mode
      set LPM mode:disabled[userial_sync] uart sync count: 1.
      [userial_sync] read buf: 00 00.
      [userial_sync] uart sync count: 2.
      [userial_sync] read buf: 4f 4b.
      [userial_sync] Receive OK, uart sync done.
      resp error flag, type 3
      Device setup complete

      提示串口同步OK,用逻辑分析仪捕捉829发送的数据,Brom 03 00 00 00 。。01 03

      这会是什么问题呢?驱动的话WIFI是可以正常使用的。。。不像是驱动问题

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策