added debugging
Fork of BLE_nRF8001 by
Embed:
(wiki syntax)
Show/hide line numbers
BLEAttribute.cpp
00001 #include "BLEAttribute.h" 00002 00003 unsigned char BLEAttribute::_numAttributes = 0; 00004 00005 BLEAttribute::BLEAttribute(const char* uuid, enum BLEAttributeType type) : 00006 _uuid(uuid), 00007 _type(type) 00008 { 00009 _numAttributes++; 00010 } 00011 00012 const char* BLEAttribute::uuid() const { 00013 return this->_uuid; 00014 } 00015 00016 enum BLEAttributeType BLEAttribute::type() const { 00017 return this->_type; 00018 } 00019 00020 unsigned char BLEAttribute::numAttributes() { 00021 return _numAttributes; 00022 }
Generated on Tue Jul 12 2022 15:15:45 by 1.7.2