mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
Update: Add Client Address to CONNECT reject error message.
Update: comment out the generating CONNACK reply. Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -78,6 +78,17 @@ SensorNetAddress& SensorNetAddress::operator =(SensorNetAddress& addr)
|
||||
return *this;
|
||||
}
|
||||
|
||||
char* SensorNetAddress::sprint(char* buf)
|
||||
{
|
||||
char* pbuf = buf;
|
||||
for ( int i = 0; i < 8; i++ )
|
||||
{
|
||||
sprintf(pbuf, "%02X", _address64[i]);
|
||||
pbuf += 2;
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
||||
/*===========================================
|
||||
Class SensorNetwork
|
||||
============================================*/
|
||||
|
||||
Reference in New Issue
Block a user