Author Topic: How can I do BLE communication between two RFduinos?  (Read 1303 times)

Sana

  • RFduino Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How can I do BLE communication between two RFduinos?
« on: October 18, 2015, 10:27:51 PM »
 Hi everyone,

I am a beginner for RFduino.
I have some question about BLE communication of RFduino.

I want to communicate data between RFduino and RFduino via BLE. I see some sample code, but many of these use smartphone to use BLE. I do not know that how RFduino recieves advertisementdata. Is it possible to communicate two RFduinos via BLE?

Thanks,

Sana
 

bsiever

  • RFduino Full Member
  • ***
  • Posts: 89
  • Karma: +4/-0
    • View Profile
Re: How can I do BLE communication between two RFduinos?
« Reply #1 on: October 19, 2015, 06:03:53 AM »
BLE uses a "central" (bus master) which can communicate with multiple "peripherals" (slaves).  The RFduino acts as a peripheral (slave), so they can not communicate with each other using BLE with the RFduino API.  Typically a mobile device, like a cell phone, acts as the central.  I believe the hardware itself may be capable of acting as a central, but you would need to investigate the lower-level Nordic APIs.

The RFduino also supports Gazell (GZLL).  RFduinos can communicate with each other via Gazelle.  See: http://forum.rfduino.com/index.php?topic=329.0

  Bill

 

anything