<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Send Data From Edison to Android App? in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039763#M45558</link>
    <description>&lt;P&gt;I have successfully paired my Android phone with the edison via Bluetooth (not BLE).&lt;/P&gt;&lt;P&gt;I used this article to get me started:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-edison-board-getting-started-with-bluetooth"&gt;https://software.intel.com/en-us/articles/intel-edison-board-getting-started-with-bluetooth&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am working on a project that will use sensors to retrieve data and will need to send this data to an Android phone via Bluetooth through the edison.&lt;/P&gt;&lt;P&gt;Would this be done in linux scripts/commands or through code on Arduino?&lt;/P&gt;&lt;P&gt;Ideally I just want to display the data retrieved from these sensors on a UI app I need to create on Android.&lt;/P&gt;&lt;P&gt;Can anyone enlighten me on this process or perhaps provide a example/lead?&lt;/P&gt;</description>
    <pubDate>Sat, 07 Mar 2015 08:01:23 GMT</pubDate>
    <dc:creator>Rafael_R_</dc:creator>
    <dc:date>2015-03-07T08:01:23Z</dc:date>
    <item>
      <title>Send Data From Edison to Android App?</title>
      <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039763#M45558</link>
      <description>&lt;P&gt;I have successfully paired my Android phone with the edison via Bluetooth (not BLE).&lt;/P&gt;&lt;P&gt;I used this article to get me started:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-edison-board-getting-started-with-bluetooth"&gt;https://software.intel.com/en-us/articles/intel-edison-board-getting-started-with-bluetooth&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am working on a project that will use sensors to retrieve data and will need to send this data to an Android phone via Bluetooth through the edison.&lt;/P&gt;&lt;P&gt;Would this be done in linux scripts/commands or through code on Arduino?&lt;/P&gt;&lt;P&gt;Ideally I just want to display the data retrieved from these sensors on a UI app I need to create on Android.&lt;/P&gt;&lt;P&gt;Can anyone enlighten me on this process or perhaps provide a example/lead?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2015 08:01:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039763#M45558</guid>
      <dc:creator>Rafael_R_</dc:creator>
      <dc:date>2015-03-07T08:01:23Z</dc:date>
    </item>
    <item>
      <title>There are many different</title>
      <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039764#M45559</link>
      <description>&lt;P&gt;There are many different options. Bluetooth gives you different profiles that you can use to transfer information.&lt;/P&gt;

&lt;P&gt;Depending on the type of information you want to send, some profiles would be better suited than others. Take a look here for list of profiles:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/List_of_Bluetooth_profiles" target="_blank"&gt;http://en.wikipedia.org/wiki/List_of_Bluetooth_profiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For a generic data transfer, you could use OBEX, which basically just sends a file which may contain the data you need, or you can create and use a virtual serial port connection over bluetooth for example, and transfer the data using serial.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2015 03:21:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039764#M45559</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2015-03-08T03:21:43Z</dc:date>
    </item>
    <item>
      <title>@samontab I was doing some</title>
      <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039765#M45560</link>
      <description>&lt;P&gt;@samontab I was doing some research on RFCOMM sockets. I am still new to this entire topic of bluetooth data transmission between devices.&lt;/P&gt;

&lt;P&gt;I found this reference on google:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://people.csail.mit.edu/albert/bluez-intro/x502.html"&gt;http://people.csail.mit.edu/albert/bluez-intro/x502.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Where would I place that server code on the Intel edison to deem it my server side component (which will send data to my android phone)?&lt;/P&gt;

&lt;P&gt;Not exactly sure where the BlueZ code is supposed to go.&lt;/P&gt;

&lt;P&gt;Once I achieve that step, is it valid that I program the Android app using the built in Bluetooth APIs on the Android SDK to retrieve these sockets being sent through that RFCOMM server code?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2015 05:43:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039765#M45560</guid>
      <dc:creator>Rafael_R_</dc:creator>
      <dc:date>2015-03-08T05:43:13Z</dc:date>
    </item>
    <item>
      <title>BlueZ is an implementation of</title>
      <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039766#M45561</link>
      <description>&lt;P&gt;BlueZ is an implementation of the bluetooth stack for linux. The Edison has support for this on the yocto standard image.&lt;/P&gt;

&lt;P&gt;Make sure that you enable bluetooth on the Edison first though. You can do it with this:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;rfkill unblock bluetooth&lt;/PRE&gt;

&lt;P&gt;Then, you can start playing around with &lt;STRONG&gt;hcitool&lt;/STRONG&gt;, &lt;STRONG&gt;sdptool&lt;/STRONG&gt;, etc...&lt;/P&gt;

&lt;P&gt;For example, you can scan devices with:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;hcitool scan&lt;/PRE&gt;

&lt;P&gt;Search for information about BlueZ, there is plenty out there...&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2015 06:39:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039766#M45561</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2015-03-08T06:39:49Z</dc:date>
    </item>
    <item>
      <title>This might help you get going</title>
      <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039767#M45562</link>
      <description>&lt;P&gt;This might help you get going.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/connecting-the-intel-edison-board-to-your-android-phone-with-serial-port-profile-spp"&gt;https://software.intel.com/en-us/articles/connecting-the-intel-edison-board-to-your-android-phone-with-serial-port-profile-spp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 19:12:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039767#M45562</guid>
      <dc:creator>Joseph_B_Intel</dc:creator>
      <dc:date>2015-03-19T19:12:54Z</dc:date>
    </item>
    <item>
      <title>Quote:samontab wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039768#M45563</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;samontab wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Make sure that you enable bluetooth on the Edison first though. You can do it with this:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;rfkill unblock bluetooth&lt;/PRE&gt;

&lt;P&gt;Then, you can start playing around with &lt;STRONG&gt;hcitool&lt;/STRONG&gt;, &lt;STRONG&gt;sdptool&lt;/STRONG&gt;, etc...&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;just to add:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;you could also use&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;connmanctl enable bluetooth&lt;/PRE&gt;

&lt;P&gt;then there are various things you can control/check with "bluetoothctl".&lt;/P&gt;

&lt;P&gt;Last but not least "btmon" / "hcidump" are very helpful to analyze what data have been sent / received on BT&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 05:30:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Send-Data-From-Edison-to-Android-App/m-p/1039768#M45563</guid>
      <dc:creator>Matthias_H_Intel</dc:creator>
      <dc:date>2015-03-20T05:30:30Z</dc:date>
    </item>
  </channel>
</rss>

