the push is modified as follows:

1. delete some junk files.
2. mqttclient added comments and updated to v1.0.2.
3. update README.md.
4. update the author's own server certificate.
5. minor changes to salof.
This commit is contained in:
jiejieTop
2020-03-21 21:47:08 +08:00
parent c0cb4460b7
commit 476e0dec02
43 changed files with 1100 additions and 15612 deletions

View File

@@ -2,15 +2,15 @@
* @Author: jiejie
* @Github: https://github.com/jiejieTop
* @Date: 2019-12-09 21:31:02
* @LastEditTime : 2020-01-14 03:38:32
* @LastEditTime: 2020-02-25 03:49:11
* @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
*/
#ifndef _NETWORK_H_
#define _NETWORK_H_
#include "mqtt_config.h"
#include "mqtt_defconfig.h"
#if MQTT_NETWORK_TYPE_TLS
#ifdef MQTT_NETWORK_TYPE_TLS
typedef struct network_ssl_params {
const char *ca_crt;
size_t ca_crt_len;
@@ -31,7 +31,7 @@ typedef struct network_ssl_params {
typedef struct network_params {
char *addr;
char *port;
#if MQTT_NETWORK_TYPE_TLS
#ifdef MQTT_NETWORK_TYPE_TLS
network_ssl_params_t network_ssl_params;
void *nettype_tls_params;
#endif /* MQTT_NETWORK_TYPE_TLS */