2

Firstly, I am very beginner in BLE domain. I have very little knowledge about it.

I have Adafruit Feather 32u4 Bluefruit LE module.

I want to do a project where multiple BLE peripheral devices connected with a central BLE device(Andriod phone). Each peripheral device collecting data from the different sensors, like first peripheral interfacing with humidity sensor second peripheral device interfacing with a light sensor so on..

I need to collect data from all peripheral devices into my central device. It will be best if I can collect the data from different peripherals simultaneously. If it is not possible to collect the data simultaneously then what procedure I should follow that it seems that data collection going on a simultaneous manner.

My question is how to achieve my objective. What is the way and which algorithm I need to achieve this?

6
  • Sounds like an obvious case for MQTT ? Failing that, roll your own and use a CRUD HTTP(s) RESTful API to a server on your Android Sep 13, 2019 at 6:44
  • 1
    Hi, @Mawg I didn't get you clearly. Can you please explain it bit more. Sep 13, 2019 at 9:56
  • Personally, I would use MQTT If you don't want to, you can just use HTTP GET or PUT e.g http:my_server.com/write_value.php?value=XX Sep 14, 2019 at 13:00
  • 1
    @Mawg, nrf51 does not support wifi. Sep 16, 2019 at 12:56
  • 1
    @Prayuktibid, you can also put your BLE devices on indirect advertising. That way you can scan them with your phone and get data without a connection. Things go waay easier like this. Sep 16, 2019 at 12:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.