it is impossible to subscribe in the aws_iot/subscribe_publish example..
Posted: Sun Dec 31, 2017 4:09 pm
publish works well, but subscribe does not work.
aws_iot_mqtt_subscribe(&client, SUB_TOPIC, SUB_TOPIC_LEN, QOS0, iot_subscribe_callback_handler, NULL) returns SUCCESS, but iot_subscribe_callback_handler callback function is not called when I publish to topic "1" in the aws iot console.
Of course, I set SUB_TOPIC to "1" and remainders(CA, policy, attach and so on..) appropriately.
Ia not AWS Iot subscribe implemented yet?
aws_iot_mqtt_subscribe(&client, SUB_TOPIC, SUB_TOPIC_LEN, QOS0, iot_subscribe_callback_handler, NULL) returns SUCCESS, but iot_subscribe_callback_handler callback function is not called when I publish to topic "1" in the aws iot console.
Of course, I set SUB_TOPIC to "1" and remainders(CA, policy, attach and so on..) appropriately.
Ia not AWS Iot subscribe implemented yet?