Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_nRF8001 by
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
