FreeRTOS Community » AWS
74 FOLLOWERS
All discussions in this forum are related to the Amazon Web Services specific libraries, FreeRTOS on AWS console, or connectivity to AWS IoT Core using FreeRTOS.
FreeRTOS Community » AWS
2w ago
Hi,
I’d a small question about the new AWS OTA library. Specifically, in the OTA-Agent Orchestrator, I can’t see any MQTT subscription calls. In the simple OTA Orchestrator, a MQTT subscription is done just after the call to mqttDownloader_init. I assume there should still be calls to subscribe to the jobs and stream topics…
Am I missing something there ?
1 post - 1 participant
Read full topic ..read more
FreeRTOS Community » AWS
1M ago
When I update OTA, met error [iot_thread] Error: No OTA data buffers available. Why do the error happen, how do fix it?
And [ERROR] Firmware signature verification may have failed. Which happen, because error above. I think so. Is it true?
2 posts - 2 participants
Read full topic ..read more
FreeRTOS Community » AWS
3M ago
We are using self-signed certificates for code signing our OTA devices. This certificate has expired and we want to update all our devices with the new certificates.
This certificate is hardcoded in the OTA devices which is not allowing us to update it in any other way.
Your help in this matter will be highly appreciated.
1 post - 1 participant
Read full topic ..read more
FreeRTOS Community » AWS
4M ago
I am working up to IOT on AWS and trying to implement things in stages on my target processor. I am simply trying to establish TLS MQTT communication with test.mosquitto.org.
I am running the MQTT_Basic_TLS demo in Microsoft Visual Studio and it appears that the Ethernet/TCP and TLS interfaces are connecting but then I get errors when it tries to establish MQTT communication. (see below)
I am not sure what I can change to make things work.
Any guidance would be much appreciated.
13 6726 [IP-Task] TCP: active 29527 => 91.121.93.94:8883 set ESTAB (scaling 1)
Socket 29527 → 91.121.93.94:8883 S ..read more
FreeRTOS Community » AWS
4M ago
Hi,
AWS has provided sample applications for AWS IoT features in this repo. I am trying to run telemetry, device shadow & jobs applications in multiple threads with same priority. I am creating server connection and mutual authentication as common before creating threads for applications as below,
I have declared structure variable for socket as global and same socket connection i am trying to use in different threads, but i couldn’t achieve want i want to i.e., running telemetry, device shadow & jobs applications in different threads parallelly. Below is screenshot of threads creat ..read more
FreeRTOS Community » AWS
8M ago
Hi
I am using Amazon FreeRTOS MQTT V2.1.0.
When I frequently unplug and plug the LAN port, there are rare times when it does not return from the MQTT_AGENT_Connect() function.
It stops at the following process.
call MQTT_AGENT_Connect()
callback function is executed. xMQTTEvent is eMQTTAgentDisconnect
no return from MQTT_AGENT_Connect()
Does anyone know about this phenomenon?
Thanks
1 post - 1 participant
Read full topic ..read more
FreeRTOS Community » AWS
9M ago
Hi, I am looking for subscribing to a topic example without TLS(like plaintext), In the SDK I see a sample(plaintext) where it subscribes and publishes to the same topic to get the subscription working, Can anyone please get me an example which does subscribe to a topic and waits till it receives a published message from the broker?
2 posts - 2 participants
Read full topic ..read more
FreeRTOS Community » AWS
9M ago
Hi, I have been trying to set up the FreeRTOS AWS reference integration over the past few days. Currently, I have come across an issue where I get MQTTRecvFailed constantly, with nothing sent to AWS IoT Core. The output of the terminal is below:
I (1125) wifi:set rx beacon pti, rx_bcn_pti: 14, bcn_timeout: 14, mt_pti: 25000, mt_time: 10000
I (1155) wifi:idx:0 (ifx:0, 04:42:1a:9e:31:01), tid:6, ssn:1, winSize:64
I (1305) wifi:AP’s beacon interval = 102400 us, DTIM period = 1
I (1315) wifi:sta rx csa, newchan=2, old=2
I (1615) wifi:sta rx csa, newchan=2, old=2
I (1625) wifi:idx:1 (ifx:0, 04:42:1 ..read more
FreeRTOS Community » AWS
10M ago
Hi,
I am using the aws ota update feature of AWS IoT Core.
while following the process when the device publishes the “GetStream” message, it gets rejected by the broker, and AWS Cloudwatch traces show the “Invalid CBOR message”.
I have attached the snaps for the AWS Cloudwatch traces.
Kindly help me out in debugging the issue.
3 posts - 3 participants
Read full topic ..read more
FreeRTOS Community » AWS
1y ago
I don’t understand if the AWS CloudWatch Agent running locally includes a spooler to save metrics and logs in case of temporary connection loss. I was unable to locate it anywhere in the documentation, and I am unable to do a meaningful test to determine whether it is effective in the first person.
Thanks!
2 posts - 2 participants
Read full topic ..read more