Skip to content

Conversation

@brentru
Copy link
Member

@brentru brentru commented Oct 10, 2019

Instead of exposing setCert/setPSK in nina-fw as commands, I'm adding two booleans to esp32spi.py instead, set_psk/set_crt.

This is for checking if a user has set a certificate and/or psk prior to establishing a connection with a server.

@brentru brentru requested a review from a team October 10, 2019 13:42
Copy link
Contributor

@jerryneedell jerryneedell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test this at this time, but the changes look good to me.

@brentru brentru merged commit 602250a into adafruit:master Oct 10, 2019
@jerryneedell
Copy link
Contributor

Just a thought -- Is there ever a situation where you would want to clear this setting?

@brentru
Copy link
Member Author

brentru commented Oct 10, 2019

@jerryneedell Possibly if wifi.connect with an incorrect cert/key pair and fails.

@jerryneedell
Copy link
Contributor

ah, but the user can just do that.
x.set_psk = False

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 10, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 3.0.1 from 3.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#78 from brentru/add-cert-psk-bools

Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel to 3.4.0 from 3.3.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_NeoPixel#53 from caternuson/spi_neopixel

Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.4.2 from 3.4.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#35 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#34 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_FancyLED to 1.3.2 from 1.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_FancyLED#14 from devoh747/devoh747
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