<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Test - Bluetooth</title>
    <link>http://www.xestia.net/blog/</link>
    <description>testing ...</description>
    <dc:language>fi</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://www.xestia.net/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Test - Bluetooth - testing ...</title>
        <link>http://www.xestia.net/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Nokia E60 ja SmartComGPS karttaplotterina</title>
    <link>http://www.xestia.net/blog/index.php?/archives/4-Nokia-E60-ja-SmartComGPS-karttaplotterina.html</link>
            <category>Bluetooth</category>
            <category>GPS</category>
            <category>Kalastus</category>
            <category>Kartat</category>
            <category>Puhelin</category>
    
    <comments>http://www.xestia.net/blog/index.php?/archives/4-Nokia-E60-ja-SmartComGPS-karttaplotterina.html#comments</comments>
    <wfw:comment>http://www.xestia.net/blog/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.xestia.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (xestia)</author>
    <content:encoded>
    &lt;p&gt;
Kannettava tietokone karttaplotterina veneessä on alttiina roiskeille ja avoveneessä sopii vain kesän tyynille uistelureissuille. Pari vuotta sitten tuli hommattua &lt;a href=&quot;http://www.nokia.fi/A4312139&quot;&gt;Nokia E60&lt;/a&gt; kännykkä, 
johon paikkatiedon saa esim. Holux GPSlim GR-236 bluetooth GPS mokkulan avulla. Uusissa puhelimissa GPS on usein jo sisäänrakennettuna, joten erillistä mokkulaa ei tarvita.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.wild-mobile.com/eng/viewproject.php?mid=b2d472166bbd3016587cfc659c792435&quot;&gt;SmartComGPS&lt;/a&gt; on näppärä Symbian ohjelma navigointiin, jossa on myös suomenkielinen käyttöliittymä. Lisäksi jo aikaisemmin lataamani syvyyskartat saa helposti siirrettyä siihen.
&lt;/p&gt;
&lt;p&gt;
Ladataan SmartComGPS 1.5 for Series 60 3-rd edition
&lt;/p&gt;
&lt;pre&gt;wget http://www.wild-mobile.com/files/download/smartcomgps-1.5-s60v3.zip
unzip smartcomgps-1.5-s60v3.zip&lt;/pre&gt;
&lt;p&gt;
Siirrä ja asenna tiedosto SmartComGPS-s60v3.SIS puhelimeen bluetoothilla kts. &lt;a href=&quot;http://www.mopedia.co.uk/2007/12/bluetooth-file-transfer-in-ubuntu.html&quot;&gt;ohje&lt;/a&gt; 
Parin viikon kokeiluun saa sarjanumeron &lt;a href=&quot;http://www.wild-mobile.com/eng/addtriallicense.php?operation_id=aad48bc64ac3829d58bff32524944a27&quot;&gt;täältä&lt;/a&gt; eikä nykyisellä dollarin kurssilla lisenssin hintakaan päätä huimaa 40$ on vain noin 26€. 
&lt;/p&gt;
&lt;p&gt;
SmartComGPS hakemistosta löytyy ohjelma ogf2tool.exe, jolla kartat saa muunnettua ogf2 muotoon. Wine valittaa MFC42.DLL kirjaston puutteesta, joten konvertoin kartat &lt;a href=&quot;http://www.virtualbox.org&quot;&gt;VirtualBox&lt;/a&gt;iin asennetussa XP:ssä. 
&lt;/p&gt;
&lt;p&gt;
Sitten vain siirretään map ja ogf2 tiedostot puhelimeen hakemistoon Data\SmartComGPS\maps ja kännykästä saatiin muutamalla eurolla karttaplotteri. Nokia E60 näytön suuri resoluutio (352 x 416 pikseliä) pääsee oikeuksiinsa karttakäytössä, varsinkin kun poistaa näytöltä kaiken muun informaation valikosta GPS - Näkymä - Ulkoasu (tekstit) - Ei mitään  
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Wed, 23 Jul 2008 15:02:00 +0300</pubDate>
    <guid isPermaLink="false">http://www.xestia.net/blog/index.php?/archives/4-guid.html</guid>
    
</item>
<item>
    <title>Wine + Seaclear II &amp; OziExplorer</title>
    <link>http://www.xestia.net/blog/index.php?/archives/2-Wine-+-Seaclear-II-OziExplorer.html</link>
            <category>Bluetooth</category>
            <category>GPS</category>
            <category>Kalastus</category>
            <category>Ubuntu</category>
    
    <comments>http://www.xestia.net/blog/index.php?/archives/2-Wine-+-Seaclear-II-OziExplorer.html#comments</comments>
    <wfw:comment>http://www.xestia.net/blog/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.xestia.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (xestia)</author>
    <content:encoded>
    &lt;p&gt;
Jatkoa karttaplotteri projektille. SeaClear II ja OziExplorer vaativat winen
&lt;/p&gt;
&lt;pre&gt;sudo aptitude install wine&lt;/pre&gt;
&lt;p&gt;
Asennetaan Seaclear
&lt;/p&gt;
&lt;pre&gt;cd ~/.wine/drive_c
wget http://www.sping.com/seaclear/sc_setup.exe
wine sc_setup.exe&lt;/pre&gt;
&lt;p&gt;
ja OziExplorer
&lt;/p&gt;
&lt;pre&gt;cd ~/.wine/drive_c
wget http://www.oziexplorer3.com/eng/downloads/395/oziexp_setup.exe
wine oziexp_setup.exe&lt;/pre&gt;
&lt;p&gt;
Tehdään symbolinen linkki com4 winen sarjaportiksi
&lt;/p&gt;
&lt;pre&gt;cd ~/.wine/dosdevices
ln -s /dev/rfcomm4 com4

tai vaihtoehtoisesti

sudo ln -sb /dev/rfcomm4 /dev/ttyS3&lt;/pre&gt;
&lt;p&gt;
Sarjaportti määritellään SeaClearin valikosta Tools - Properties 
ja sieltä Comm välilehti. Määrittelin sarjaportiksi (PC Port) Com4 ja sarjaportin nopeudeksi 
(BPS) 38400 joka löytyi GPS mokkulan manuaalista. 
&lt;/p&gt;
&lt;p&gt;
OziExplorerissa sarjaportti määritellään valikossa Tiedosto - Konfigurointi ja COM välilehti.
Määrittelin Com portti = 4, Parity = None ja Stop bits = 1. Lisäksi valitsin GPS välilehdeltä
GPS malliksi &#039;vain NMEA&#039;, koordinaatistoiksi WGS 84 ja Baud rateksi 38400.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 12 Jul 2008 21:16:00 +0300</pubDate>
    <guid isPermaLink="false">http://www.xestia.net/blog/index.php?/archives/2-guid.html</guid>
    
</item>
<item>
    <title>Bluetooth GPS Ubuntuun</title>
    <link>http://www.xestia.net/blog/index.php?/archives/1-Bluetooth-GPS-Ubuntuun.html</link>
            <category>Bluetooth</category>
            <category>GPS</category>
            <category>Kalastus</category>
            <category>Ubuntu</category>
    
    <comments>http://www.xestia.net/blog/index.php?/archives/1-Bluetooth-GPS-Ubuntuun.html#comments</comments>
    <wfw:comment>http://www.xestia.net/blog/wfwcomment.php?cid=1</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.xestia.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    

    <author>nospam@example.com (xestia)</author>
    <content:encoded>
    &lt;p&gt;
Lomat lähenee, &lt;a href=&quot;http://www.buster.fi/&quot;&gt;Buster&lt;/a&gt; odottelee rannassa ja kalapaikoille täytyy löytää. Siis aloitellaan projekti, jossa &lt;a href=&quot;http://www.seaclear.net/&quot;&gt;Seaclear II&lt;/a&gt;/&lt;a href=&quot;http://www.oziexplorer.com/&quot;&gt;OziExplorer&lt;/a&gt;,  &lt;a href=&quot;http://www.pocketgpsworld.com/gr236.php&quot;&gt;Holux GPSlim GR-236&lt;/a&gt; bluetooth GPS mokkula ja 64-bittinen Ubuntu Hardy &lt;a href=&quot;http://www.asus.com/products.aspx?l1=5&amp;l2=26&amp;l3=270&amp;l4=0&amp;model=1665&amp;modelmenu=1&quot;&gt;ASUS A8E&lt;/a&gt; kannettava viritellään toimimaan karttaplotterina.
&lt;/p&gt;
&lt;p&gt;
Ensin virrat Holuxiin ja bluetooth kannettavassa käyntiin 
&lt;/p&gt;
&lt;pre&gt;sudo /etc/init.d/bluetooth start&lt;/pre&gt;
&lt;p&gt;
ja mokkulan osoite selville komennolla
&lt;/p&gt;
&lt;pre&gt;hcitool scan
Scanning ...
	00:0B:0D:14:41:9E	HOLUX GPSlim236&lt;/pre&gt;
&lt;p&gt;
ja lisää informaatiota mokkulasta komennolla
&lt;/p&gt;
&lt;pre&gt;sdptool browse 00:0B:0D:14:41:9E

Browsing 00:0B:0D:14:41:9E ...
Service Name: SPP slave
Service Description: Bluetooth SPP V1.42
Service RecHandle: 0x10000
Service Class ID List:
  &quot;Serial Port&quot; (0x1101)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100&lt;/pre&gt;
&lt;p&gt;
Osoite ja channel talteen ja lisätään tiedostoon /etc/bluetooth/rfcomm.conf 
&lt;/p&gt;
&lt;pre&gt;rfcomm4 {
        bind yes;
        device 00:0B:0D:14:41:9E;
        channel 1;
        comment &quot;Holux GPSlim GR-236 Serial Port&quot;;
}&lt;/pre&gt;
&lt;p&gt;
Sitten vielä bluetooth restart
&lt;/p&gt;
&lt;pre&gt;sudo /etc/init.d/bluetooth restart&lt;/pre&gt;
&lt;p&gt;
Komennolla rfcomm nähdään mokkula portissa /dev/rfcomm4
&lt;/p&gt;
&lt;pre&gt;rfcomm4: 00:0B:0D:14:41:9E channel 1 clean&lt;/pre&gt;
&lt;p&gt;
Asennetaan gpsd ja gpsd-clients sekä käynnistetään gpsd taustalle
&lt;/p&gt;
&lt;pre&gt;sudo aptitude install gpsd gpsd-clients
sudo gpsd -b -n /dev/rfcomm4&lt;/pre&gt;
&lt;p&gt;
gpsctl kertoo seuraavaa
&lt;/p&gt;
&lt;pre&gt;gpsctl: /dev/rfcomm4 identified as Generic NMEA at 9600&lt;/pre&gt;
&lt;p&gt;
Komento xgps ja paikkatieto löytyi &lt;img src=&quot;http://www.xestia.net/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
&lt;/p&gt;
&lt;p&gt;
Jatkossa perehdytään &lt;a href=&quot;http://www.winehq.org&quot;&gt;Winen&lt;/a&gt;, &lt;a href=&quot;http://www.seaclear.net/&quot;&gt;SeaClearin&lt;/a&gt;, &lt;a href=&quot;http://www.oziexplorer.com/&quot;&gt;OziExplorerin&lt;/a&gt; ja karttojen asennukseen.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 08 Jul 2008 15:23:34 +0300</pubDate>
    <guid isPermaLink="false">http://www.xestia.net/blog/index.php?/archives/1-guid.html</guid>
    
</item>

</channel>
</rss>