Network MQTT interface definitions. More...
Network MQTT interface definitions.
Definition in file paho_mqtt.h.
Include dependency graph for paho_mqtt.h:Go to the source code of this file.
Data Structures | |
| struct | Timer |
| struct to get time references within mqtt paho More... | |
| struct | Network |
| Network struct within mqtt paho. More... | |
| struct | Mutex |
| Mutex struct within mqtt paho. More... | |
| struct | Thread |
| Thread struct within mqtt paho. More... | |
Macros | |
| #define | MQTT_THREAD_PRIORITY (THREAD_PRIORITY_MAIN - 1) |
| RIOT's mqtt paho thread priority. | |
| #define | MQTT_THREAD_STACKSIZE (THREAD_STACKSIZE_LARGE) |
| RIOT's mqtt paho thread stack size. | |
| #define | MQTT_YIELD_POLLING_MS (30) |
| MQTT thread YIELD polling time in msecs. | |
Typedefs | |
| typedef struct Network | Network |
| Network struct within mqtt paho. | |
Functions | |
| void | TimerInit (Timer *timer) |
| Initialize timer struct. More... | |
| char | TimerIsExpired (Timer *timer) |
| is timer expired? More... | |
| void | TimerCountdownMS (Timer *timer, unsigned int msecs) |
| start timer set to milli seconds More... | |
| void | TimerCountdown (Timer *timer, unsigned int secs) |
| start timer set to seconds More... | |
| int | TimerLeftMS (Timer *timer) |
| Returns millisecs left in timer. More... | |
| void | NetworkInit (Network *n) |
| Initialize network struct. More... | |
| int | NetworkConnect (Network *n, char *address_ip, int port_number) |
| Connect network to host. More... | |
| void | NetworkDisconnect (Network *n) |
| Disconnect network. More... | |
| void | MutexInit (Mutex *mutex) |
| Initialize mutex struct. More... | |
| int | MutexLock (Mutex *mutex) |
| Locks mutex struct. More... | |
| int | MutexUnlock (Mutex *mutex) |
| Unlocks mutex struct. More... | |
| int | ThreadStart (Thread *thread, void(*fn)(void *), void *arg) |
| Start new thread. More... | |