adafruit / nina-fw

Firmware for u-blox NINA W102 WiFi/BT module
85 stars 43 forks source link

Add root CA cert for Adafruit IO, July 2023 #51

Closed brentru closed 1 year ago

brentru commented 1 year ago

Tested with WiFi Test, 1.7.5 recognized.

ESP32 SPI webclient test
ESP32 found and in idle mode
Firmware vers. bytearray(b'1.7.5\x00')
MAC addr: ['0xc4', '0x83', '0x11', '0x12', '0xcf', '0xa4']
[SNIP OF WIFI SSIDs]
Connecting to AP...
Connected to Transit    RSSI: -57
My IP address is 192.168.1.168
IP lookup adafruit.com: 104.20.38.240
Ping google.com: 20 ms
Fetching text from http://wifitest.adafruit.com/testwifi/index.html
----------------------------------------
This is a test of Adafruit WiFi!
If you can read this, its working :)
----------------------------------------

Fetching json from http://api.coindesk.com/v1/bpi/currentprice/USD.json
----------------------------------------
{'time': {'updated': 'Jul 21, 2023 17:37:00 UTC', 'updatedISO': '2023-07-21T17:37:00+00:00', 'updateduk': 'Jul 21, 2023 at 18:37 BST'}, 'disclaimer': 'This data was produced from the CoinDesk Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org', 'bpi': {'USD': {'code': 'USD', 'description': 'United States Dollar', 'rate_float': 29884.8, 'rate': '29,884.7767'}}}
----------------------------------------
Done!
brentru commented 1 year ago

Tested Adafruit IO SimpleTest (https://learn.adafruit.com/adafruit-pyportal/internet-connect#wifi-manager-3034791)

Posting data...{'created_at': '2023-07-21T17:41:04Z', 'id': '0FBTZPH0R0RHHNRMXJDM13H7RJ', 'expiration': '2023-09-19T17:41:04Z', 'created_epoch': 1689961264, 'feed_id': 997503, 'value': '0', 'feed_key': 'test'}
OK
Posting data...{'created_at': '2023-07-21T17:41:19Z', 'id': '0FBTZPNT5WVS46RS0KFTFXWKYN', 'expiration': '2023-09-19T17:41:19Z', 'created_epoch': 1689961279, 'feed_id': 997503, 'value': '1', 'feed_key': 'test'}
OK
Posting data...{'created_at': '2023-07-21T17:41:35Z', 'id': '0FBTZPTK5DDM7FVD577J0WRN6Z', 'expiration': '2023-09-19T17:41:35Z', 'created_epoch': 1689961295, 'feed_id': 997503, 'value': '2', 'feed_key': 'test'}
OK

On Adafruit.io... IO_-_Overview