Progress is being made; albeit a bit slowly.
- I've decided to go down this path as I to be sensible, i really need encryption ( TLS ) of the messages. there is a MQTT library ( WolfMQQT ) that is supplied with Harmony, but the moment that you use the Wolf Librarys you are into 'interesting' licencing territory that is largely incompatible with what I need/want to do.
Amazon uses mbedTLS, and that does not have the same license issues.
Now work starts on porting the aws_secure_sockets to use the sockets that are used in Harmony.
In order to make this an easy to use reference project, I am making modifications the the demo project that is supplied with Harmony 2.05.01 ( apps/rtos/freertos/tcpip_client_server_). Work to date is at https://github.com/mrpackethead/harmony_aws_freertos_mqtt
lease NOTE this is NOT yet working. there is still work to be done!
My project ends up at C:\microchip\harmony\v2_05_01\dev\rtos\freertos\harmony_aws_freertos_mqtt
In order to make this work a few things need to be installed;(1) The AWS
Librarys. I have installed them at
The easiest way to get this is to clone it from Github, which has the most recent versions;https://github.com/aws/amazon-freertos
Note that these librarys also include FreeRTOS, but it is the AWS Version which has been modified, and it is easier to use the generic FreeRTOS10.x(2) FreeRTOS 10.x;
Harmony 2.05.01 ships with FreeRTOS9.x Fortunately upgrading it to Version 10.x is very simple.
Download FreeRTOS from Source Forge ( https://sourceforge.net/projects/freertos/
). Copy the Folder 'FreeRTOS' when its expanded out ( FreeRTOSv10.0.1\FreeRTOS ) and use it to replace the FreeRTOS Folder that was installed with Harmony ( In my case it was C:\microchip\harmony\v2_05_01\third_party\rtos\FreeRTOS )