<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Virtuelle COM Ports für Bluetooth Kommunikation (PC)]]></title><description><![CDATA[<p>Guten Abend C++ community.</p>
<p>Ich bin gerade an einem Testprojekt. Ich habe ein Bluetooth-plug und eine Menge Virtuelle COM Ports. Ich bin nicht wirklich neu was COM Port Kommunikation angeht aber hier scheint es sich zu zeigen.</p>
<p>Ich habe ein ganze einfaches Snippet:</p>
<pre><code class="language-cpp">HANDLE hPort;
hPort = CreateFile(&quot;\\\\.\\COM4&quot;, GENERIC_READ|GENERIC_WRITE, NULL, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if(m_hPort == INVALID_HANDLE_VALUE)
{
cout &lt;&lt; &quot;unable to open Port&quot; &lt;&lt; endl;
}
</code></pre>
<p>Da stolpert das Program schon also das öffnen funktioniert nichtmal... mit Hyperterminal kann ich mich zwar verbinden - sobald ich aber was tippe bleibt auch Hyperterminal hängen. Es gibt auch eine Bluetooth API aber wollte nur versuchen ob das per &quot;einfacher&quot; seriellen Komunikation klappen würde... macht den Anschein nicht obwohl ich erwartet hätte das es funktioniert. Ich habe schon des öfteren Geräte über Virtuelle COM Ports angesteuert (Kabel).. aber Bluetooth scheint anders zu handhaben sein..</p>
<p>ein Tipp? Hoffe das passt ins WinAPI - war etwas unschlüssig bei der Forenwahl... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>MfG<br />
Rico</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173409/virtuelle-com-ports-für-bluetooth-kommunikation-pc</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 02:10:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173409.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Feb 2007 20:04:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Virtuelle COM Ports für Bluetooth Kommunikation (PC) on Wed, 14 Feb 2007 20:04:40 GMT]]></title><description><![CDATA[<p>Guten Abend C++ community.</p>
<p>Ich bin gerade an einem Testprojekt. Ich habe ein Bluetooth-plug und eine Menge Virtuelle COM Ports. Ich bin nicht wirklich neu was COM Port Kommunikation angeht aber hier scheint es sich zu zeigen.</p>
<p>Ich habe ein ganze einfaches Snippet:</p>
<pre><code class="language-cpp">HANDLE hPort;
hPort = CreateFile(&quot;\\\\.\\COM4&quot;, GENERIC_READ|GENERIC_WRITE, NULL, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if(m_hPort == INVALID_HANDLE_VALUE)
{
cout &lt;&lt; &quot;unable to open Port&quot; &lt;&lt; endl;
}
</code></pre>
<p>Da stolpert das Program schon also das öffnen funktioniert nichtmal... mit Hyperterminal kann ich mich zwar verbinden - sobald ich aber was tippe bleibt auch Hyperterminal hängen. Es gibt auch eine Bluetooth API aber wollte nur versuchen ob das per &quot;einfacher&quot; seriellen Komunikation klappen würde... macht den Anschein nicht obwohl ich erwartet hätte das es funktioniert. Ich habe schon des öfteren Geräte über Virtuelle COM Ports angesteuert (Kabel).. aber Bluetooth scheint anders zu handhaben sein..</p>
<p>ein Tipp? Hoffe das passt ins WinAPI - war etwas unschlüssig bei der Forenwahl... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>MfG<br />
Rico</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1229063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1229063</guid><dc:creator><![CDATA[rico.k]]></dc:creator><pubDate>Wed, 14 Feb 2007 20:04:40 GMT</pubDate></item></channel></rss>