OpenStreetMap logo OpenStreetMap

mavl's Notes

Notes submitted or commented on by mavl

Id Creator Description Created at Last changed
4754114

R

4754337

s

4754360

ff

4751628

erewrewrewrwrw

4752572

JJLKJ

4749103

My locition

4749437

hgsue8iodejjurutj

4749856

Ad my locition

4750675

intent://gitlab.com/-/profile/personal_access_tokens#Intent;scheme=https;i.android.support.customConnectBTN.extra.VIN_VISIBILITY=GATT;
RAD.android.AUTO.custom.Com.Cs.Android.Auto.extra.+EXTRA_ENABLE_GATT_FUNCTION=true;iTunes_+Or(https:=*//wiki.openstreetmap.org/wiki/Tag:'Radio.sleuth.customtabs.extra.AiR_SHARE_STATE=NewProt(.@==%Vehicle;OnCatchALL!Bluetooth(..),($VIN@READ%1C4PJMDB5FW*(.ONALL[./VEHICLE.MODEL])),<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bluetooth GATT Radio Vehicle Connection</title>
</head>
<body>$Get.BluetoothSequence[!_BOOL 'button id', 'document.(Function.Device@<^#script>]
<button id="connectBtn">Connect to Bluetooth Device</button>

<script>
document.getElementById('connectBtn').addEventListener('click', async () => {
try {
// Request Bluetooth device
const device = await navigator.bluetooth.requestDevice({
filters: [{ services: ['GATT_CODE, @ECHO%data%'] }] // Sleuth Radio & Get Regenative Mode
});

// Connect to the GATT server
const server = await device.gatt.connect();
console.log('Connected to GATT Server:', server);

// Use XMLHttpRequest to send data
sendDataToServer(device.id);
} catch (error) {
console.error('Error:', error);
}
});

function sendDataToServer(deviceId) {
const xhr = new XMLHttpRequest();
const url = 'https://openmaps.org/api/data'; // Replace with your server URL

xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/json');

xhr.onreadystatechange = function() {
if (xhr.readyState === 4 && xhr.status === 200) {
console.log('Data sent successfully:', xhr.responseText);
}
};

4750764

Mmmmmmm