RTWparticle (community library)

Summary

Name Value
Name RTWparticle
Version 1.1.5
Installs 210
License GNU LGPL
Author Martin Wahlbergmartinwahlberg@icloud.com
Download .tar.gz
All Versions 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 1.0.9, 1.0.8, 1.0.7, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.1, 0.3.6

RTWparticle.h - Library for sending and recieving data over RTW. Created by Martin Wahlberg, January 18, 2019.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

spark_websockets

Websockets implementation for Spark Core, ported from Arduino WebSocketClient

How to use :

#include Spark-Websockets/Spark-Websockets.h

WebSocketClient client;


void onMessage(WebSocketClient client, char* message) {
Serial.print("Received: ");
Serial.println(message);
}


/* This function is called once at start up ----------------------------------*/
void setup()
{
Serial.begin(9600);
while(!Serial.available()); // Wait here until the user presses ENTER in the Serial Terminal

client.onMessage(onMessage);
client.connect("echo.websocket.org");
}

void loop()
{
client.monitor();
delay(3000);
client.send("Hello World!");
}

Browse Library Files