Skip to content

Instantly share code, notes, and snippets.

View jacobrosenthal's full-sized avatar

Jacob Rosenthal jacobrosenthal

View GitHub Profile
var util = require('util');
var stream = require('stream');
var SEND_INTERVAL = 500;
var CHECK_INTERVAL = 50;
function sendLoop(ssp){
var delta = Date.now() - ssp.lastCheck;
ssp.lastCheck = Date.now();
@jacobrosenthal
jacobrosenthal / gist:85f1adb4cd056ae03671
Created May 9, 2014 21:00
Good Skynet connection log
Connecting TCP
POST /socket.io/1/ HTTP/1.1
Host: skynet.im
HTTP/1.1 200 OK
Content-Type: text/plain
Date: Fri, 09 May 2014 20:58:52 GMT
Connection: keep-alive
Transfer-Encoding: chunked
GET /socket.io/?EIO=3&transport=polling&t=1403805269554-0&b64=1 HTTP/1.1
User-Agent: node-XMLHttpRequest
Accept: */*
Host: 192.168.112.21:3000
Connection: close
HTTP/1.1 200 OK
Content-Type: text/plain; charset=UTF-8
Content-Length: 100
Access-Control-Allow-Origin: *
GET /socket.io/?EIO=3&transport=polling&t=1403806279775-0&b64=1 HTTP/1.1
User-Agent: node-XMLHttpRequest
Accept: */*
Host: 192.168.112.21:3000
Connection: close
HTTP/1.1 200 OK
Content-Type: text/plain; charset=UTF-8
Content-Length: 100
Access-Control-Allow-Origin: *
GET /socket.io/?EIO=3&transport=polling&t=1403806716116-0&b64=1 HTTP/1.1
User-Agent: node-XMLHttpRequest
Accept: */*
Host: 192.168.112.21:3000
Connection: close
HTTP/1.1 200 OK
Content-Type: text/plain; charset=UTF-8
Content-Length: 100
Access-Control-Allow-Origin: *
l“ú
Ǣ–t
---------------------------
SparkFun CC3000 - Ping Test
---------------------------
Sending:
0
0
0
0
---------------------------
SparkFun CC3000 - Ping Test
---------------------------
Sending:
0
0
0
0
0
Time [s],Packet ID,MOSI,MISO
0.164318916666667,0,0x00,0x10
0.164323166666667,0,0x00,0xF0
0.164387166666667,0,0x00,0x00
0.1643915,0,0x04,0x00
0.164394583333333,0,0x08,0x00
1.10288225,1,0x11,0x10
1.10288675,1,0x11,0x00
1.10289125,1,0x11,0x00
1.10289575,1,0x11,0x00
Time [s],Packet ID,MOSI,MISO
0.164271416666667,0,0x00,0x10
0.164275666666667,0,0x00,0xF0
0.164339666666667,0,0x00,0x00
0.1643425,0,0x42,0x00
0.16434675,0,0x02,0x00
1.10351858333333,1,0x11,0x00
1.10352308333333,1,0x11,0x00
1.10352758333333,1,0x11,0x32
1.10353208333333,1,0x11,0x08
Ao connect to SSID: Filthy Worm Babies
Attempting to connect to SSID: Filthy Worm Babies
Connected to wifi
SSID: Filthy Worm Babies
IP Address: 10.0.1.7
signal strength (RSSI):-61 dBm
Starting connection to server...
connected to server
HTTP/1.1 200 OK