How to send data from RFduino to app?

Ask, and ye shall receive.
André
Posts: 2
Joined: 21:29, 10 Oct 2015

How to send data from RFduino to app?

Postby André » 21:50, 10 Oct 2015

The RFduino LED On/Off shows how to send data from the app to RFduino. The app uses device.writeDataArray and the RFduino uses RFduinoBLE_onReceive(char *data, int len).

Now I want to send data to the app. I guess the RFduino can use RFduinoBLE.send(). But I do not know how the app can receive this.

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: How to send data from RFduino to app?

Postby Fredrik » 22:50, 30 Oct 2015

This guy can recieve some data. So in short, device.enableNotification('00002221-0000-1000-8000-00805f9b34fb', ...) should work.

André
Posts: 2
Joined: 21:29, 10 Oct 2015

Re: How to send data from RFduino to app?

Postby André » 21:12, 06 Nov 2015



Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 19 guests