Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem mbed
Fork of wmx_laser by
Diff: networking.h
- Revision:
- 8:edb685e9d93e
- Parent:
- 7:4c80e598d08c
- Child:
- 9:32f2dcaabdae
--- a/networking.h Mon Jul 23 06:28:17 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#pragma once - -#include "MQTTSocket.h" -#include "MQTTClient.h" - -typedef MQTT::Client<MQTTSocket,Countdown> MClient; -typedef void (*recv_ctl_cb)(const char*, const char*); - -int networking_init(MQTTSocket &sock, MClient &client, const char *broker,const char* sensors[][2], const char* actuators[][2], recv_ctl_cb cb); -void publish_value(MClient &client, const char *topic, const char *buf);
