Home
last modified time | relevance | path

Searched refs:writeType (Results 1 - 12 of 12) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_client.cpp67 int ConverWriteType(BtGattWriteType writeType) in ConverWriteType() argument
70 if (writeType == OHOS_GATT_WRITE_DEFAULT) { in ConverWriteType()
72 } else if (writeType == OHOS_GATT_WRITE_NO_RSP) { in ConverWriteType()
74 } else if (writeType == OHOS_GATT_WRITE_SIGNED) { in ConverWriteType()
77 HILOGE("write type: %{public}d is not supported and the default type is used.", writeType); in ConverWriteType()
623 * @param writeType Indicates the characteristic write type.
629 BtGattWriteType writeType, int len, const char *value) in BleGattcWriteCharacteristic()
631 HILOGD("clientId:%{public}d, writeType:%{public}d, len:%{public}d", clientId, writeType, len); in BleGattcWriteCharacteristic()
639 if (writeType ! in BleGattcWriteCharacteristic()
628 BleGattcWriteCharacteristic(int clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int len, const char *value) BleGattcWriteCharacteristic() argument
[all...]
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/ble/
H A Dsoftbus_adapter_ble_gatt_client.c419 static BtGattWriteType ConvertBtWriteType(SoftBusGattWriteType writeType) in ConvertBtWriteType() argument
421 switch (writeType) { in ConvertBtWriteType()
461 BtGattWriteType writeType = ConvertBtWriteType(clientData->writeType); in SoftbusGattcWriteCharacteristic() local
462 CONN_LOGI(CONN_BLE, "clientId=%{public}d, writeType=%{public}d", clientId, clientData->writeType); in SoftbusGattcWriteCharacteristic()
463 if (BleGattcWriteCharacteristic(clientId, characteristic, writeType, clientData->valueLen, in SoftbusGattcWriteCharacteristic()
/foundation/communication/dsoftbus/tests/adapter/bluetooth/
H A Dbluetooth_mock.cpp161 int32_t clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int32_t len, const char *value) in BleGattcWriteCharacteristic()
163 return MockBluetooth::GetMocker()->BleGattcWriteCharacteristic(clientId, characteristic, writeType, len, value); in BleGattcWriteCharacteristic()
160 BleGattcWriteCharacteristic( int32_t clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int32_t len, const char *value) BleGattcWriteCharacteristic() argument
H A Dbluetooth_mock.h59 int clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int len, const char *value) = 0;
114 (int clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int len, const char *value),
H A Dsoftbus_adapter_ble_gatt_client_test.cpp274 data.writeType = SOFTBUS_GATT_WRITE_NO_RSP; in HWTEST_F()
277 data.writeType = SOFTBUS_GATT_WRITE_PREPARE; in HWTEST_F()
280 data.writeType = SOFTBUS_GATT_WRITE_DEFAULT; in HWTEST_F()
283 data.writeType = SOFTBUS_GATT_WRITE_SIGNED; in HWTEST_F()
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gatt_client.h248 * @param writeType Indicates the characteristic write type.
254 BtGattWriteType writeType, int len, const char *value);
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/include/
H A Dsoftbus_adapter_ble_gatt_client.h47 SoftBusGattWriteType writeType; member
/foundation/communication/bluetooth/frameworks/js/napi/src/parser/
H A Dnapi_parser_utils.cpp362 int writeType = -1; in NapiParseGattWriteType() local
363 NAPI_BT_CALL_RETURN(NapiParseInt32(env, value, writeType)); in NapiParseGattWriteType()
364 if (writeType == static_cast<int>(NapiGattWriteType::WRITE)) { in NapiParseGattWriteType()
367 } else if (writeType == static_cast<int>(NapiGattWriteType::WRITE_NO_RESPONSE)) { in NapiParseGattWriteType()
371 HILOGE("Invalid gattWriteType: %{public}d", writeType); in NapiParseGattWriteType()
/foundation/communication/dsoftbus/tests/adapter/broadcast/
H A Dbluetooth_mock.cpp212 int32_t clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int32_t len, const char *value) in BleGattcWriteCharacteristic()
214 return MockBluetooth::GetMocker()->BleGattcWriteCharacteristic(clientId, characteristic, writeType, len, value); in BleGattcWriteCharacteristic()
211 BleGattcWriteCharacteristic( int32_t clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType, int32_t len, const char *value) BleGattcWriteCharacteristic() argument
H A Dbluetooth_mock.h67 BtGattWriteType writeType, int32_t len, const char *value) = 0;
134 (int32_t clientId, BtGattCharacteristic characteristic, BtGattWriteType writeType,
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_gatt_client.cpp550 int writeType = GattCharacteristic::WriteType::DEFAULT; in CheckWriteCharacteristicValueEx() local
551 NAPI_BT_CALL_RETURN(NapiParseGattWriteType(env, argv[PARAM1], writeType)); in CheckWriteCharacteristicValueEx()
552 character->SetWriteType(writeType); in CheckWriteCharacteristicValueEx()
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_client.c807 .writeType = SOFTBUS_GATT_WRITE_NO_RSP, in ConnGattClientSend()

Completed in 10 milliseconds