onalServices: [
                            "0000180f-0000-1000-8000-00805f9b34fb", // Battery Service
                            "0000180a-0000-1000-8000-00805f9b34fb", // Device Information
                            "0000fc82-0000-1000-8000-00805f9b34fb", // Custom Service
                        ],
                    });

                    log(`Device name: ${device.name}`);
                    log(`Device ID: ${device.id}`);

                    statusDiv.textContent = "Status: Connecting...";
   