For one of my project I am looking for a way to do Multiple BLE Peripheral Simulation. I need the Peripheral will do Advertise only. No BLE Connect needed. I know Apps like LightBlue or BLE-Utility but that can do simulate only 1 Peripheral at a time. Is there any Mobile or Win8 App or any other way to do Multiple (Say 25) Peripheral Simulation simultaneously?
Thanks in advance.
Regards.
Related
I have an Arduino MEGA2560, I hooked it up to a BLE module HM-19 through serial. I can send AT commands and receive responses from the HM-19 successfully.
I have a BLE Smart wristwatch. This BLE smart wristwatch stores my Daily steps, Heart rate & Blood Oxygen.
I can send AT commands to my HM-19 BLE module to successfully connect to my BLE Smart wristwatch. However, after connecting/pairing the HM-19 and the smart wristwatch there doesn't seem to be much I can do.
Question: What AT commands do I have to send to read the wristwatches BLE services and characteristics?
I want to read the daily step counts, heart rate, blood oxygen, battery percentage, etc.
Does anyone know how?
From looking at the documentation for the HM-19 module it looks like it might be difficult to do what you are looking for as the product looks like it focuses on supporting UART over BLE.
The only customisation is what UUIDs are used for the two UART characteristics.
I have bought an HC-12 module, but as much as I have investigated I have not found a way that a Raspberry Pi with a bluetooth detector called bluelog can detect it.
What do I have to do so that HC-12 wired to a Arduino can be detected with the bluetooth scanner?
How to set HC-12 in 'discoverable' mode?
Thank you
HC12 is a 433MHz transceiver. Bluetooth operates at 2.4GHz
What you're trying to do is impossible and doesn't make any sense.
There are other modules like HC05 or HC06 that communicate via Bluetooth. Your HC12 does not. You'll need a second of those transceivers to establish a connection between the Arduino and Raspberry PI.
This will give you up to 1km of range at lower bandwidth while Bluetooth only works across several meters.
So pick whatever suits your requirements best. A HC12 alone won't do much.
Maybe you should spend a few minutes on researching how radio transmission works befor you buy any equipment.
Recently i have started working on BLE for a upcoming project. i will describe the overall system first.
We have a approx 100 BLE device placed in small compartment (all are within the radio range of each other), and have one central device / gateway which will also has BLE and wifi (within the range of all 100 BLE device). we want to update some small amount of data from all 100 BLE devices to cloud through central device / gateway and vice versa. So the question is :-
which BLE network topology would be best suitable for such application?
If i am going for ADVERTISE / SCAN topology, is it possible to collect the data of all the 100 BLE
device ?
For such number of device is over the air firmware update possible through single gateway ?
IS it possible that gateway can request each BLE device one by on and collect data ?
Basically is it possible to collect data of applox. 100 BLE devicesin connection less mode ?
As we are new to BLE development, correct me if my understating is wrong.
Thanks In Advance !!
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'm having the hardest time to get the solution of the following problem.
Main issue:
Several smartphones(up to 30) must communicate with a MCU at the same time.
System overview:
There are many rooms(each room is a cabinet that 30 people can go into), and every cabinet will have one MCU for the smartphone users.
MCU will control some device of the cabinet.
The scenario of this system is as follows:
1. The users go into the cabinet.
2. Smartphone app will recognize the MCU(or MCU will recognize the smartphone) and the MCU will send some data to the smartphone and this data will be noticed to the user.
3. User inputs some data at the smartphone app and this data will be sent to the MCU to control the cabinet device.
4. Up to 30 people can go into the cabinet at the same time and the system should handle all the users simultaneously.
I'm going to develop smartphone application and MCU firmware for this system.
My thought:
I'm thinking to use Arduino/RFduino/Raspberry Pi as MCU and I'm thinking to use Bluetooth LE/Wifi/3G as communication material.
I've tried the following solutions
1. Using bluetooth low energy on Arduino/RFduino/Raspberry Pi.
MCU will be BLE peripheral and my smartphone app will be BLE central.
But I found that a BLE peripheral can only be connected to a BLE central at the same time so I can't use this method.
2. Using wifi on Raspberry Pi
I think that Raspberry Pi can run web service and my smartphone app can communicate with the server through http.
But every time the smartphone user go into the Raspberry Pi based wifi-zone, the user should select the wifi-hotspot at the network setting if he registered this wifi already, and the user should register the wifi-hotspot if this is the first time at the wifi-zone(cabinet).
This is very inconvenient for the users so can't be used for me.
3. Using 3G network on Raspberry Pi
Unfortunately, there's no 3G signal in the cabinet so I can't use this method.
I'm looking forward your kind answer.
Any hints or comments will be welcome.
Thanks for your attention.
Thanks for your answer in advance.
Toltori Kim
Well... I'd go with wifi. And QR codes.
I'd make either a single wifi network for all the cabinets (so only one set of credentials, or even an open one - without security) and then the app can connect to the raspberries using a sort of authentication (where the credentials are written in a QR code inside the cabinet) or a wifi network for each cabinet and its credentials are written in a QR code.
I'd use the first one, maybe without security. So the user has just to go in the cabinet, connect to the common wifi, make a photo at the qr code and then can use the RPi