| Electronic Components Datasheet Search |
|
UM1770 Datasheet(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1770 Datasheet(HTML) 35 Page - STMicroelectronics |
|
35 / 56 page ![]() DocID026385 Rev 2 35/56 UM1770 Profile – application interface functions 56 6.6 Human interface device profile 6.6.1 HidDevice_Init() Description Initializes the Hid profile. It returns BLE_STATUS_SUCCESS if the procedure is started successfully, or BLE_STATUS_FAILED if not. The application is notified through the event EVT_HID_INITIALIZED on successful initialization. Parameters 1. numOfHIDServices – number of HID services to be exposed in the profile. 2. HidServiceData – pointer to the structure tApplDataForHidServ containing the configuration parameters provided by the application at the time of Initialization. 3. NumOfBatteryServices – number of battery services to be exposed in the profile 4. scanParamServiceSupport – adds the scan parameters service during hid initialization if set to '1'. 5. scanRefreshCharSupport – adds the scan parameters refresh characteristics if set to '1'. 6. BLE_CALLBACK_FUNCTION_TYPE – callback function type to be called by the profile to notify the application of the events. 6.6.2 HidDevice_Make_Discoverable() Description The function puts the device into discoverable mode. BLE_STATUS_SUCCESS is returned if the command to put the device into discoverable mode was issued successfully. Parameters 1. useBoundedDeviceList – if this is set to '1', advertising is performed on the devices already bonded using whitelist. 6.6.3 HidDevice_Update_Input_Report() Description This is called by the application to update the input report characteristic with the value specified in ipReportValue. It returns BLE_STATUS_SUCCESS if the update was successfully started, otherwise it returns error codes. On successful update of the characteristic, the application is notified through the event EVT_HID_UPDATE_CMPLT. Parameters 1. hidServiceIndex – the index of the HID service whose report characteristic has to be updated. 2. IpReportIndex – the index of the input report to be updated 3. ipReportValLength – length of the input report 4. ipReportValue – value of the input report. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |