Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/factana/fogwing-mqtt-connector-c-lang

Fogwing MQTT client in C language.
https://github.com/factana/fogwing-mqtt-connector-c-lang

c fogwing iot linux mqtt-client windows

Last synced: 7 days ago
JSON representation

Fogwing MQTT client in C language.

Awesome Lists containing this project

README

        

## Fogwing-mqtt-client-c-lang (windows & linux)

**Notes:-** These SDKs are currently in preview and are subject to change.

### Pre-requisites:
- [MQTTClient.h](https://github.com/eclipse/paho.mqtt.c)
- [json.h](https://github.com/json-c/json-c)

### Step: 1
- [Setup C/C++ IDE](https://visualstudio.microsoft.com/).

### Step: 2
- [Install vcpkg manager](https://vcpkg.io/en/getting-started.html) and above mentioned libraries.

### Step: 3
- Download the [fw_mqtt_conn.c](https://github.com/factana/fogwing-mqtt-connector-c-lang/blob/main/fw_mqtt_conn.c).

### Step: 4
- Enter the [Fogwing](https://portal.fogwing.net/) IoTHub credentials.

### Step: 5
- Create build and run the client.

**Note:-** Provided everything goes in line with the above mentioned
instructions,you will be able to see a message that reads
**successfully published** in command line.

### Step: 6

- Now you are ready to analyze your data at [Fogwing Platform](https://portal.fogwing.net/) portal,
you can check all the data within the data storage in the portal.

**Note:-** To create C++ build of [fogwing-mqtt-client](https://github.com/factana/fogwing-mqtt-connector-c-lang/blob/main/fw_mqtt_conn.c), please follow the below link https://github.com/eclipse/paho.mqtt.cpp#building-the-paho-c-library-1 .

Please visit https://www.fogwing.io/industrial-iot-platform/ for more information about Fogwing Industrial IoT Platform.