hciconfig

iscan enable|disable pscan enable|disable

Bluetooth devices discover and connect to each other through the use of two special Bluetooth channels, the Inquiry and Page channels (described in theBluetooth Spec Volume 1, Part A, Section 3.3.3, page 35). These two options enable the channels on the bluetooth device.

iscan enable: makes the bluetooth device "discoverable" by enabling it to answer "inquiries" from other nearby bluetooth devices.

pscan enable: makes the bluetooth device "connectable to" by enabling the use of the "page scan" channel.

lm none|accept,master

none means no specific policy. accept means always accept incoming connections. master means become master on incoming connections anddeny role switch on outgoing connections.

lp none|rswitch,hold,sniff,park

none means no specific policy. rswitch means allow role switch. hold means allow hold mode. sniff means allow sniff mode.park means allow park mode. Several options can be combined.

This option determines the various operational modes that are allowed for this device when it participates to a piconet. Normally hold and sniff should beenabled for standard operations.

hold: this mode is related to synchronous communications (SCO voice channel for example).

sniff: when in this mode, a device is only present on the piconet during determined slots of time, allowing it to do other things when it is "absent", forexample to scan for other bluetooth devices.

park: this is a mode where the device is put on standby on the piconet, for power-saving purposes for example.

rswitch: this is a mode that enables role-switch (master <-> slave) between two devices in a piconet. It is not clear whether this needs to be enabledin order to make the "lm master" setting work properly or not.

pageto n

Page Timeout measured in number of baseband slots. Interval length = N * 0.625 msec (1 baseband slot)


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值