<?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 Re: PAN Server Setup in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PAN-Server-Setup/m-p/1262313#M172607</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept my apologies, Bluez is not supported by us but you may find it helpful to refer to the following link:&amp;nbsp;&lt;A href="https://raspberrypi.stackexchange.com/questions/108120/host-web-server-on-raspberry-pi-via-bluetooth-pan" target="_blank" rel="noopener"&gt;https://raspberrypi.stackexchange.com/questions/108120/host-web-server-on-raspberry-pi-via-bluetooth-pan&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Ivan.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 21:28:33 GMT</pubDate>
    <dc:creator>IvanRuiz</dc:creator>
    <dc:date>2021-04-14T21:28:33Z</dc:date>
    <item>
      <title>PAN Server Setup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PAN-Server-Setup/m-p/1260649#M172459</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am trying to setup a typical Bluez PAN server on an IMX8 Mini, NXP kernel version&amp;nbsp;4.19.35 and Bluez 5.54. Unfortunately, most of the tutorials for this involve the pand daemon, which was deprecated in Bluez 5. I realize that both of my kernel and Bluez versions are outdated. For internal reasons these are the versions I have to use.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My command list.&lt;/P&gt;&lt;P&gt;// Start the Bluetooth daemon&lt;BR /&gt;cd /usr/libexec/bluetooth&lt;BR /&gt;./bluetoothd -d &amp;amp;&lt;/P&gt;&lt;P&gt;// Enable the Network1 and NetworkServer1 D-bus interfaces in&amp;nbsp;/etc/dbus-1/system.d/bluetooth.conf&lt;/P&gt;&lt;P&gt;dbus-send --system --dest=org.bluez /org/bluez/hci0 --type=method_call org.bluez.NetworkServer1.Register string:"nap" string:"tether"&lt;/P&gt;&lt;P&gt;// Create the network bridge that Bluez wants to see.&lt;/P&gt;&lt;P&gt;ip link add name tether type bridge&lt;BR /&gt;ip link set tether up&lt;/P&gt;&lt;P&gt;// Start the debug monitor&lt;/P&gt;&lt;P&gt;btmon &amp;amp;&lt;/P&gt;&lt;P&gt;// Launch the PAN server&lt;/P&gt;&lt;P&gt;bluetoothctl&lt;BR /&gt;power on&lt;BR /&gt;scan on&lt;BR /&gt;pairable on&lt;BR /&gt;discoverable on&lt;BR /&gt;discoverable-timeout 0&lt;BR /&gt;agent DisplayYesNo&lt;BR /&gt;default-agent&lt;/P&gt;&lt;P&gt;trust (my phone's BT address)&lt;/P&gt;&lt;P&gt;I am able to pair from an Android Smartphone. Upon trying to use the Bluetooth connection as an internet connection, I see ARP packets appear through btmon. The bnep0 interface never appears, however, and the following error message appears in the btmon printout:&amp;nbsp;&lt;/P&gt;&lt;P&gt;= bluetoothd: bnep: Can't add bnep0 to the bridge tether: Invali.. 302.610684&lt;BR /&gt;= bluetoothd: BNEP server cannot be added 302.610724&lt;/P&gt;&lt;P&gt;Upon digging into this error, I found that it was emanating from a SIOCBRADDIF ioctl that was throwing error 22 (Invalid Argument).&amp;nbsp;&lt;SPAN&gt;Has anyone had any luck setting up a basic PAN server on Bluez 5.5X?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 14:53:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PAN-Server-Setup/m-p/1260649#M172459</guid>
      <dc:creator>pbloemer</dc:creator>
      <dc:date>2021-04-12T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: PAN Server Setup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PAN-Server-Setup/m-p/1262313#M172607</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept my apologies, Bluez is not supported by us but you may find it helpful to refer to the following link:&amp;nbsp;&lt;A href="https://raspberrypi.stackexchange.com/questions/108120/host-web-server-on-raspberry-pi-via-bluetooth-pan" target="_blank" rel="noopener"&gt;https://raspberrypi.stackexchange.com/questions/108120/host-web-server-on-raspberry-pi-via-bluetooth-pan&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Ivan.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 21:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PAN-Server-Setup/m-p/1262313#M172607</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2021-04-14T21:28:33Z</dc:date>
    </item>
  </channel>
</rss>

