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/src/iot-baidu-ota/package_info.h
- Revision:
- 47:9e361da97763
diff -r 183cfc59d4e4 -r 9e361da97763 DuerOS-Light-SDK-v1.1.0/duer-os-light/src/iot-baidu-ota/package_info.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DuerOS-Light-SDK-v1.1.0/duer-os-light/src/iot-baidu-ota/package_info.h Tue Jul 18 16:54:45 2017 +0800
@@ -0,0 +1,24 @@
+#pragma once
+#include <stdint.h>
+
+#define MAX_NAME_LENGTH 64
+#define MAX_VERSION_LENGTH 24
+#define MAX_APPID_LENGTH 16
+
+typedef struct
+{
+ char name[MAX_NAME_LENGTH + 1];
+ char developer[MAX_NAME_LENGTH + 1];
+ char version[MAX_VERSION_LENGTH + 1];
+ char staged_version[MAX_VERSION_LENGTH + 1];
+}os_info_t;
+
+typedef struct
+{
+ char id[MAX_APPID_LENGTH + 1];
+ char name[MAX_NAME_LENGTH + 1];
+ char developer[MAX_NAME_LENGTH + 1];
+ char version[MAX_VERSION_LENGTH + 1];
+ char staged_version[MAX_VERSION_LENGTH + 1];
+ char os_version[MAX_VERSION_LENGTH + 1];
+}app_info_t;
