Skip to content

Instantly share code, notes, and snippets.

@copa2
copa2 / eurka-client-server-chat.txt
Last active June 17, 2016 12:02
Communicatoin between Eureka Client (Angel.SR6) with Eureka Server (Brixton.SR1 Patched) with metataMap.instanceId
> GET /eureka/apps/ HTTP/1.1
< 200 OK
< {"applications":{"versions__delta":"1","apps__hashcode":"","application":[]}}
------ 30 seconds later ------
> GET /eureka/apps/ HTTP/1.1
< 200 OK
< {"applications":{"versions__delta":"1","apps__hashcode":"","application":[]}}
@copa2
copa2 / wpstest.ino
Created April 25, 2016 20:23
Example for WPS connection with https://github.com/esp8266/Arduino
#include <ESP8266WiFi.h>
void setup() {
Serial.begin(115200);
delay(1000);
Serial.printf("\nTry connecting to WiFi with SSID '%s'\n", WiFi.SSID().c_str());
WiFi.mode(WIFI_STA);
WiFi.begin(WiFi.SSID().c_str(),WiFi.psk().c_str()); // reading data from EPROM, last saved credentials
while (WiFi.status() == WL_DISCONNECTED) {