Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os-example-mbed5-blinky by
baidu_iot_ota_downloader.h
00001 #pragma once 00002 /** 00003 * File: baidu_iot_ota_downloader.h 00004 * Auth: Duan Lian(duanlian01@baidu.com) 00005 * Date: 2016.12.21 00006 * Desc: The OTA downloader interface 00007 */ 00008 typedef int (*data_available_cb)(unsigned char* data, unsigned int len, void* ctx); 00009 class IOTADownloader 00010 { 00011 public: 00012 virtual ~IOTADownloader(){}; 00013 virtual int connect()=0; 00014 virtual unsigned int get(data_available_cb cb, void* ctx)=0; 00015 virtual int disconnect()=0; 00016 };
Generated on Tue Jul 12 2022 16:28:52 by
1.7.2
