aws / ota-for-aws-iot-embedded-sdk

MIT License
60 stars 74 forks source link

Replace mq_send/mq_receive with mq_timedsend/mq_timedreceive #433

Closed ActoryOu closed 2 years ago

ActoryOu commented 2 years ago

Replace mq_send/mq_receive with mq_timedsend/mq_timedreceive.

Description

To support timeout in posix, replace mq_send/mq_receive with mq_timedsend/mq_timedreceive. Tested by merging changes to aws-iot-device-sdk-embedded-C, pass OTA job in ota_demo_core_mqtt.

This PR is for #204.

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.