Home
last modified time | relevance | path

Searched refs:attValue (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_send_response.c751 bufferSize = BufferGetSize(readResAsyncPtr->attValue); in AttReadResponseAsync()
761 bufferNew = BufferSliceMalloc(readResAsyncPtr->attValue, 0, mtu - 1); in AttReadResponseAsync()
765 PacketPayloadAddLast(packet, readResAsyncPtr->attValue); in AttReadResponseAsync()
773 BufferFree(readResAsyncPtr->attValue); in AttReadResponseAsync()
789 BufferFree(readResAsyncPtr->attValue); in AttReadResponseAsyncDestroy()
799 * @param2 attValue Indicates the pointer to the value of the attribute with the handle given.
802 void ATT_ReadResponse(uint16_t connectHandle, const Buffer *attValue) in ATT_ReadResponse() argument
809 bufferPtr = BufferRefMalloc(attValue); in ATT_ReadResponse()
816 readResAsyncPtr->attValue = bufferPtr; in ATT_ReadResponse()
852 bufferSize = BufferGetSize(readBlobResAsyncPtr->attValue); in AttReadBlobResponseAsync()
1340 ATT_PrepareWriteResponse( uint16_t connectHandle, AttReadBlobReqPrepareWriteValue attReadBlobObj, const Buffer *attValue) ATT_PrepareWriteResponse() argument
1530 ATT_HandleValueNotification(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue) ATT_HandleValueNotification() argument
1635 ATT_HandleValueIndication(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue) ATT_HandleValueIndication() argument
[all...]
H A Datt_send_request.c393 PacketPayloadAddLast(packet, contextPtr->attValue); in AttFindByTypeValueRequestAsync()
400 BufferFree(contextPtr->attValue); in AttFindByTypeValueRequestAsync()
417 BufferFree(contextPtr->attValue); in AttFindByTypeValueRequestAsyncDestroy()
428 * @param3 attValue Indicates the pointer to attribute value to find.
432 uint16_t connectHandle, const AttFindByTypeValueReq *attFindByTypePtreve, const Buffer *attValue) in ATT_FindByTypeValueRequest()
452 bufferPtr = BufferRefMalloc(attValue); in ATT_FindByTypeValueRequest()
460 findByTypeAsyncPtr->attValue = bufferPtr; in ATT_FindByTypeValueRequest()
776 if (BufferGetSize(readMultipleReqAsyncPtr->attValue) < STEP_FOUR) { in AttReadMultipleRequestAsync()
777 LOG_WARN("%{public}s BufferGetSize(readMultipleReqAsyncPtr->attValue) < 4", __FUNCTION__); in AttReadMultipleRequestAsync()
795 PacketPayloadAddLast(packet, readMultipleReqAsyncPtr->attValue); in AttReadMultipleRequestAsync()
431 ATT_FindByTypeValueRequest( uint16_t connectHandle, const AttFindByTypeValueReq *attFindByTypePtreve, const Buffer *attValue) ATT_FindByTypeValueRequest() argument
1083 ATT_WriteRequest(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue) ATT_WriteRequest() argument
1183 ATT_WriteCommand(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue) ATT_WriteCommand() argument
1329 ATT_SignedWriteCommand(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue) ATT_SignedWriteCommand() argument
1430 ATT_PrepareWriteRequest( uint16_t connectHandle, AttReadBlobReqPrepareWriteValue attReadBlobObj, const Buffer *attValue) ATT_PrepareWriteRequest() argument
[all...]
H A Datt_common.h173 Buffer *attValue; member
198 Buffer *attValue; member
219 Buffer *attValue; member
229 Buffer *attValue; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Datt.h546 * @param3 attValue Indicates the pointer to attribute value to find.
549 uint16_t connectHandle, const AttFindByTypeValueReq *attFindByTypePtreve, const Buffer *attValue);
595 * @param2 attValue Indicates the pointer to the value of the attribute with the handle given.
597 void BTSTACK_API ATT_ReadResponse(uint16_t connectHandle, const Buffer *attValue);
659 * @param3 attValue Indicates the pointer to the value to be written to the attribute.
661 void BTSTACK_API ATT_WriteRequest(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue);
675 * @param3 attValue Indicates the pointer to the value of be written to the attribute.
677 void BTSTACK_API ATT_WriteCommand(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue);
684 * @param3 attValue Indicates the pointer to the value to be written to the attribute.
686 void BTSTACK_API ATT_SignedWriteCommand(uint16_t connectHandle, uint16_t attHandle, const Buffer *attValue);
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_server_service.cpp854 GattDatabase::AttributeValue attValue; in SetCharacteristicValue() local
855 attValue.value_ = std::move(*value); in SetCharacteristicValue()
856 attValue.length_ = length; in SetCharacteristicValue()
857 profile_->SetAttributeValue(valueHandle, attValue); in SetCharacteristicValue()

Completed in 9 milliseconds