主线#1512标签,编译提示找不到“NNG_OPT_MQTT_RETRY_INTERVAL”, 之前2.5.0版本都编译正常,是NanoSDK又升级版本了吗?应该升级到哪个版本?
看了nng/mqtt/mqtt_client.h 里面确实没有“NNG_OPT_MQTT_RETRY_INTERVAL”
/home/neuron/src/connection/mqtt_client.c:1200:47: error: ‘NNG_OPT_MQTT_RETRY_INTERVAL’ undeclared (first use in this function); did you mean ‘NNG_OPT_MQTT_RECEIVE_MAX’?
1200 | if ((rv = nng_socket_set_ms(client->sock, NNG_OPT_MQTT_RETRY_INTERVAL,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| NNG_OPT_MQTT_RECEIVE_MAX