dfu_transport.h 979 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved.
  2. *
  3. * The information contained herein is property of Nordic Semiconductor ASA.
  4. * Terms and conditions of usage are described in detail in NORDIC
  5. * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
  6. *
  7. * Licensees are granted free, non-transferable use of the information. NO
  8. * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
  9. * the file.
  10. *
  11. */
  12. /**@file
  13. *
  14. * @defgroup nrf_dfu_transport DFU transport API.
  15. * @{
  16. *
  17. * @brief DFU transport module interface.
  18. */
  19. #ifndef DFU_TRANSPORT_H__
  20. #define DFU_TRANSPORT_H__
  21. #include <stdint.h>
  22. /**@brief Function for starting the update of Device Firmware.
  23. *
  24. * @retval NRF_SUCCESS Operation success.
  25. */
  26. uint32_t dfu_transport_update_start(void);
  27. /**@brief Function for closing the transport layer.
  28. *
  29. * @retval NRF_SUCCESS Operation success.
  30. */
  31. uint32_t dfu_transport_close(void);
  32. #endif // DFU_TRANSPORT_H__
  33. /**@} */