[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] RE: low power ..! (at kernel level)



Sir,
    I added ""int MaxTransmitPower 10"" (10 dBm for
Class 2) to bt.conf,and re-run /bin/btconfig. But I
could not find any difference.I tried with 0,10,20
dBm,but my device disconnected when I moved same
distance away from axis point in all the three cases.
    Is the format correct and is my input correct??
and the following is the debug info :: 
    Hope to hear from you regarding this..
Jan  1 00:21:08 AxisProduct btconfig:
bt_set_local_name: Axis Developer Board (192.168.1.80)
Jan  1 00:21:08BT SYS: Force M/S switch set to 1
 AxisProduct btconfig: bt_force_msswitch_as_server: 1
BT SYS: Setting max BT connections to 7
Jan  1 00:21:08 AxisProduct btconfig:
bt_set_max_conections: 7
Jan  1 00:21:08 AxisProduct btconfig: csr_pskey:
ps_key 0x17 rw_mode : 0
Jan  1 00:21:08 AxisProduct btconfig: csr_pskey:
ps_key 0x17 rw_mode : 2
Shutting down Bluetooth stack
BT SYS: Shutting down bluetooth stack
BT SYS: Disabling page scan
Jan  1 00:21:08 AxisProduct bti: Shutting down
bluetooth stack
BT SYS: Shutting down BNEP
BT SYS: Shutting down RFCOMM
BT SYS: Shutting down SDP
BT SYS: Shutting down TCS
BT SYS: Shutting down L2CAP
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
Jan  1 00:21:08 AxisProduct bti: Restart...
Jan  1 00:21:09 AxisProduct sdp_server: SDP Server
starting
BT SYS: Setting BT driver to use serial tty
BT SYS: Setting btdm_pid (66)
Jan  1 00:21:09 AxisProduct bti: Registered bluetooth
line discipline on /dev/ttyS3
Jan  1 00:21:11BT SYS: Initialising Bluetooth Stack
 AxisProduct bti: Init stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [25000 bytes]
BT SYS: Initialising HCI
BT SYS: HCI emulator off
BT SYS: Initialising HCI inbuffers [16386]
BT SYS: Reading buffer sizes in HW module
 
HW module contains...
8 ACL buffers at 192 bytes
8 SCO buffers at 64 bytes
 
BT SYS: Reading firmware info in HW module
BT SYS: Host flow control not enabled
BT SYS: M/S switch enabled
BT SYS: Force M/S switch set to 1
BT SYS: Initialising L2CAP
BT SYS: Local bd [00:40:8c:5b:a4:38]
BT SYS: Initialising RFCOMM
BT SYS: Initialising SDP
BT SYS: Init SDP as server
BT SYS: Initialising TCS
BT SYS: Initializing BNEP
BT SYS: Initialising TEST
Jan  1 00:21:12 AxisProduct bti: bt_set_classofdevice
: srv class 0x90, maj class 0x3, min class 0x0, format
0x0
Jan  1 00:21:12 AxisProduct bti: Setting
write_scan_enable: 0x3
Jan  1 00:21:12 AxisProduct bti: Setting
write_pagescan_activity: int:0x800 wind:0x12
Jan  1 00:21:12 AxisProduct bti: Setting event filter
Jan  1 00:21:12 AxisProduct bti: Setting event filter
Jan  1 00:21:13 AxisProduct bti: bt_set_baudrate:
460800 baud

--- Anders Torbjorn Johansson
<anders.t.johansson@xxxxxxx.com> wrote:
> Hi,
> 
> The IOCTL used is BT_CSR_PSKEY and it is used to
> write various parameters to 
> a CSR BT module. More information about this can be
> found on CSR:s support
> web. I suggest you use btconfig to set it at
> startup, it parses the
> file /etc/bt.conf and you can set your wanted
> powerlevel in there and it
> will be written in the initprocedure.
> 
> Best Regards,
> Anders
> 
> > -----Original Message-----
> > From: axis [mailto:axis2list@xxxxxxx.com]
> > Sent: den 17 november 2003 13:36
> > To: Anders Torbjorn Johansson
> > Subject: RE: low power ..! (at kernel level)
> > 
> > 
> > Sir,
> >      Thanks for the info. Is it possible to set
> this
> > parameter at the kernel level,so that I can
> compile my
> > new image with this option.
> >      Can you please tell me the low level function
> > (ioctl) which can be useful for this purpose.
> >  
> > --- Anders Torbjorn Johansson
> > <anders.t.johansson@xxxxxxx.com> wrote:
> > > Hello,
> > > 
> > > Use the bt_set_max_power function in the library
> > > (be_vendor.c).
> > > 
> > > Regards,
> > > Anders
> > > 
> > > > -----Original Message-----
> > > > From: axis [mailto:axis2list@xxxxxxx.com]
> > > > Sent: den 17 november 2003 12:15
> > > > To: Bluetooth-dev
> > > > Cc: anderstj@xxxxxxx.com
> > > > Subject: low power ..!
> > > > 
> > > > 
> > > > Sir,
> > > >      Is it possible to reduce the power
> emitted by
> > > > access point,i mean reducing the power from
> Class
> > > 1 to
> > > > Class 2 ? Is there any funcion openbt which
> can
> > > > manipulate this paramater.This could be useful
> to
> > > > reduce interference...
> > > >      Hope to hear from you regarding this
> > > > Thank you.
> > > > 
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Protect your identity with Yahoo! Mail
> > > AddressGuard
> > > > http://antispam.yahoo.com/whatsnewfree
> > > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail
> AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> > 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com