Skip to content

Initial Code - Google Cloud IoT Core #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 27, 2019
Merged

Conversation

brentru
Copy link
Member

@brentru brentru commented Aug 22, 2019

CircuitPython client library for interacting with Google Cloud IoT Core.

Cloud_Core

  • JWT generation with RTC network time
  • Generates Client Identifier from secrets.py file, used by MQTT_API

MQTT_API

  • Client for interacting with Google Cloud IoT Core's MQTT Bridge
    • Supports publishing telemetry data from a CircuitPython device to Google Cloud IoT Core
    • Supports receiving configuration data from Google Cloud IoT Core
    • Eclipse Paho-Like interface with helpers for subscribing to feeds, managing connection, control loops, and publishing data.

@brentru brentru requested a review from a team August 22, 2019 16:58
brentru added 3 commits August 22, 2019 17:17
@brentru
Copy link
Member Author

brentru commented Aug 22, 2019

@ladyada Pull request tested and updated to include CircuitPython_NTP (adafruit/Adafruit_CircuitPython_NTP#1), drops dependency for Adafruit IO.

@brentru
Copy link
Member Author

brentru commented Aug 23, 2019

@ladyada cleaned up and passing.

@brentru
Copy link
Member Author

brentru commented Aug 23, 2019

Connected MiniMQTT unsuback and suback callback methods from code.py within MQTT_API. Adding methods to handle unsubscribe'ing from feeds and unsubscribing from the default device commands mqtt wildcard feed

@brentru
Copy link
Member Author

brentru commented Aug 23, 2019

Removed # pylint: disable=protected-access line

@brentru
Copy link
Member Author

brentru commented Aug 27, 2019

@ladyada Requesting a review of this code, ran it the past day with a project.

@ladyada ladyada merged commit 6307e5c into adafruit:master Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants