Download UM1755 User manual - STMicroelectronics

Transcript
UM1755
Vendor specific commands
Table 153. Aci_Att_Find_Information_Req return parameters
Parameter
Size
Status
Description
0x00: Success
0x42: Invalid parameters
0x46: Not allowed
- If the exchange has already taken place
- If GATT is expecting response for previous request
- Already a request is in the queue to be sent
- Channel not open
- Already one GATT procedure is started
1 byte
Event(s) generated:
A command status event is generated on the receipt of the command. The responses of the
procedure are given through the Evt_Blue_ Att_Find_Information_Resp event. The end of
the procedure is indicated by a Evt_Blue_Procedure_Complete event.
4.5.14
Att_Find_By_Type_Value_Req
Table 154. Att_Find_By_Type_Value_Req
Command name
Parameters
Att_Find_By_Type_Value_Req (0xFD0D)
Connection handle
Start handle
End handle
UUID
AttrValLen
AttrVal
Return
Status
Description:
Post the Find by type value request.
Table 155. Aci_Att_Find_Attr_By_Typ_And_Value_Req command parameters
Parameter
Size
Description
Connection handle
2 bytes
Connection handle for which the command is given
Start handle
2 bytes
Starting handle of the range of attributes to be discovered on the
server
End handle
2 bytes
Ending handle of the range of attributes to be discovered on the
server
UUID
2 bytes
16-bit UUID
DocID026257 Rev 3
83/131
131