Home
last modified time | relevance | path

Searched refs:MAXIMUM_NUMBER_APPLICATION (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_server.cpp65 #define MAXIMUM_NUMBER_APPLICATION 10 macro
131 GattServerWrapper g_gattServers[MAXIMUM_NUMBER_APPLICATION];
603 for (; i < MAXIMUM_NUMBER_APPLICATION; i++) { in BleGattsRegister()
613 if (i != MAXIMUM_NUMBER_APPLICATION) { in BleGattsRegister()
638 if (serverId >= 0 && serverId < MAXIMUM_NUMBER_APPLICATION) { in BleGattsUnRegister()
721 if (serverId >= MAXIMUM_NUMBER_APPLICATION || serverId < 0) { in BleGattsAddService()
788 if (serverId >= MAXIMUM_NUMBER_APPLICATION || serverId < 0 || in BleGattsAddCharacteristic()
843 if (serverId >= MAXIMUM_NUMBER_APPLICATION || serverId < 0 || in BleGattsAddDescriptor()
896 if (serverId >= MAXIMUM_NUMBER_APPLICATION || serverId < 0 || in BleGattsStartService()
924 if (serverId >= MAXIMUM_NUMBER_APPLICATION || serverId < 0 || in BleGattsStopService()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_service_base.h30 static const uint8_t MAXIMUM_NUMBER_APPLICATION;
H A Dgatt_service_base.cpp24 const uint8_t GattServiceBase::MAXIMUM_NUMBER_APPLICATION = 0xFF; member in OHOS::bluetooth::GattServiceBase
H A Dgatt_server_service.cpp639 if (servers_.size() >= MAXIMUM_NUMBER_APPLICATION) { in RegisterApplicationImpl()
H A Dgatt_client_service.cpp1066 if (clients_.size() >= MAXIMUM_NUMBER_APPLICATION) { in RegisterApplication()