mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-01-22 17:30:50 +01:00
change(Utils): Compact instantiation
This commit is contained in:
parent
dbd8f1e91f
commit
74c6c583d2
1 changed files with 4 additions and 17 deletions
|
@ -607,22 +607,9 @@ void NimBLEUtils::getAttr(const NimBLEUUID& uuid, T** attr, const std::vector<T*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template void NimBLEUtils::getAttr<NimBLERemoteService>(
|
using svc = NimBLERemoteService; using chr = NimBLERemoteCharacteristic; using dsc = NimBLERemoteDescriptor;
|
||||||
const NimBLEUUID&,
|
template void NimBLEUtils::getAttr<svc>(const NimBLEUUID&, svc**, const std::vector<svc*>&, const std::function<bool(const NimBLEUUID*, svc**)>&);
|
||||||
NimBLERemoteService**,
|
template void NimBLEUtils::getAttr<chr>(const NimBLEUUID&, chr**, const std::vector<chr*>&, const std::function<bool(const NimBLEUUID*, chr**)>&);
|
||||||
const std::vector<NimBLERemoteService*>&,
|
template void NimBLEUtils::getAttr<dsc>(const NimBLEUUID&, dsc**, const std::vector<dsc*>&, const std::function<bool(const NimBLEUUID*, dsc**)>&);
|
||||||
const std::function<bool(const NimBLEUUID*, NimBLERemoteService**)>&);
|
|
||||||
|
|
||||||
template void NimBLEUtils::getAttr<NimBLERemoteDescriptor>(
|
|
||||||
const NimBLEUUID&,
|
|
||||||
NimBLERemoteDescriptor**,
|
|
||||||
const std::vector<NimBLERemoteDescriptor*>&,
|
|
||||||
const std::function<bool(const NimBLEUUID*, NimBLERemoteDescriptor**)>&);
|
|
||||||
|
|
||||||
template void NimBLEUtils::getAttr<NimBLERemoteCharacteristic>(
|
|
||||||
const NimBLEUUID&,
|
|
||||||
NimBLERemoteCharacteristic**,
|
|
||||||
const std::vector<NimBLERemoteCharacteristic*>&,
|
|
||||||
const std::function<bool(const NimBLEUUID*, NimBLERemoteCharacteristic**)>&);
|
|
||||||
|
|
||||||
#endif // CONFIG_BT_ENABLED
|
#endif // CONFIG_BT_ENABLED
|
||||||
|
|
Loading…
Add table
Reference in a new issue