Closed hassan-intretech closed 8 months ago
@hassan-intretech AWS IoT Core limits a single SUBSCRIBE request has a quota of 8 subscriptions. Please reference this document. https://docs.aws.amazon.com/general/latest/gr/iot-core.html#iot-protocol-limits
I build and test the demo 'mqtt_demo_mutual_auth' when I call 'MQTT_Subscribe' to subscribe a pGlobalSubscriptionList with size is more then 8, I got an error:
But if the size of pGlobalSubscriptionList is less than 8, I can subscribe and publish success.
Here is my code of subscribeToTopic function: