Skip to content

Instantly share code, notes, and snippets.

View simap's full-sized avatar

Ben Hencke simap

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<label>ESP IP: <input id="ip" type="text" value="192.168.1.223"></label><br>
<button onclick="connect();">Connect</button><br>
@simap
simap / headerToPayload=false
Created July 26, 2018 02:28
Test results w arduino websockets using headerToPayload
//working
//4096b payload with headerToPayload=false
//8000b free memory before connect, 7704 after connect
//browser sees all 40 binary frames
write 4 left 0!
write 3840 left 256!
write 0 failed left 256!
write 0 failed left 256!