<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Rasp onboard Bluetooth as serial port</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/</id><updated>2022-06-09T06:52:56.966000Z</updated><subtitle>Recent posts to Rasp onboard Bluetooth as serial port</subtitle><entry><title>Rasp onboard Bluetooth as serial port</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/?limit=25#396e" rel="alternate"/><published>2022-06-09T06:52:56.966000Z</published><updated>2022-06-09T06:52:56.966000Z</updated><author><name>twofacexx</name><uri>https://forge.codesys.com/u/twofacexx/</uri></author><id>https://forge.codesys.com777a6ddd04b15c5260817a42a898f0513940affd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I'm also trying to read data from a BT device. I have a Rasp4B. Have you or anyone else already had success and could describe the procedure here.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Rasp onboard Bluetooth as serial port</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/?limit=25#ff19" rel="alternate"/><published>2021-11-26T00:27:16.280000Z</published><updated>2021-11-26T00:27:16.280000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.coma7b624314ffe3e725c60632b653524fe298cff62</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your reply.&lt;br/&gt;
I have Raspi 3b and 4.&lt;br/&gt;
if the bluetooth is UART0(ttyAMA0), could it be used as a serial com port?&lt;br/&gt;
i've read a post regarding "cmpCharDevice" library. do i have to use the library for the bluetooth or just Syscom library is enough?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Rasp onboard Bluetooth as serial port</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/?limit=25#ca09" rel="alternate"/><published>2021-11-25T12:05:47.627000Z</published><updated>2021-11-25T12:05:47.627000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.com66d0994a603ad3a2ab1d5718546662e5f8aba2c4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You didn't exactly mention which RASP variant you are using, but from RPI3 onwards UART0 is exclusive to the Bluetooth and UART1 is general purpose. Note that UART0 is an implementation based on the INTEL 16550 chipset whereas UART1 is a simplified version, implemented almost in softcore, but still works well.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Rasp onboard Bluetooth as serial port</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e78e47d5c0/?limit=25#2721" rel="alternate"/><published>2021-11-25T06:26:35.795000Z</published><updated>2021-11-25T06:26:35.795000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com01236bf8496d3557f27746c527a4eb5ac442d2ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I'd like to use Raspberry pi onboard bluetooth as a serial port.&lt;br/&gt;
My understanding is UART0(ttyAMA0) is allocated to the bluetooth in Rasp 3 or 4.&lt;/p&gt;
&lt;p&gt;So, does this mean i can use the bluetooth as any other serial devices for serial communication?&lt;/p&gt;
&lt;p&gt;I edited "/etc/CODESYSControl_User.cfg" as below and I would use SysCom library for serial communication.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysCom]&lt;/span&gt;&lt;br/&gt;
Linux.Devicefile.1=/dev/ttyAMA0 &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>