                responseChar.addEventListener(
                        "characteristicvaluechanged",
                        (event) => {
                            const value = new TextDecoder().decode(
                                event.target.value,
                            );
                            log(`Response: ${value}`);
                        },
                    );

                    device.addEventListener("gattserverdisconnected", () => {
                        statusDiv.textC