I have done the following steps:<br><br>1 Unpair the connection between my phone and the laptop.<br>2 type the commands:<br>  sudo rfcomm bind 0 00:1F:E2:E6:B1:44 1<br>  sudo sdptool add SP<br>  In this step, I have checked the buletooth device in my laptop using the command: hcptool dev. There is only one device in my laptop.<br>

3 pair my phone with my laptop.<br>4 run the command: obdsim -b --logfile=log.txt in my laptop.<br>5 run the program Torque Lite, then the program pop up a window tell it use the paired bluetooth with my laptop, I confirmed.<br>

6 On my laptop, there is a window pop up with the following information:<br>   Device &#39;Nexus S&#39; (38:EC:E4:D2:EA:45) wants access to the service &#39;00001103-0000-1000-8000-00805F9B34FB&#39;.<br>   I have confirmed. the access.<br>

   However, in the laptop, still the following information<br><font size="4">SimPort name: <b>Not yet connected</b><br>Successfully initialised obdsim, entering main loop<br>10.000314 seconds. 0 samples, 0 queries. 0.00 s/s, 0.00 q/s<br>
10.000864 seconds. 0 samples, 0 queries. 0.00 s/s, 0.00 q/s<br>
10.000718 seconds. 0 samples, 0 queries. 0.00 s/s, 0.00 q/s<br>10.000753 seconds. 0 samples, 0 queries. 0.00 s/s, 0.00 q/s<br><br>While the torque lite program says: OBD device not found, retrying...</font><br><br>I have checked the logfile log.txt, nothing there.<br>
Any idea about how to fix this? Thanks very much.<br><br><div class="gmail_quote">On Fri, Jan 20, 2012 at 11:29 AM, Gary Briggs <span dir="ltr">&lt;<a href="mailto:chunky@icculus.org" target="_blank">chunky@icculus.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Fri, Jan 20, 2012 at 03:37:15AM +0800, Xiping wrote:<br>
&gt; I have compiled obdsim successfully and I have do the following steps:<br>
&gt;<br>
&gt; 1 type the commands:<br>
&gt;<br>
&gt;   sudo rfcomm bind 0 00:1F:E2:E6:B1:44 1<br>
&gt;   sudo sdptool add SP<br>
&gt;<br>
&gt;   where 00:1F:E2:E6:B1:44 is the bluetooth address of my laptop.<br>
&gt;<br>
&gt;<br>
&gt; 2 pair my phone with my laptop.<br>
&gt; 3 run obdsim -b<br>
&gt; 4 run the Torque Lite program in my phone, select my laptop as the paired<br>
&gt; device to connected to.<br>
<br>
</div>Can you un-pair your device, and then re-pair after running the bind and<br>
sdptool commands? I believe there&#39;s some early-setup that occurs; your<br>
phone may be assuming that your computer cannot act as an rfcomm device,<br>
and thus there may be a bit of confusion there.<br>
<br>
Additionally, please confirm you only have one bluetooth device [hcitool<br>
can tell you this, I think]. obdsim just assumes that the first<br>
bluetooth device it can find is the one it should use, which may not<br>
always be correct [although most folks only have one bluetooth device,<br>
of course]<br>
<div><br>
&gt; After the above steps, however, the obdsim printed the following<br>
&gt; information:<br>
<br>
</div>&lt;snip&gt;<br>
<br>
Yes, these are typical symptoms of it not-working. obdsim chatters every<br>
10 seconds or so, saying how many samples it&#39;s produced. Zero indicates<br>
that nothing&#39;s talking to it in any way it can recognise.<br>
<br>
It might be good to check that obdsim isn&#39;t seeing something that it<br>
just doesn&#39;t recognise; can you run obdsim with the logfile option, and<br>
see what&#39;s in it?<br>
<br>
Thanks,<br>
Gary<br>
</blockquote></div><br>