Zigbee Protocol Controller 1.6.0
uic_gbl_interface.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
23#ifndef UIC_GBL_INTERFACE_H
24#define UIC_GBL_INTERFACE_H
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#include "sl_status.h"
31
38typedef void (*uic_gbl_interface_transfer_progress_t)(int offset, int size);
39
49
65 const char *gbl_filename,
66 int serial_fd,
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif //UIC_GBL_INTERFACE_H
sl_status_t uic_gbl_interface_transfer_image(const char *gbl_filename, int serial_fd, uic_gbl_interface_transfer_progress_t progress_callback)
Perfrom at DFU firmware update using the gecko bootloader.
void(* uic_gbl_interface_transfer_progress_t)(int offset, int size)
Callback function used to monitor the transfer progress of the file.
Definition: uic_gbl_interface.h:38
sl_status_t uic_gbl_interface_detect_bootloader(int serial_fd)
Probe for Gecko Bootloader.
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.