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:
[x] I have tested my changes. No regression in existing tests.
[x] My code is formatted using Uncrustify.
[x] I have read and applied the rules stated in CONTRIBUTING.md.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
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.