• Hi,
    I'll remove the line of code concerning the

    writer.WriteByte(0x01);
    

    and test as you suggest!
    This is instead my js code running on Bangle:

    g.setFontAlign(0,0); 
    g.setFont("Vector",25);
    var gatt;
    NRF.on('connect', function(addr) {
      g.clear();
      g.setColor(255,0,0);
      g.drawString("Connected", g.getWidth()/2, g.getHeight()/2);
      setTimeout(()=>g.clear(), 1000);
    });
    
    Bluetooth.on('data', function(d) { g.drawString(d, g.getWidth()/2, g.getHeight()/2); });
    
    NRF.on('disconnect', function(reason) {
      g.clear();
      g.setColor(0,0,255);
      g.drawString("Disconnected", g.getWidth()/2, g.getHeight()/2);
      setTimeout(()=> g.clear(), 1000);
    });
    

    Is Bluetooth.on() called once the BLE received packets ?

About

Avatar for Riccardokhm @Riccardokhm started