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)
};
Receive data from BLE (HM10 module/Arduino)
Re: Receive data from BLE (HM10 module/Arduino)
Glad you got it figured out.
Don
Don
Re: Receive data from BLE (HM10 module/Arduino)
With free(mium) Apploader app you can even upload from iOS devices to Arduino board over BLE:
http://www.apploader.info
http://www.apploader.info
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 49 guests