Commit Graph

94 Commits

Author SHA1 Message Date
anecdata
6bb17bb179 Add basic ADC calibration. 2019-10-17 00:12:35 -05:00
anecdata
b9c66fa1b1 Convert pin to ADC1 channel. 2019-10-14 00:32:48 -05:00
anecdata
5687201ec9 Add setAnalogRead type & command handler. Add core analogRead function. 2019-10-13 21:32:06 -05:00
anecdata
b90bbd6349 Add setDigitalRead command handler type and command handler. 2019-10-13 14:13:15 -05:00
Brent Rubell
e813fbe664 Merge pull request #13 from brentru/add-ESP-33
Update nina-fw to ESP-IDF 3.3 (LTS)
2019-10-09 12:36:34 -04:00
brentru
cd594a1617 update sdkconfig, documentation for ESP-IDFv3.3. Makefile load-nina reflects latest firmware version 2019-10-09 11:39:24 -04:00
Limor "Ladyada" Fried
08bdc03880 Merge pull request #11 from brentru/certificate-work
Extending WifiSSLClient
2019-10-08 23:06:47 -04:00
brentru
97b8ce167d update combine.py to 1.4.0 2019-10-08 22:58:47 -04:00
brentru
133f48dd74 fix release cflags to be less verbose 2019-10-08 16:46:18 -04:00
brentru
2934d32d1f revert to standard sdkconfig 2019-10-08 16:42:31 -04:00
brentru
d900dae127 private _handshake_timeout, set to reflect arduino-esp32 WiFiClientSecure by default 2019-10-08 16:41:11 -04:00
brentru
c0e30f4192 strip out uf2s, generalize makefile 2019-10-08 16:24:42 -04:00
brentru
8be4f3dbed set the cert/key given a known socket within startClientTCP 2019-10-08 13:32:24 -04:00
brentru
33bfa15fc8 use key provided from code instead 2019-10-08 13:06:05 -04:00
brentru
5256ea5247 Bumping TLS RX buffer back up, 16384 bytes instead of 8182 bytes 2019-10-08 12:51:06 -04:00
brentru
7217c83ed1 set user-provided buffer 2019-10-08 12:44:19 -04:00
brentru
3bd209446a add private key from WifiSSLClient into CommandHandler instead 2019-10-08 12:33:43 -04:00
brentru
cce35ecb74 set certificate within CommandHandler, setCertKey call for certificate 2019-10-08 12:18:14 -04:00
brentru
0d6137a8a9 drop char buffer sizes down to more realistic sizes 2019-10-08 11:23:54 -04:00
brentru
ac197818d3 set certificate sizes, works 2019-10-08 11:14:11 -04:00
brentru
54939b773e add extra prints, \n at tend of printfs 2019-10-07 17:00:28 -04:00
brentru
3be514d04d const char -> char 2019-10-07 16:54:59 -04:00
brentru
369381ecf0 making const chars globals, working connection to AWS IOT broker 2019-10-07 16:48:11 -04:00
brentru
40b46f1329 add printing for final deallocation() 2019-10-03 16:01:46 -04:00
brentru
c697543815 remove free() call, causes errors, remove Bluetooth in menuconfig 2019-10-03 14:51:08 -04:00
brentru
58bfe02bcb remove AWS_CERT_CRT, add check for heap into handler 2019-10-03 14:25:47 -04:00
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