导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    X829蓝牙串口同步错误

    Wireless & Analog Series
    1
    1
    1064
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Y
      yzman LV 2 最后由 编辑

      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 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

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

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