#12655 NORM Not Tri: [CL4]The Bluetooth test in OFW is not stable.
Zarro Boogs per Child
bugtracker at laptop.org
Fri Apr 12 01:47:07 EDT 2013
#12655: [CL4]The Bluetooth test in OFW is not stable.
------------------------------------+---------------------------------------
Reporter: garysu | Owner: Quozl
Type: defect | Status: assigned
Priority: normal | Milestone: Not Triaged
Component: not assigned | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------------+---------------------------------------
Changes (by Quozl):
* cc: Chia-Hsiu.Chang at quantatw.com (added)
Comment:
You may also increase the duration:
{{{
ok dev /bluetooth patch 8 4 send-inquiry dend
}}}
The program sends an inquiry command to the wireless module firmware. The
source code for sending the command looks like this:
{{{
: send-inquiry ( -- )
cmd(
giac +x$ \ General Inquiry LAC
d# 4 +xb \ 4 * 1.28 seconds
d# 16 +xb \ #responses
h# 401 )cmd
wait-cmd-status
;
}}}
It seems from my testing and yours, that #responses is the number of
responses received that will terminate the command, and that if these
responses are not received the timeout (4 * 1.28 = 5.12 seconds) is used
instead.
Or to put it another way, the inquiry command terminates when:
* the timeout is reached, or
* the number of responses is reached,
whichever occurs first.
On the factory floor, the number of responses is probably large.
--
Ticket URL: <http://dev.laptop.org/ticket/12655#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list