Bluetooth

General PhidgetSBC Discussion.
Dale K
Fresh meat
Posts: 1
Joined: Thu Dec 10, 2015 1:33 pm
Contact:

Bluetooth

Postby Dale K » Thu Dec 10, 2015 1:41 pm

We have an application where we want to connect wirelessly from a tablet to a Phidgets SBC with multiple interface kits attached. I saw the 802.11 adapters that would provide WiFi, but no Bluetooth. Is there any Bluetooth solution we could use in this environment? We don't really want to expose these units on an 802.11 WiFi network. We also may need to connect to multiple SBCs from the same tablet...

Thanks!

User avatar
Patrick
Lead Developer
Posts: 3046
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Bluetooth

Postby Patrick » Thu Dec 17, 2015 2:15 pm

You might consider getting a WiFi dongle for the SBC which supports master mode, and configuring the SBC itself as a wifi access point to connect to with your tablet. Getting IP over bluetooth working would be significantly more work.

-Patrick

speed
Phidgeteer!
Posts: 53
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: Bluetooth

Postby speed » Wed May 09, 2018 2:07 pm

can you tell us how to configure the SBC4 as a wifi access point?

speed
Phidgeteer!
Posts: 53
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: Bluetooth

Postby speed » Wed May 09, 2018 4:52 pm

I found another post, i think by Patrick, suggesting using hostapd, this worked great. i used this as a guide https://seravo.fi/2014/create-wireless-access-point-hostapd

speed
Phidgeteer!
Posts: 53
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: Bluetooth

Postby speed » Thu May 10, 2018 1:02 pm

Hostapd was working, but has now stopped and nothing I do will get it to start again. I did disable webif update using update-rc.d phidgetsbcwebif disable as suggested by Patrick. I am wondering if something else in the SBC setup or startup controls the wifi adapter. It still seems available on the web page. any help is appreciated.

speed
Phidgeteer!
Posts: 53
Joined: Thu Feb 26, 2004 12:16 pm
Contact:

Re: Bluetooth

Postby speed » Thu May 10, 2018 3:28 pm

It seems that wpa_supplicant is the issue. If I kill this process then hostapd works. I think i'll edit the /etc/wpa_supplicant/wpa_supplicant.conf file and see if that will somehow stop this from interfering. Any input on the correct way to handle this would be appreciated.

User avatar
Patrick
Lead Developer
Posts: 3046
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Bluetooth

Postby Patrick » Fri May 11, 2018 1:14 pm

You will also need to move/delete the file: /lib/udev/rules.d/60-usb-wifi.rules - this starts up wpa_supplicant when the USB dongle is plugged in / on boot.

-Patrick


Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests