mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-17 01:16:52 +01:00
Add: Two Gateway Test programs
BugFix: invalid pointer Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -222,7 +222,7 @@ void LMqttsnClient::setSleepDuration(uint32_t duration)
|
||||
|
||||
void LMqttsnClient::onConnect(void)
|
||||
{
|
||||
_subMgr.onConnect();
|
||||
_subMgr.onConnect();
|
||||
}
|
||||
|
||||
const char* LMqttsnClient::getClientId(void)
|
||||
@@ -230,6 +230,8 @@ const char* LMqttsnClient::getClientId(void)
|
||||
return _gwProxy.getClientId();
|
||||
}
|
||||
|
||||
|
||||
|
||||
uint16_t LMqttsnClient::getTopicId(const char* topicName)
|
||||
{
|
||||
return _gwProxy.getTopicTable()->getTopicId(topicName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user