Bluetooth Page scan and Inquiry scan
来源:互联网 发布:怎么测试80端口 编辑:程序博客网 时间:2024/06/02 04:28
Page/page scan - The initial phase of the connection procedure where a
device transmits a train of page messages until a
response is received from the target device or a timeout
occurs.
Inquiry scan - A procedure where a Bluetooth device listens for inquiry
messages received on its inquiry scan physical channel.
1, Inquiry scan
用hcidump -Xt跟踪hci sniffer package, 发现host做一个Inquiry scan,就是
向controller发送一个HCI Command: Inquiry (0x01|0x0001) 命令,然后controller
不断向host返回event结果,10秒钟左右结束 -- Inquiry Complete .
在Ubuntu上可以用hcitool scan 命令发送一个Inquiry scan .
2, Page scan
在PC或手机上蓝牙管理中搜索周围的蓝牙设备(device discovery),会进行page scan。
Page scan其实是不停地进行多次Inquiry scan, 直到外部某个条件才中断。
Page scan中的两次Inquiry scan间隔一般是30秒。
3, PC上 bluetooth device类型是BR/EDR, 它是周期性监听在一个inquiry scan physical channel上,
并在此channel上回应inquiry scan. 所以它表现出“可被发现(visible)”不会超时。
而 phone上 bluetooth device类型是LE,它有“可被发现(visible)”超时设置,当visible设为可见后,
它在一定超时时间内(1-2分钟)向外广播发送connectable or scannable的event消息,这样能被其它
蓝牙设备搜索到。 若超时,visible又被设为不可见的了。别的设备就不能搜索到它。
4,两个手机放在一起,蓝牙可能有干扰,就只有一个能被搜索到。一般隔开1米左右就行。
5, hcitool scan 和 hcitool inq 区别
hcitool scan 命令会显示所找到的蓝牙设备的物理地址、名称
device transmits a train of page messages until a
response is received from the target device or a timeout
occurs.
Inquiry scan - A procedure where a Bluetooth device listens for inquiry
messages received on its inquiry scan physical channel.
1, Inquiry scan
用hcidump -Xt跟踪hci sniffer package, 发现host做一个Inquiry scan,就是
向controller发送一个HCI Command: Inquiry (0x01|0x0001) 命令,然后controller
不断向host返回event结果,10秒钟左右结束 -- Inquiry Complete .
在Ubuntu上可以用hcitool scan 命令发送一个Inquiry scan .
2, Page scan
在PC或手机上蓝牙管理中搜索周围的蓝牙设备(device discovery),会进行page scan。
Page scan其实是不停地进行多次Inquiry scan, 直到外部某个条件才中断。
Page scan中的两次Inquiry scan间隔一般是30秒。
3, PC上 bluetooth device类型是BR/EDR, 它是周期性监听在一个inquiry scan physical channel上,
并在此channel上回应inquiry scan. 所以它表现出“可被发现(visible)”不会超时。
而 phone上 bluetooth device类型是LE,它有“可被发现(visible)”超时设置,当visible设为可见后,
它在一定超时时间内(1-2分钟)向外广播发送connectable or scannable的event消息,这样能被其它
蓝牙设备搜索到。 若超时,visible又被设为不可见的了。别的设备就不能搜索到它。
4,两个手机放在一起,蓝牙可能有干扰,就只有一个能被搜索到。一般隔开1米左右就行。
5, hcitool scan 和 hcitool inq 区别
hcitool scan 命令会显示所找到的蓝牙设备的物理地址、名称
hcitool inq 命令会显示哪些 被找到的蓝牙设备物理地址、clock offset和类型
- Bluetooth Page scan and Inquiry scan
- Bluetooth Page Scan和Inquiry Scan区别
- 蓝牙设备发现与同步(page and page scan详解)
- nterlaced scan and progressive scan
- Bluetooth in Android 4.2 and 4.3:Scan remote devices
- scan
- Scan
- android bluetooth stack-scan
- INDEX FAST FULL SCAN AND SKIP SCAN
- 802.11 Scan and Discovery
- Elasticsearch--scan and scroll
- Bluetooth之蓝牙scan 全程分析
- PostgreSQL index scan enlarge heap page scans when index and column correlation small
- key code and scan code
- JTAG and Boundary Scan(zz)
- full index scan and fast full index scan
- Android Bluetooth Stack: Bluedroid(四):Scan remote devices
- Android bluetooth介绍(三): 蓝牙扫描(scan)设备分析
- .NET ORM框架(一)
- hibernate 对象继承不能乱用
- PHP的一个过滤敏感词或脏话的方法
- Mina网络应用框架及TCP/UDP开发范例(编著)
- 16进制的一些常用转换
- Bluetooth Page scan and Inquiry scan
- NIO学习笔记(一)
- s
- 浅谈Objective-c中的内存管理
- 浅谈如何营造高效的软件开发团队
- Using Bluetooth
- 十个超级有用的PHP代码片段
- dos常用命令---路由跟踪命令.查看DNS、IP、Mac等
- utl_dbws.ANYDATA_LIST类型初始化问题