I have one device which works as beacon and another device(D2) which works in peripheral mode and communicate to smart phone as in connection mode.
Now I want to send my data from beacon to D2 which is in peripheral mode.
So is it possible to communicate between beacon and D2.
No it is not possible. A beacon is considered to be a peripheral device, and only a central device can scan/connect and read data from a peripheral device. As such, you cannot communicate between the beacon and D2 unless the D2 has central capabilities.
You can find more information here:-
BLE beacon technology made simple
Getting started with Bluetooth Low Energy
Bluetooth Low Energy: A primer
Related
I have a Bluetooth Low Energy Android app project here which works fine so far for most of my android smartphones. I use my BLE weather thermometer in my app anywhere within my room, it works.
Except for a Huawei P30 Lite deivce: With my Huawei I can not get a connection, except I place the BLE Thermometer on my right upper corner on my Huawei smartphone. I assume the Bluetooth antenna is located there in my smartphone?
Under linux I can configure my wifi transmission power like:
sudo iwconfig wlan0 txpower 30mW
Is there such a possibility to configure my Bluetooth Low Energy Android library?
It is not obvious from your question where the problem is. Typically in Bluetooth you have control of the power the peripheral advertises at, so that would be the BLE weather themometer in your case.
I would suggest looking at the HCI logs on the phones to see if they give more insight as to what the issue is.
I am amateur for GATT and ble.
I am using Linkit one board as central device and Nrf51 board as peripheral device. Central device successfully connecting with peripheral device, able to seach all Services UUID, Characteristic UUID, but it fails to read the characteristic value. Value which display on Linkit side it is not same as mentioned in nordic side.
I am able to get the characteristic value in nordic app and as well as nordic board as an peripheral device.
Linkitone as central device fails to read TX characteristic value of nordic uart service from any peripheral device. Even when I tried Linkitone as peripheral device and try to read the Nordic uart service value by nordic app, it fails. App get hanged every time.
Below I mentioned the value which gave to tx characteristic the value which is getting on central side. So is there any problem with Linkitone board with ble UART service or there is any different reason for this?
Having a computer with the bluetooth 4.0 supported (Lenovo thinkpad T450). I don't know if I can turn my computer to a Bluetooth Low Energy transmitter as a beacon Tag.
You can use BlueZ to send a beacon transmission. An example that transmits the AltBeacon format can be found here:
https://github.com/RadiusNetworks/altbeacon-reference/blob/master/altbeacon_transmit
Similar commands can be used to send other beacon formats as well.
From this book it says
A peripheral can be connected to multiple centrals.
can any BLE module do this? More specifically can bluegiga 112 do it? If not what are the BLE modules that can work as a peripheral connected to multiple devices?
The same book also states
Once the connection is established, the peripheral stops advertising and the two devices can begin exchanging data in both directions
so if the peripheral stops advertising how will it accept more connections as mentioned above? How will other scanners detect this peripheral?
Tim Tisdall is correct. That solution works for specification 4.1, but not for 4.0. As you mentioned above, you cannot establish a connection with a device that is not discoverable, and since it stops advertising upon connection establishment, it is impossible to have a peripheral connected to multiple centrals.
Any peripheral BLE device can "broadcast" it's attributes/characteristic values in GATT profile. So, any central device interested in the value can potentially "connect" to the BLE peripheral to get that broadcast message. So, that's what i believe is a use case for "A peripheral can be connected to multiple centrals."
I don't think the peripheral stops advertising it's presence just because it's connected to a certain central device. Any device can still see it's presence when it does a scan.
I want to receive rssi signal and UUID from iBeacon to Bluno which the Arduino board has BLE.
there are some questions for this.
Are there any solutions to receive UUID and rssi from BLE to BLE?
Is it possible to communicate two BLE device each other?
I want some sites to reference for this problem.
I also need to connect bluno with AR.Drone. Could you give me some advices for this?
thank you for your help
The Bluno has the ability to act as an iBeacon (transmitter), but it doesn't have the ability to receive iBeacon announcements and pass these to the Arduino.
BLE devices can communicate and can receive UUIDs and RSSIs, but it depends on the capability of the device and the interfaces it exposes. An iOS device, for example, exposes a very sophisticated BLE API. The Bluno board does not. It exposes a "serial port" to the Arduino and maps send/receive data to a set of BLE GATT characteristics. A pair of Bluno devices can be configured to act as a wireless serial link, or software on a computer or mobile device can exchange data with the Arduino via the bluetooth stack.
There is an AT command that will return the rssi of the paired device, but the documentation isn't clear as to whether this is available to the Arduino or only via the USB connection to a computer.
The best reference (such as it is) for the Bluno specifically, seems to be the DFRobot Wiki
I doubt you will be able to connect to the AR.Drone using Bluetooth Low Energy directly from a Bluno doesn't have Bluetooth LE. In theory you could connect another Bluno to the USB port on the AR.Drone and write software, but it would be simpler to get a WiFi shield for an Arduino and use the WiFi networking that is built in to the AR.Drone