ble icon indicating copy to clipboard operation
ble copied to clipboard

we may want to introduce GattServer::addCharacteristic()

Open rgrover opened this issue 9 years ago • 1 comments

We currently only have GattServer::addService(), which requires us to collect the characteristics into an array before passing it into the service constructor. This forces an ugly pattern for construction. A better method would be:

GattService s(UUID,...); ble.gattServer().addService(s); GattCharacteristic c1(UUID,...); ble.gattServer().addCharacteristic(c1);

or even better: ble.gattServer() << s << c1 << ... ;

rgrover avatar Jun 29 '15 08:06 rgrover

ARM Internal Ref: IOTSFW-1034

rainierwolfcastle avatar Oct 16 '15 15:10 rainierwolfcastle