<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gustavo F. Padovan &#187; ofono</title>
	<atom:link href="http://padovan.org/blog/tag/ofono/feed/" rel="self" type="application/rss+xml" />
	<link>http://padovan.org/blog</link>
	<description>a hacking life</description>
	<lastBuildDate>Fri, 23 Jul 2010 22:30:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Google Summer of Code has come. Again!</title>
		<link>http://padovan.org/blog/2010/04/google-summer-of-code-has-come-again/</link>
		<comments>http://padovan.org/blog/2010/04/google-summer-of-code-has-come-again/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 00:50:40 +0000</pubDate>
		<dc:creator>padovan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bluez]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[connman]]></category>
		<category><![CDATA[dial-up network]]></category>
		<category><![CDATA[dun]]></category>
		<category><![CDATA[ofono]]></category>
		<category><![CDATA[unicamp]]></category>

		<guid isPermaLink="false">http://padovan.org/blog/?p=166</guid>
		<description><![CDATA[For the second year I got accepted on the Google Summer of Code project to work with the BlueZ organization. My project this year is to work on the DUN Client. DUN is the Dial-up Network Profile, it provides access to the Internet and other dial-up services via Bluetooth.  My project intends to do the [...]]]></description>
			<content:encoded><![CDATA[<p>For the second year I got accepted on the <a href="http://socghop.appspot.com/" target="_blank">Google Summer of Code</a> project to work with the BlueZ organization. My project this year is to work on the DUN Client. DUN is the Dial-up Network Profile, it provides access to the Internet and other dial-up services via Bluetooth.  My project intends to do the DUN client only, but if I have time at the end of the project I&#8217;ll work on the DUN Server too.</p>
<p>The implementation will make changes in <a href="http://www.bluez.org" target="_blank">BlueZ</a>, <a href="http://connman.net" target="_blank">ConnMan</a> and <a href="http://ofono.org" target="_blank">oFono</a>. Most of the changes will be inside oFono. There, we need to  use the AT command parser and the  PPP stack (recently added to the oFono  repo). The work consist on integrate everything and implement the  missing parts of the AT command parser and the PPP stack, and the DUN agent.</p>
<p>On the  BlueZ part the work will be the service export for DUN Data Terminal  role and and the DUN Agent server to register agents and pass the RFCOMM file descriptor. For testing purposes we can use the Serial API in the beginning. That work is very similar to what we did for the HFP this year.</p>
<p>The ConnMan integration: ConnMan will setup the NAT and the  Internet connection. The DUN integration on ConnMan is similar to the PAN integration(still a work in progress) , so we can reuse part of  that implementation.</p>
<p>That&#8217;s it.  I&#8217;ll post updates here during the development of the project. Now let me code. ;-)</p>
<p>Also, congratulation to the others Unicamp (University of Campinas) students that were accepted on GSoC too. :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://padovan.org/blog/2010/04/google-summer-of-code-has-come-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Handsfree Profile into BlueZ and oFono</title>
		<link>http://padovan.org/blog/2010/02/handsfree-profile-into-bluez-and-ofono/</link>
		<comments>http://padovan.org/blog/2010/02/handsfree-profile-into-bluez-and-ofono/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 22:01:55 +0000</pubDate>
		<dc:creator>padovan</dc:creator>
				<category><![CDATA[bluez]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[profusion]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[ofono]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://padovan.org/blog/?p=123</guid>
		<description><![CDATA[I&#8217;m proud to announce that BlueZ and oFono now support the Handsfree role of the Bluetooth Handsfree profile. This means that your Desktop now can now act like a headset bluetooth and handle calls from your cell phone.  The work was done during the last 2 months here at ProFUSION. On the BlueZ side a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m proud to announce that <a href="http://www.bluez.org" target="_blank">BlueZ</a> and <a href="http://www.ofono.org" target="_blank">oFono</a> now support the Handsfree role of the Bluetooth <a href="http://bluetooth.com/Bluetooth/Technology/Works/HFP.htm" target="_blank">Handsfree profile</a>. This means that your Desktop now can now act like a headset bluetooth and handle calls from your cell phone.  The work was done during the last 2 months here at <a href="http://profusion.mobi" target="_blank">ProFUSION</a>.</p>
<p>On the BlueZ side a new API was designed using the fd-passing feature of DBus 1.3.  This new API uses the concept of Agents where oFono plays the Agent role.  In the HFP case the Agent role is to handle the AT engine stuff while BlueZ will only take care of the RFCOMM and SCO connections.</p>
<p>The RFCOMM socket is passed to the Agent in oFono via DBus, then oFono uses it to send and receive the AT commands to establish a Service Level Connection, i. e., make the handshake procedure. If it succeeds oFono will be ready to make and answers calls. Your HFP enabled phone will show up as a  modem in oFono, like any other oFono modem.</p>
<p>The work was initially based on patches from Zhenhua Zhang(from Intel) and the audio interaction to handle the SCO data inside Pulseaudio was done by <a href="http://jprvita.wordpress.com" target="_blank">João Paulo Rechi Vita</a>(from <a href="http://profusion.mobi/" target="_blank">ProFUSION</a> too). He also did the demo video below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="551" height="365" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9078799&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="551" height="365" src="http://vimeo.com/moogaloop.swf?clip_id=9078799&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>After pairing the devices using some BlueZ agent like kbluetooth or gnome-bluetooth, you&#8217;ll be able to see the modem in oFono and you can enable it ( i. e., make the handshake procedure to establish an HFP Service Level Connection) using the enable-modem script from the test directory on oFono source.</p>
<p>In order to test this you need the Audio Gateway interface enabled in BlueZ. For that, edit your /etc/bluetooth/audio.conf  and add &#8220;Enable=Gateway&#8221; to it.</p>
<p>HFP code is already merged upstream on the BlueZ and oFono trees. The API is described in <a href="http://git.kernel.org/?p=bluetooth/bluez.git;a=blob;f=doc/hfp-api.txt;h=8180de0e80919cbf1bc613676e0548b35b01adc9;hb=HEAD" target="_blank">doc/hfp-api.txt</a> in BlueZ source.</p>
]]></content:encoded>
			<wfw:commentRss>http://padovan.org/blog/2010/02/handsfree-profile-into-bluez-and-ofono/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
