Navigation

    全志在线开发者论坛

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

    xr829资料

    A Series
    5
    15
    5428
    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.
    • T
      tomwang LV 5 last edited by

      R329共板上带的wifi/bt芯片模组是xr829,请问能否提供xr829的datasheet,比如如何进入混杂模式?

      1 Reply Last reply Reply Quote Share 0
      • xiaowenge
        DOT小文哥 LV 8 last edited by

        详情请见在线服务平台这份文档:
        ec2ea07f-9068-43dd-84bc-71531d7fdcb8-image.png

        在线服务平台

        T 1 Reply Last reply Reply Quote Share 0
        • T
          tomwang LV 5 @xiaowenge last edited by

          @xiaowenge 看了一下文档,没有介绍怎么进混杂模式,只介绍了station模式和ap模式
          06244957-647d-4d55-9320-81de190de454-图片.png

          xiaowenge 1 Reply Last reply Reply Quote Share 0
          • xiaowenge
            DOT小文哥 LV 8 @tomwang last edited by

            @tomwang 那可能没有开放混杂模式

            T 1 Reply Last reply Reply Quote Share 0
            • T
              tomwang LV 5 @xiaowenge last edited by

              @xiaowenge
              e1de7971-9c9a-4e79-aec9-a255bf7cf1b1-图片.png
              如上图,说是有混杂模式,但是没介绍命令,这个能不能帮忙找找?

              xiaowenge 1 Reply Last reply Reply Quote Share 0
              • xiaowenge
                DOT小文哥 LV 8 @tomwang last edited by

                @tomwang 好的,我问问,这种情况一般是功能有,但是性能没达标,所以没正式对外释放这个功能

                1 Reply Last reply Reply Quote Share 0
                • pcmxz
                  左手右手一个慢动作 LV 3 last edited by

                  试下

                  ifconfig wlan0 promisc #使能混杂模式
                  ifconfig wlan0 -promisc #取消混杂模式
                  
                  T 1 Reply Last reply Reply Quote Share 0
                  • T
                    tomwang LV 5 @pcmxz last edited by

                    @pcmxz 在 xr829资料 中说:

                    ifconfig wlan0 promisc #使能混杂模式

                    我用这个命令在R329公板上开启混杂模式,然后手机端用AirKissDebug apk发送无线ap的用户名和密码,怎么R329公板无法连接我发送的wifi ap?
                    这个板子没有屏幕,如果做成智能语音产品的话要连接wifi,咱这边有什么方案吗?

                    whycan xiaowenge pcmxz 3 Replies Last reply Reply Quote Share 0
                    • whycan
                      whycan晕哥 LV 9 @tomwang last edited by

                      @tomwang 在 xr829资料 中说:

                      @pcmxz 在 xr829资料 中说:

                      ifconfig wlan0 promisc #使能混杂模式

                      我用这个命令在R329公板上开启混杂模式,然后手机端用AirKissDebug apk发送无线ap的用户名和密码,怎么R329公板无法连接我发送的wifi ap?
                      这个板子没有屏幕,如果做成智能语音产品的话要连接wifi,咱这边有什么方案吗?

                      可以声波通讯发送密码.

                      T 1 Reply Last reply Reply Quote Share 0
                      • xiaowenge
                        DOT小文哥 LV 8 @tomwang last edited by

                        @tomwang 板子收到airkiss发过来的ssid和password了吗?

                        T 1 Reply Last reply Reply Quote Share 0
                        • T
                          tomwang LV 5 @whycan last edited by

                          @whycan 声波通讯要怎么做?有示例在公板上试一下吗?

                          whycan 1 Reply Last reply Reply Quote Share 0
                          • T
                            tomwang LV 5 @xiaowenge last edited by

                            @xiaowenge 板子的kernel log没有log显示是否收到,只有开启混杂模式的时候显示:
                            <6>[ 1444.303661] device wlan0 entered promiscuous mode

                            1 Reply Last reply Reply Quote Share 0
                            • whycan
                              whycan晕哥 LV 9 @tomwang last edited by

                              @tomwang 在 xr829资料 中说:

                              @whycan 声波通讯要怎么做?有示例在公板上试一下吗?

                              要配合算法才行,目前不知道有没有开源参考。360摄像头app可以参考,他就是声波通讯配网。另外可以用蓝牙ble配网。

                              tigger 1 Reply Last reply Reply Quote Share 0
                              • tigger
                                tigger LV 7 @whycan last edited by

                                @whycan 在 xr829资料 中说:

                                @tomwang 在 xr829资料 中说:

                                @whycan 声波通讯要怎么做?有示例在公板上试一下吗?

                                要配合算法才行,目前不知道有没有开源参考。360摄像头app可以参考,他就是声波通讯配网。另外可以用蓝牙ble配网。

                                如果你的设备有麦克风或者BLE,这两种配网方式我个人感觉比AIRKISS更优秀。

                                1 Reply Last reply Reply Quote Share 0
                                • pcmxz
                                  左手右手一个慢动作 LV 3 @tomwang last edited by

                                  @tomwang
                                  混杂模式只能抓到MAC层所能搜到的包,你的需求是想要抓取空气中的“自由包”,应该用monitor模式。

                                  Monitor mode: Sniffing the packets in the air without connecting (associating) with any access point.
                                  
                                  Think of it like listening to people's conversations while you walk down the street.
                                  Promiscuous mode: Sniffing the packets after connecting to an access point. This is possible because the wireless-enabled devices send the data in the air but only "mark" them to be processed by the intended receiver. They cannot send the packets and make sure they only reach a specific device, unlike with switched LANs.
                                  
                                  Think of it like joining a group of people in a conversation, but at the same time being able to hear when someone says "Hey, Mike, I have a new laptop". Even though you're not Mike, and that sentence was intended to be heard by Mike, but you're still able to hear it.
                                  

                                  xr829应该也是支持monitor模式的,我在代码里面有看到MONITOR_MODE这个宏,可以试下用iw工具打开。

                                  如果你的SDK是tina,airkiss或者smartlink相关示例可以参考package/allwinner/smartlinkd目录,里面就有xr819的例子。

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

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

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