收到xy自动缩放

Dependencies:   MQTT SDFileSystem WIZnet_Library mbed

Fork of wmx_laser by w mx

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers networking.h Source File

networking.h

00001 #pragma once
00002 
00003 #include "MQTTSocket.h"
00004 #include "MQTTClient.h"
00005 
00006 typedef MQTT::Client<MQTTSocket,Countdown> MClient;
00007 typedef void (*recv_ctl_cb)(const char*, const char*);
00008 
00009 int networking_init(MQTTSocket &sock, MClient &client, const char *broker,const char* sensors[][2], const char* actuators[][2], recv_ctl_cb cb);
00010 void publish_value(MClient &client, const char *topic, const char *buf);