aqhome: removed unused and unneeded code.
This commit is contained in:
@@ -61,8 +61,8 @@ static void _checkSocketsWhenConnected(GWEN_MSG_ENDPOINT *ep, GWEN_MSG_ENDPOINT
|
||||
|
||||
|
||||
GWEN_MSG_ENDPOINT *AQH_MqttClientEndpoint_new(const char *clientId,
|
||||
const char *host, int port,
|
||||
const char *name, int groupId)
|
||||
const char *host, int port,
|
||||
const char *name, int groupId)
|
||||
{
|
||||
GWEN_MSG_ENDPOINT *ep;
|
||||
GWEN_MSG_ENDPOINT *epChild;
|
||||
@@ -155,34 +155,6 @@ uint16_t AQH_MqttClientEndpoint_GetNextPacketId(const GWEN_MSG_ENDPOINT *ep)
|
||||
|
||||
|
||||
|
||||
const char *AQH_MqttClientEndpoint_GetTopicPrefix(const GWEN_MSG_ENDPOINT *ep)
|
||||
{
|
||||
if (ep) {
|
||||
GWEN_MSG_ENDPOINT *epChild;
|
||||
|
||||
epChild=GWEN_MsgEndpoint_Tree2_GetFirstChild(ep);
|
||||
if (epChild)
|
||||
return AQH_MqttEndpoint_GetTopicPrefix(epChild);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void AQH_MqttClientEndpoint_SetTopicPrefix(GWEN_MSG_ENDPOINT *ep, const char *s)
|
||||
{
|
||||
if (ep) {
|
||||
GWEN_MSG_ENDPOINT *epChild;
|
||||
|
||||
epChild=GWEN_MsgEndpoint_Tree2_GetFirstChild(ep);
|
||||
if (epChild)
|
||||
AQH_MqttEndpoint_SetTopicPrefix(epChild, s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void _addSockets(GWEN_MSG_ENDPOINT *ep, GWEN_SOCKETSET *readSet, GWEN_SOCKETSET *writeSet, GWEN_SOCKETSET *xSet)
|
||||
|
||||
Reference in New Issue
Block a user