With WiFi you can control which device can connect to your WiFi device by managing which devices know the SSID+wpa2 couple. Is it possible to do the same thing in bluetooth?
In other words, I want to be able to do with Bluetooth what I do in WiFi by connecting two devices with a default SSID+wpa2, once the connection is established, automatically generate new SSID+wpa2 and share this couple to control which others devices can connect.
Related
I'm workig on an issue where my device running Linux with bluez is connected to a mobile phone over bluetooth. It also communicates to the phone over BLE with an android application. What I want is to disconnect the legacy connection while keeping the BLE connection active. I tried with org.bluez.Device1 interface with method DisconnectProfile(string uuid). Is there a way to get a list of registered UUIDs which I can use to disconnect the ones related to legacy connection while keeping the GATT profile active?
Hello.
I have recently been trying to mount a home automation station on a raspberry.
I need to communicate with the station via SMS. To do this, I order a 3G dongle (UMTS / GSM / 3G / 4G etc ...) operating on the country's network (verified frequencies). I connect to the network via wifi. But when connecting the 3G dongle, here I am blocked on access to Wifi.
My first question is therefore: is this normal?
And my second is: is it possible to make both work in parallel?
Thx all
It depends on the exact use case or requirement and type of device in hand.
In general, the device will choose/use the wireless connection with better connectivity strength as per its design/specification and also it depends on the support at device.
In case you have the option of WiFi Hotspot tethering enabled, it is possible that most of the devices nowadays allow you to use 3G for the internet communication and at the same time, it allows WiFi hotspot sharing with the help of WiFi from your device.
Also, few devices have support for file sharing between device to device whereby they provide support for wifi direct and wifi sharing while 3G connectivity with internet is still fine. Few devices from Samsung, support an application called "Download Booster" that allows your device to download files using WiFi connection and a mobile data connection simultaneously.
Few devices from Apple starting iOS 7 introduced Multipath TCP enables users to have their streaming music to never get interrupted while on high mobility or in trains and other vehicles with changing connectivity whereby no manual switch from between WiFi and Cellular is required in which case, the device shall stay connected over both cellular and WiFi simultaneously and whenever the WiFi connection fails, the cellular connection shall continue with streaming operation without any interruption.
There is also a app called 'Speedify' in android that uses channel bonding technology to combine multiple Internet connections together for increased throughput & redundancy and thereby it can merge WiFi and Cellular connection simultaneously. Here, a Speedify client software is used to establish a connection to a Speed Server in cloud that acts as a middleman between you and the rest of the internet. The Speedify client software then works together with Speed Server to distribute your internet traffic and deliver the combined speed of all available internet connections.
I've been tinkering with the HM-10 board for a few weeks now, trying to push data from phone to module and vice-versa. The ultimate goal was to enable the BLE mode and tweak with the characteristics and GATT profiles. I'm pretty new to this domain so can anyone help me out ?
And is there any way we can interface the HM-10 with the hardware rx-tx channel instead of soft-serial ?
Your question is still not very clear, but i think you mean sending AT-commands over BLE-radio.
To make this possible you have to change the MODE using serial connection.
In standard mode the device can only be configured over the serial connection (pins RXD and TXD) using AT commands.
AT+MODE0: It only accepts AT-commands over the serial connection (RXD/TXD)
until a central device connects to the module.
AT+MODE1: Same as MODE0, once a connection is established,
AT-commands can be sent over BLE and manipulate some PIO pins on
the device.
AT+MODE2: Same as MODE0, once a connection is established,
AT-commands can be sent over BLE.
To test it just send a string to hm-10 as "AT\r\n" and it will respond with OK.
Update:
You cannot change the services and characteristics with AT-commands.
There are a lot of other things you can change,like advertising, setup a beacon and change a lot of settings.
For a full list of AT commands and more see the official data sheet:
http://www.jnhuamao.cn/bluetooth41_en.zip
I develop a app which discovers a network topology and draw it programmaticly with java and SNMP4j
I send CDP and LLDP requests to devices and analyze result of this. However there are devices which has not support CDP or LLDP(like Access Point) therefor I cannot discover it. I must show it as unkown device.
Thanks to CDP and LLDP I know which device is on which port. To understand unknown device is on which port,
I need a oid to learn up and down ports of the Switch with SNMP or another method.
I use SNMP4J
The table dot1dTpFdbTable (1.3.6.1.2.1.17.4.3) shows which MAC addresses can be reached on which ports.
Two things to watch out for: it is not supported by all devices and it does not only list the connected devices but also everything connected to those devices.
I was just wondering if i could connect 2 usb devices together that are both connected to the same pc. Instead of the pc being connected, i want to have the devices connected together as if they were directly connected through cable. I ask this because I actually don't have a cable converter right now to connect my Android to the PS3 controller, then suddenly i came with the idea of doing it like this. Just like a network bridge.