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
DuerOS-Light-SDK-v1.1.0/duer-os-light/src/iot-baidu-ota/package_info.h@47:9e361da97763, 2017-07-18 (annotated)
- Committer:
- TMBOY
- Date:
- Tue Jul 18 16:54:45 2017 +0800
- Revision:
- 47:9e361da97763
?
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| TMBOY | 47:9e361da97763 | 1 | #pragma once |
| TMBOY | 47:9e361da97763 | 2 | #include <stdint.h> |
| TMBOY | 47:9e361da97763 | 3 | |
| TMBOY | 47:9e361da97763 | 4 | #define MAX_NAME_LENGTH 64 |
| TMBOY | 47:9e361da97763 | 5 | #define MAX_VERSION_LENGTH 24 |
| TMBOY | 47:9e361da97763 | 6 | #define MAX_APPID_LENGTH 16 |
| TMBOY | 47:9e361da97763 | 7 | |
| TMBOY | 47:9e361da97763 | 8 | typedef struct |
| TMBOY | 47:9e361da97763 | 9 | { |
| TMBOY | 47:9e361da97763 | 10 | char name[MAX_NAME_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 11 | char developer[MAX_NAME_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 12 | char version[MAX_VERSION_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 13 | char staged_version[MAX_VERSION_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 14 | }os_info_t; |
| TMBOY | 47:9e361da97763 | 15 | |
| TMBOY | 47:9e361da97763 | 16 | typedef struct |
| TMBOY | 47:9e361da97763 | 17 | { |
| TMBOY | 47:9e361da97763 | 18 | char id[MAX_APPID_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 19 | char name[MAX_NAME_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 20 | char developer[MAX_NAME_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 21 | char version[MAX_VERSION_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 22 | char staged_version[MAX_VERSION_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 23 | char os_version[MAX_VERSION_LENGTH + 1]; |
| TMBOY | 47:9e361da97763 | 24 | }app_info_t; |
