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
Diff: DuerOS-Light-SDK-v1.1.0/duer-os-light/boards/TARGET_RDA/package_scanner.h
- Revision:
- 47:9e361da97763
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DuerOS-Light-SDK-v1.1.0/duer-os-light/boards/TARGET_RDA/package_scanner.h Tue Jul 18 16:54:45 2017 +0800
@@ -0,0 +1,15 @@
+#pragma once
+#include "package_info.h"
+
+class PackageScanner
+{
+public:
+ PackageScanner();
+ ~PackageScanner();
+ int scan();
+ int getOSInfo(os_info_t& info);
+ int getAppInfo(app_info_t*& info);
+private:
+ os_info_t os_info;
+ app_info_t *apps; //app info kept in an array which ends with null pointer
+};
