Commit Graph

118 Commits

Author SHA1 Message Date
brentru
872f1cd1f3 inc. TLS Maximum Message Length to 8KB 2019-10-03 14:20:33 -04:00
brentru
eeb579fb9c add heap size check 2019-10-03 13:09:03 -04:00
brentru
fb9f9cc3bb reduced tls maximum message content length in menuconfig to 4KB 2019-10-03 13:07:14 -04:00
brentru
5c75800a83 print cert, return on error after free'ing 2019-10-03 12:49:20 -04:00
brentru
d2fa1ba9cc add MBEDTLS_SSL_ALLOC_FAILED error 2019-10-03 12:24:31 -04:00
brentru
ab949fe922 malloc and fail certificate 2019-10-03 12:13:43 -04:00
brentru
a7efa04365 start breaking out the handler 2019-10-02 17:40:41 -04:00
brentru
5dbda1a8be upload port as variable 2019-10-01 17:15:30 -04:00
brentru
3b9427b282 create connect(host,port) function 2019-10-01 16:25:22 -04:00
brentru
ae8a059e89 add verification for cert, freeup heap 2019-10-01 16:10:48 -04:00
brentru
beb3a98b05 removed ssl/tls handshake, replaced with one which honors ssl handshake timeout 2019-10-01 15:59:13 -04:00
brentru
e2761767e7 add loading/ for client key and certificate 2019-10-01 15:05:05 -04:00
brentru
4b30ab4284 print return code and more verbose errors, move things around to correspond with their logical steps 2019-10-01 14:44:49 -04:00
brentru
0b558d2ea3 move pers to h, add return code int 2019-10-01 14:22:13 -04:00
brentru
d7fb4c556e entropy init. incl. device-specific identifiers instead of NULL 2019-10-01 14:14:58 -04:00
brentru
f3cbd721cb add a handshake timeout, stop() should free the new clientCr and clientKey 2019-10-01 13:56:47 -04:00
brentru
ffbca9c1e3 add setCertificate, setPrivateKey, mbed headers 2019-10-01 13:42:09 -04:00
brentru
e26d792713 remove certificate malloc for now 2019-10-01 12:13:05 -04:00
brentru
ae2b0660ca upload-nina and upload-circuitpython 2019-10-01 12:04:18 -04:00
brentru
38a1cd7ee8 swap out esphelper for makefile commands to throw m4 into passthrough, upload via esptool, and start the serial 2019-10-01 11:34:04 -04:00
brentru
bd00a04d30 helper script for uploading uf2, flashing firmware, openin uart 2019-09-30 17:14:35 -04:00
brentru
65b4f7dd56 try debug level logging 2019-09-30 16:51:56 -04:00
brentru
95066a7d29 add UF2 for SerialPassThru with the AirLift FeatherWing 2019-09-30 16:50:23 -04:00
brentru
449e8ddd29 add setClientCert, setCertKey, add debug prints, define commands 2019-09-30 16:43:43 -04:00
Limor "Ladyada" Fried
47875b775a Merge pull request #5 from docmollo/docs_idf_cleanup
Various documentation cleanups
2019-05-19 19:19:07 -04:00
Dustin Mollo
b665dc1fdd minor cleanup 2019-04-24 15:48:25 -07:00
Dustin Mollo
e2df4fdb4e Updated README.md to incdicate use of Espressif's IDF v3.2; various other clean-ups 2019-04-24 15:44:09 -07:00
Limor "Ladyada" Fried
67980cf636 Merge pull request #4 from docmollo/docs_wpa2_enterprise
Firmware version tweaks
2019-04-06 20:08:36 -04:00
Dustin Mollo
93b4959250 Update firmware version number and mod'd combine.py to have version number in generated firmware file 2019-04-06 10:26:47 -07:00
Limor "Ladyada" Fried
e427aad6be Merge pull request #3 from docmollo/docs_wpa2_enterprise
Add initial WPA2 Enterprise support
2019-04-04 19:50:10 -04:00
Dustin Mollo
bb06eb887a ignore firmware files in top level 2019-04-04 13:19:11 -07:00
Dustin Mollo
2d853b81a4 WPA2 Enterprise additions 2019-04-04 13:10:14 -07:00
Limor "Ladyada" Fried
35966a57f9 Merge pull request #2 from jerryneedell/jerryn_nobin
remove .bin file
2019-02-28 14:42:29 -05:00
Jerry Needell
a5fcd5b435 remove .bin file 2019-02-28 14:31:37 -05:00
Limor "Ladyada" Fried
38dffb0ee9 Merge pull request #1 from jerryneedell/jerryn_version
update version to 1.2.2
2019-02-28 14:11:39 -05:00
Jerry Needell
db81c87f59 remove sdkconfig.old 2019-02-28 14:04:17 -05:00
Jerry Needell
2b31ee733a update version # to 1.2.2 2019-02-28 13:59:45 -05:00
ladyada
6179c0981d fix missing set hostname for TLS, update to latest IDF, add debug (can remove later) 2019-02-16 22:54:41 -05:00
ladyada
9e76479a7e change pin to not conflict with boot, add some debugs 2019-02-10 14:32:56 -05:00
Martino Facchin
a55c66afb4 Update to 1.2.1 2018-11-16 11:19:03 -05:00
Martino Facchin
35d4a3c84b Free BT memory if using only WiFi
Partially fixes https://github.com/arduino/nina-fw/issues/4.

Problem: default certificates are a lot (~70KB) and BT uses a lot of RAM even if just configured in menuconfig.
Avoid spurious certificates parsing and SSL errors by freeing bt memory if unused.
2018-11-16 16:53:55 +01:00
Sandeep Mistry
c9f1c51063 Version 1.2.0 2018-11-13 10:23:51 -05:00
Sandeep Mistry
8d43a385b9 Add changelog 2018-11-13 10:21:25 -05:00
Martino Facchin
bd556e24e4 Merge pull request #3 from sandeepmistry/bluetooth
Add support for BLE HCI UART mode
2018-11-13 16:13:11 +01:00
Sandeep Mistry
bd477c1d6b Fix DNS servers not sticking when static IP address is used 2018-11-13 09:07:53 -05:00
Sandeep Mistry
f83faa4fd2 Suspend task 2018-11-13 08:56:11 -05:00
Sandeep Mistry
25b73d5196 Erase NVS flash on init failure 2018-11-13 08:56:11 -05:00
Sandeep Mistry
7481928992 Build options for Uno WiFi Rev2 2018-11-13 08:56:11 -05:00
Sandeep Mistry
d718b1f539 Enable HCI UART mode on boot if SS is LOW 2018-11-13 08:56:11 -05:00
Sandeep Mistry
2aed17fc1e Version 1.0.0 -> 1.1.0 2018-10-04 11:51:11 -04:00