istic.writeValue(handshake);
                    log("Sent RideOn handshake");

                    // Set up notifications
                    await measurementChar.startNotifications();
                    measurementChar.addEventListener(
                        "characteristicvaluechanged",
                        (event) => {
                            handleMessage(event.target.value);
                        },
                    );

                    await responseChar.startNotifications();
    