Receive data from BLE (HM10 module/Arduino)

Ask, and ye shall receive.
avip
Posts: 12
Joined: 17:48, 06 Apr 2015

Re: Receive data from BLE (HM10 module/Arduino)

Postby avip » 04:23, 04 Jun 2015

Finally all is working with this change:
internal.notificationCallback = function(data)
{

// Read input value.
var buf = new Uint8Array(data);
var encodedString = String.fromCharCode.apply(null, buf), decodedString = decodeURIComponent(escape(encodedString));
var value = encodedString;
$('#ArduinoStatus').html('Analog value of pin is: ' + value)
var callback = internal.analogPinCallbacks[0];
callback && callback(value)


};

DonPancoe
Posts: 25
Joined: 06:53, 20 Nov 2014
Location: Philadelphia, PA, USA
Contact:

Re: Receive data from BLE (HM10 module/Arduino)

Postby DonPancoe » 15:31, 04 Jun 2015

Glad you got it figured out.

Don

4ntoine
Posts: 2
Joined: 08:36, 04 Oct 2015

Re: Receive data from BLE (HM10 module/Arduino)

Postby 4ntoine » 08:37, 04 Oct 2015

With free(mium) Apploader app you can even upload from iOS devices to Arduino board over BLE:
http://www.apploader.info


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 57 guests