Skip to content

Instantly share code, notes, and snippets.

@brimston3
brimston3 / MQTTTransport_mbedTLS.cpp
Created September 12, 2017 15:08
paho.mqtt.embedded-c (C++) with mbedTLS example
/*******************************************************************************
* Copyright 2017 Andrew Domaszek
*
* All rights reserved.
* This program made available under BSD-new.
*******************************************************************************/
/**
* This example is designed for Linux, using such calls as setsockopt and gettimeofday.
* On embedded, it's likely that all of the mbedtls_net_* functions would need to be