mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-14 07:56:52 +01:00
Start on embedded MQTT-SN gateway
This commit is contained in:
33
MQTTSNGateway/src/main.cpp
Normal file
33
MQTTSNGateway/src/main.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* main.cpp
|
||||
*
|
||||
* Created on: Jan 5, 2016
|
||||
* Author: icraggs
|
||||
*/
|
||||
|
||||
|
||||
void read_config()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
|
||||
// 1. listen for MQTT-SN connections
|
||||
|
||||
// 2. connect to MQTT broker
|
||||
|
||||
// 3. listen for MQTT-SN packets, and act on them
|
||||
// 4. listen for MQTT packets too, and act on them
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user