# aaaos **Repository Path**: hyrpr/aaaos ## Basic Information - **Project Name**: aaaos - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-23 - **Last Updated**: 2020-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AAAOS The Operation System (OS) base on ESP8266_RTOS_SDK ## How to OTA ### Create a OTA server for test ### * openssl req -x509 -newkey rsa:2048 -keyout ca_key.pem -out ca_cert.pem -days 365
* openssl rsa -in ca_key.pem -out ca_key.pem
* cp ca_cert.pem ../esp/server_certs/
### Run OTA server ### * openssl s_server -WWW -key ca_key.pem -cert ca_cert.pem -port 8070
### Test OTA server ### * curl -v https://[ip]:[port]/[file]
### Error code ### * -0x7f00 : MBEDTLS_ERR_SSL_ALLOC_FAILED
* -0x7200 : MBEDTLS_ERR_SSL_INVALID_RECORD, Buffer too low
### Mosqutto ### mosquitto_sub -v -d -h mqtt.eclipse.org -t dev/up/#