iotkit-embedded icon indicating copy to clipboard operation
iotkit-embedded copied to clipboard

不能进入订阅回调函数

Open haohanlin opened this issue 6 years ago • 1 comments

在君正x1000 平台中跑Linux 系统,然后使用这个套件。同时我订阅3个,但是每次只能一个使用。如果我管其中两个(随意两个),剩下的都可以进入回调函数。但是如果三都开,就两个有问题。但是在event_handle函数中有提示topic message arrived but without any related handle。说明有接收到,但是没有进入回调函数。这是什么原因呢

haohanlin avatar Mar 14 '18 10:03 haohanlin

您好,套件有一个限制需要使用者保存subscribe topic的内存,请不要使用临时变量来定义subscribe的topic。

lifang870603 avatar Mar 21 '18 08:03 lifang870603