I am trying to send over 20 bytes in ionic ble native without success, first of all I send without response and then this response but still not working how I do this?
var newSend=this.myInput.match(/.{1,19}/g);
console.log(newSend);
for(var i = 0 ; i<newSend.length ; i++){
  var ddd = newSend[i].buffer;
  this.sendingtext=newSend[i];
console.log(i,newSend.length);
if(i == (newSend.length-1)){
  this.ble.write(bID, bService, bCharacteristic, ddd).then(
    function(data){
    //  console.log( this.myInput);
      console.log("write",data);
    }
  );
}else{
  this.ble.writeWithoutResponse(bID, bService, bCharacteristic, ddd).then(
    function(data){
    //  console.log( this.myInput);
      console.log("writeWithoutResponse",data);
    }
  );
}
 
     
     
    