Author Topic: Needed: Simple App that will echo back what I send to RFDuino  (Read 1303 times)

slaxx

  • RFduino Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Hello,

Can someone point me to some RFduino code that I can program to my arduino that will simply echo back whatever I send it via the Android application "RFDuino Test"  (I need to make sure it is working)

Thanks!

MattG

  • RFduino Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Needed: Simple App that will echo back what I send to RFDuino
« Reply #1 on: September 03, 2015, 11:11:31 AM »
There are example apps like this:

<yourhomedironaMac>/Library/Arduino15/packages/RFduino/hardware/RFduino/2.3.1/libraries/RFduinoBLE/examples/Template/Template.ino

that has all the call backs. All you need to do is put a:

RFduinoBLE.send((char)data,len);

in the RFduinoBLE_onReceive callback.

 

anything