Compare commits
No commits in common. "5bce1b7d2a7a58d2f29c3836be7a2c281aaabc4c" and "4ce7f5fb0c0d8666045720bfa46122c031d37a09" have entirely different histories.
5bce1b7d2a
...
4ce7f5fb0c
@ -31,10 +31,6 @@ unsigned char BinaryMsg::Serialize(char* buffer) {
|
||||
if (this->dataLength <= 0) // in this case, no data is actually sent
|
||||
return 0;
|
||||
|
||||
#if defined(DEBUG)
|
||||
std::cout << "Send BinaryMsg [" << (int)this->networkId << "/" << (int)this->thingId
|
||||
<< "] " << (int)this->dataLength << std::endl;
|
||||
#endif
|
||||
unsigned char ix = 0;
|
||||
buffer[ix++] = this->id;
|
||||
buffer[ix++] = this->networkId;
|
||||
|
@ -32,10 +32,6 @@ ThingMsg::ThingMsg(unsigned char networkId, Thing* thing) {
|
||||
ThingMsg::~ThingMsg() {}
|
||||
|
||||
unsigned char ThingMsg::Serialize(char* buffer) {
|
||||
#if defined(DEBUG)
|
||||
std::cout << "Send ThingMsg [" << (int)this->networkId << "/" << (int)this->thingId
|
||||
<< "] " << (int)this->thingType << " " << (int)this->parentId << std::endl;
|
||||
#endif
|
||||
unsigned char ix = 0;
|
||||
buffer[ix++] = this->id;
|
||||
buffer[ix++] = this->networkId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user