Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 1347ec3

Browse files
author
danicampora
committed
GoogleIOT: Add missing library headers.
1 parent 96af79b commit 1347ec3

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

GoogleIOT/flash/config.example.py

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
''' Set here you setup config in this example
212
'''
313
CONFIG = {

GoogleIOT/flash/google_iot_core.py

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
''' A MQTT wrapper for Google Cloud IoT MQTT bridge
212
Extended from umqtt.robust by Paul Sokolovsky with wrap of Google credentials
313

GoogleIOT/flash/main.py

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
''' Example Google IoT Core connection
212
'''
313
import utime

GoogleIOT/flash/umqtt.py

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
'''umqtt is a simple MQTT client for MicroPython.
212
Original code: https://github.com/micropython/micropython-lib/tree/master/umqtt.simple'''
313
import time

0 commit comments

Comments
 (0)