| поискавой системы для электроныых деталей |
|
UM1865 датащи(PDF) 115 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1865 датащи(HTML) 115 Page - STMicroelectronics |
|
115 / 132 page ![]() DocID027514 Rev 1 115/132 UM1865 Vendor specific commands 132 4.6.5 Evt_Blue_Gatt_Write_Permit_req This event is given to the application when a write request, write command or signed write command is received by the server from the client. This event will be given to the application only if the event bit for this event generation is set when the characteristic was added. When this event is received, the application has to check whether the value being requested for write can be allowed to be written and respond with the command Aci_Gatt_Write_Resp. The details of the parameters of the command can be found. Based on the response from the application, the attribute value will be modified by the stack. If the write is rejected by the application, then the value of the attribute will not be modified. In case of a write REQ, an error response will be sent to the client, with the error code as specified by the application. In case of write/signed write commands, no response is sent to the client but the attribute is not modified. 4.6.6 Evt_Blue_Gatt_Read_Permit_Req This event is given to the application when a read request or read blob request is received by the server from the client. This event will be given to the application only if the event bit for this event generation is set when the characteristic was added. On receiving this event, the application can update the value of the handle if it desires and when done, it has to send the Aci_Gatt_Allow_Read command to indicate to the stack that it can send the response to the client. Table 260. Evt_Blue_Gatt_Disc_Read_Charac_By_UUID_Resp Parameter Size Description Event_code 2 bytes The event code of the vendor specific event Connection_Handle 2 bytes Connection handle where the procedure started. Data_len 1 byte Length of following data Attribute_Handle 2 bytes Handle of the discovered attribute Attribute_Value (Data_len - 2) bytes Attribute value Table 261. Evt_Blue_Gatt_Write_Permit_req Parameter Size Description Event code 2 bytes The event code of the vendor specific event Connection handle 2 bytes Handle of the connection on which there was the request to write the attribute Attribute handle 2 bytes The handle of the attribute for which the write request has been made by the client data_len 1 byte The length of the data to follow data buffer 0-N bytes The data that the client has requested to write |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |