<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Project Detroit: OBD-II Manager</title><link>http://obd.codeplex.com/project/feeds/rss</link><description>A library to parse OBD-II data coming from a vehicle using an ELM323&amp;#47;327 compatible OBD to USB&amp;#47;serial cable.  The solution also includes the WPF Instrument Cluster application that was used in the Project Detroit car&amp;#33;</description><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;Hi to all,&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;            I tried to connect to ELM327 Bluetooth device  via my Windows phone 8 (Nokia Lumia 620). I wrote the code in C# and Used Windows.Networking.Sockets.StreamSocket for sending and receiving commands. Connection to the device was successful,
&lt;/code&gt;&lt;/pre&gt;

Windows.Networking.Sockets.StreamSocket socket = new Windows.Networking.Sockets.StreamSocket();&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        Task&amp;lt;Windows.Foundation.IAsyncAction&amp;gt; a = socket.ConnectAsync((Windows.Networking.HostName)host, BluetoothService.SerialPort);
        await a;
&lt;/code&gt;&lt;/pre&gt;

Using Datawriter , i Send the commands ,&lt;br /&gt;
 await socket.OutputStream.WriteAsync(ibuffer);&lt;br /&gt;
&lt;br /&gt;
 Data is written well,but response is always &amp;quot;NO Data &amp;quot;\r&amp;quot; . &lt;br /&gt;
&lt;br /&gt;
Can anybody please send me a basic sample for Windows phone 8 connectivity for OBD Bluetooth device.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Waqar&lt;br /&gt;
&lt;/div&gt;</description><author>waqarkhan2002</author><pubDate>Sat, 16 Mar 2013 13:55:16 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130316015516P</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
It seems that it is possible to implement serial communication over Bluetooth using StreamSocket. I'm working on it, but I still don't have the ELM327 module to try it. As soon as I get it, I will try and post the result here.&lt;br /&gt;
&lt;br /&gt;
You may find some info in the answer to this forum post: &lt;br /&gt;
&lt;a href="http://social.msdn.microsoft.com/Forums/es-ES/wpdevelop/thread/9e21db79-7d48-42c9-a6cb-d893098aa9a3" rel="nofollow"&gt;http://social.msdn.microsoft.com/Forums/es-ES/wpdevelop/thread/9e21db79-7d48-42c9-a6cb-d893098aa9a3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I think this should work for Windows Store apps too.&lt;br /&gt;
&lt;/div&gt;</description><author>anderZubi</author><pubDate>Mon, 04 Mar 2013 14:18:12 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130304021812P</guid></item><item><title>New Post: Windows Phone?</title><link>https://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Well, I will probably try to create a web service : if my Lumia 800 (WP 7.8)&amp;nbsp;can handle the connexion&amp;nbsp;from my ODB Bluetooth device, I can probably share the internet connexion with my phone and my surface then, with 2 apps (a service which publish ODB data
 for the phone and an app which interpret those data for the surface). Do you think that&amp;nbsp;it's possible ?&lt;/p&gt;
&lt;p&gt;interscape, your work interests me a lot ;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>Olivier_H</author><pubDate>Sat, 19 Jan 2013 08:12:25 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130119081225A</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;FYI, I believe it is possible. There is a library I'm using that just came out for Bluetooth on Windows Phone 8 (recently posted to NuGet), and it supports the Serial Port Profile. I'm able to open up a connection to the device. I'm working on creating a
 WP8 version of the OdbManager that will leverage this library instead of System.IO.Ports to interact with the device. Tomorrow I will learn the ins and outs of Windows.Networking.Sockets.StreamSocket and see if I can't get this bad boy working.&lt;/p&gt;
&lt;div id="_mcePaste" style="overflow:hidden; height:1px; left:-10000px; top:0px; width:1px"&gt;
&amp;#65279;&lt;/div&gt;
&lt;/div&gt;</description><author>interscape</author><pubDate>Thu, 17 Jan 2013 06:57:18 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130117065718A</guid></item><item><title>New Post: Windows Phone?</title><link>https://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;According to this post, Windows Phone 8 supports the Serial Port Profile. In addition, I purchased a Bluetooth ELM327 module and it paired with Windows Phone 8 just fine. I'm going to experiment with it and see if I can see an active connection in code.&lt;/p&gt;
&lt;/div&gt;</description><author>interscape</author><pubDate>Thu, 17 Jan 2013 02:33:05 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130117023305A</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;blockquote style="border:solid .1em #ccc; font-style:italic; margin:.25em 1em 0 1em; padding:0 .25em 0 .25em"&gt;
&lt;strong&gt;Olivier_H wrote:&lt;/strong&gt;&lt;br&gt;
&lt;p&gt;I have the same device but I want to use it with my Surface (over Windows RT).&lt;/p&gt;
&lt;p&gt;First, is there a way to develop with COM ports ? I don't find any help about this topic ...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Windows Runtime does not contain an API for COM/serial communication. :(&lt;/p&gt;
&lt;/div&gt;</description><author>peekb</author><pubDate>Fri, 11 Jan 2013 04:02:25 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130111040225A</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have the same device but I want to use it with my Surface (over Windows RT).&lt;/p&gt;
&lt;p&gt;First, is there a way to develop with COM ports ? I don't find any help about this topic ...&lt;/p&gt;
&lt;/div&gt;</description><author>Olivier_H</author><pubDate>Sun, 06 Jan 2013 18:40:15 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20130106064015P</guid></item><item><title>New Post: using on my beautiful surface .... </title><link>http://obd.codeplex.com/discussions/428676</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi there !&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm such a fan of your concept and I thautgh that it could be amazing if I can have this project in my car too.&lt;/p&gt;
&lt;p&gt;And then, I baught a Surface tablet wich runs Windows RT but ... I haven't succeed yet beacause of the lack of the System.IO.Port Library...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any way to develop a Bluetooth connection without it ? Have you eared about any tips ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks a lot and sorry if my English isn't good ...&lt;/p&gt;
&lt;p&gt;Olivier&lt;/p&gt;
&lt;/div&gt;</description><author>Olivier_H</author><pubDate>Sun, 06 Jan 2013 18:37:53 GMT</pubDate><guid isPermaLink="false">New Post: using on my beautiful surface ....  20130106063753P</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Unfortunately, Windows Phone 8 supports a very limited set of Bluetooth profiles. &amp;nbsp;This means that the Bluetooth ELM327 OBD-II adapters cannot work with Windows Phone. &amp;nbsp;iOS developers have run into the same challenges since Apple has similar Bluetooth limitations.
 &amp;nbsp;They ended up switching to a WiFi-based OBD-II adapter which is a somewhat clumsy solution to a problem that wouldn't exist if the OS had a more robust Bluetooth stack.&lt;/p&gt;
&lt;/div&gt;</description><author>Cloudscout</author><pubDate>Wed, 19 Dec 2012 20:41:19 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20121219084119P</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I don't have a Bluetooth OBD device, but if somebody get it working, I'd be happy to integrate it into the project....&lt;/p&gt;
&lt;/div&gt;</description><author>peekb</author><pubDate>Wed, 05 Dec 2012 06:27:24 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20121205062724A</guid></item><item><title>New Post: Windows Phone?</title><link>http://obd.codeplex.com/discussions/405605</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Has anyone looked at or started on porting the underlying work to Windows Phone 8? I just got my ELM327 BT enabled diag plug and I would love to be able to use my WP8 to track and capture diagnostic data.&lt;/p&gt;
&lt;/div&gt;</description><author>HapkidoNinja</author><pubDate>Wed, 05 Dec 2012 06:24:24 GMT</pubDate><guid isPermaLink="false">New Post: Windows Phone? 20121205062424A</guid></item><item><title>Source code checked in, #96133</title><link>http://obd.codeplex.com/SourceControl/changeset/changes/96133</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:40:31 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96133 20121001094031P</guid></item><item><title>Source code checked in, #96132</title><link>http://obd.codeplex.com/SourceControl/changeset/changes/96132</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:33:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96132 20121001093303P</guid></item><item><title>New Post: Toyota(Scion) ECU</title><link>http://obd.codeplex.com/discussions/352650</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;You are correct.&amp;nbsp; It seems some devices don't send the header/checksum in the way the cable we used does.&amp;nbsp; I haven't yet gotten around to a fix, but your fix above is correct!&lt;/p&gt;&lt;/div&gt;</description><author>peekb</author><pubDate>Thu, 07 Jun 2012 04:32:07 GMT</pubDate><guid isPermaLink="false">New Post: Toyota(Scion) ECU 20120607043207A</guid></item><item><title>New Post: Toyota(Scion) ECU</title><link>http://obd.codeplex.com/discussions/352650</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I know this is a late reply, but I just tested the app tonight for the first time, and ran into the same problem.&lt;br /&gt;After looking at the code - and noticing the comments in the method for GetPidData, I saw that the bytes array is attempting to strip off a&amp;nbsp;header and trailing checksum.&amp;nbsp; But, with the device I'm using - I'm fairly certain that there is no trailing checksum - which looks like it's the case above.&lt;/p&gt;
&lt;p&gt;Even though "00" is the byte you want to use, it's not being used because the bytes[] declaration is subtracting 1 (and so is the for loop).&lt;/p&gt;
&lt;p&gt;Simply remove the "- 1" from the bytes[] declaration, and from the for loop, and then your "00" byte will get used.&lt;/p&gt;
&lt;p&gt;I found that this fixed my problem with GetFuelLevelInput() and with GetRpm().&lt;/p&gt;
&lt;p&gt;Although - it's too late at night to go back out to the car and test if everything is working fine... but, this appears to have fixed my problems.&lt;/p&gt;&lt;/div&gt;</description><author>TGriffith42</author><pubDate>Thu, 07 Jun 2012 04:28:44 GMT</pubDate><guid isPermaLink="false">New Post: Toyota(Scion) ECU 20120607042844A</guid></item><item><title>Closed Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139]</title><link>http://obd.codeplex.com/workitem/15139</link><description>SkinSelector.xaml.cs, line 44 creates a task to connect to the COM port asynchronously, within a try-catch block. However, if the Connect call fails it will happen in the context of the Task, not the loaded event so the AggregateException will not be caught and an unhandled IOException will kill the process.&lt;br /&gt;&lt;br /&gt;Recommend using a continuation instead&amp;#58;&lt;br /&gt;&lt;br /&gt;                    Task.Factory.StartNew&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; _obd.Connect&amp;#40;Properties.Settings.Default.ComPort, Properties.Settings.Default.Baud, ObdDevice.UnknownProtocol, true&amp;#41;&amp;#41;&lt;br /&gt;                        .ContinueWith&amp;#40;action &amp;#61;&amp;#62;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Exception ex &amp;#61; action.Exception.Flatten&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                            SetMessage&amp;#40;&amp;#34;Unable to connect to OBD device&amp;#58; &amp;#34; &amp;#43; ex.Message&amp;#41;&amp;#59;&lt;br /&gt;                            Debug.WriteLine&amp;#40;ex&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;, TaskContinuationOptions.OnlyOnFaulted&amp;#41;&amp;#59;&lt;br /&gt;Comments: &lt;p&gt;Change checked into source control.&lt;/p&gt;</description><author>peekb</author><pubDate>Fri, 11 May 2012 22:09:15 GMT</pubDate><guid isPermaLink="false">Closed Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139] 20120511100915P</guid></item><item><title>Source code checked in, #91245</title><link>http://obd.codeplex.com/SourceControl/changeset/changes/91245</link><description>Better error handling on Connect &amp;#40;submitted by sfiorito&amp;#41;&amp;#13;&amp;#10;</description><author>peekb</author><pubDate>Fri, 11 May 2012 22:07:56 GMT</pubDate><guid isPermaLink="false">Source code checked in, #91245 20120511100756P</guid></item><item><title>Commented Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139]</title><link>http://obd.codeplex.com/workitem/15139</link><description>SkinSelector.xaml.cs, line 44 creates a task to connect to the COM port asynchronously, within a try-catch block. However, if the Connect call fails it will happen in the context of the Task, not the loaded event so the AggregateException will not be caught and an unhandled IOException will kill the process.&lt;br /&gt;&lt;br /&gt;Recommend using a continuation instead&amp;#58;&lt;br /&gt;&lt;br /&gt;                    Task.Factory.StartNew&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; _obd.Connect&amp;#40;Properties.Settings.Default.ComPort, Properties.Settings.Default.Baud, ObdDevice.UnknownProtocol, true&amp;#41;&amp;#41;&lt;br /&gt;                        .ContinueWith&amp;#40;action &amp;#61;&amp;#62;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Exception ex &amp;#61; action.Exception.Flatten&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                            SetMessage&amp;#40;&amp;#34;Unable to connect to OBD device&amp;#58; &amp;#34; &amp;#43; ex.Message&amp;#41;&amp;#59;&lt;br /&gt;                            Debug.WriteLine&amp;#40;ex&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;, TaskContinuationOptions.OnlyOnFaulted&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: peekb ** &lt;p&gt;Good call.  I&amp;#39;ll see if I can wedge it in there.  Thanks&amp;#33;&lt;/p&gt;</description><author>peekb</author><pubDate>Thu, 10 May 2012 18:29:43 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139] 20120510062943P</guid></item><item><title>Patch Uploaded: #12156</title><link>http://obd.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/sfiorito'&gt;sfiorito&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;Patch with fix for Task Continuation to handle IOException from Connect call.&lt;/p&gt;</description><author>sfiorito</author><pubDate>Thu, 10 May 2012 03:56:07 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #12156 20120510035607A</guid></item><item><title>Created Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139]</title><link>http://obd.codeplex.com/workitem/15139</link><description>SkinSelector.xaml.cs, line 44 creates a task to connect to the COM port asynchronously, within a try-catch block. However, if the Connect call fails it will happen in the context of the Task, not the loaded event so the AggregateException will not be caught and an unhandled IOException will kill the process.&lt;br /&gt;&lt;br /&gt;Recommend using a continuation instead&amp;#58;&lt;br /&gt;&lt;br /&gt;                    Task.Factory.StartNew&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; _obd.Connect&amp;#40;Properties.Settings.Default.ComPort, Properties.Settings.Default.Baud, ObdDevice.UnknownProtocol, true&amp;#41;&amp;#41;&lt;br /&gt;                        .ContinueWith&amp;#40;action &amp;#61;&amp;#62;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Exception ex &amp;#61; action.Exception.Flatten&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                            SetMessage&amp;#40;&amp;#34;Unable to connect to OBD device&amp;#58; &amp;#34; &amp;#43; ex.Message&amp;#41;&amp;#59;&lt;br /&gt;                            Debug.WriteLine&amp;#40;ex&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;, TaskContinuationOptions.OnlyOnFaulted&amp;#41;&amp;#59;&lt;br /&gt;</description><author>sfiorito</author><pubDate>Thu, 10 May 2012 03:38:13 GMT</pubDate><guid isPermaLink="false">Created Issue: Unhandled AggregateException when OBD connection fails in SkinSelector loaded event [15139] 20120510033813A</guid></item></channel></rss>