Skip to content

Commit

Permalink
fix the hyperlink issue in firmware tutorial. (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariachen authored Dec 21, 2017
1 parent 8c617c7 commit d3eed56
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions content/en/tutorial/managing_firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ Also, for devices based on LinkIt Connect 7681, the firmware upgrade process is

MCS provides the following APIs for firmware management and development.

1. [Report firmware version of a device](http://mcs.mediatek.com/resources/latest/api_references/#report-device-firmware): This API allows device to report its current firmware version back to MCS platform. Only the version number which has been uploaded onto MCS platform can be reported.
1. [Report firmware version of a device](https://mcs.mediatek.com/resources/latest/api_references/#report-device-firmware-version): This API allows device to report its current firmware version back to MCS platform. Only the version number which has been uploaded onto MCS platform can be reported.

2. [Retrieve the compatible firmwares](http://mcs.mediatek.com/resources/latest/api_references/#report-device-firmware): After the device has reported its firmware version to MCS platform, this API provides a list of firmwares which are compatible with the current version. If the device hasn't reported its firmware yet, then, only the firmwares without any compatibility limitation are listed.
2. [Retrieve the compatible firmwares](https://mcs.mediatek.com/resources/latest/api_references/#retrieve-device-available-firmware): After the device has reported its firmware version to MCS platform, this API provides a list of firmwares which are compatible with the current version. If the device hasn't reported its firmware yet, then, only the firmwares without any compatibility limitation are listed.

3. [Retrieve the compatible firmwares by version](https://mcs.mediatek.com/resources/latest/api_references/#retrieve-compatible-firmware-by-version): This API provides a flexibility to query the firmware compatibility by simply specifying the version number in the request.

Expand Down
6 changes: 4 additions & 2 deletions content/zh-CN/tutorial/managing_firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ MCS 将不会处理装置端的固件更新,使用者需自行开发您的开
```
1513133357160,FOTA,2.0,null,https://cdn.mediatek.com/firmwares/P9MxxxxxxbTK/6a94dxxxxxxxxxxxxxxxxxxxx61f5df/a.bin ```

栏位介绍:

* deviceId: 装置的 deviceId(由于 MQTT 连线时,必须先指定 device ID,因此回传內文不包含此资讯)
* deviceKey: 装置的 deviceKey(由于 MQTT 连线时,必须先指定 device key,因此回传內文不包含此资讯)
* timestamp: 按下推送按钮的时间
Expand All @@ -74,8 +76,8 @@ MCS 将不会处理装置端的固件更新,使用者需自行开发您的开

MCS 提供有以下几个与固件相关的 APIs ,方便您开发和管理装置与固件。

1. [回报装置固件 API](https://mcs.mediatek.com/resources/zh-CN/latest/api_references/#回报装置固件):将装置目前使用之固件版本回报至 MCS 平台。请注意,您回报的固件版本必须是已上传至 MCS 平台的固件版本。
2. [取得可用固件 API](https://mcs.mediatek.com/resources/zh-CN/latest/api_references/#取得装置所有韧体资讯):若您已将装置的固件版本回报至 MCS 平台,您可以使用此 API 获取相容的固件资讯,包含固件的下载网址。若您未曾回报装置的固件版本,其回传的固件资讯为无版本相容性限制的所有固件资讯。
1. [回报装置固件 API](https://mcs.mediatek.com/resources/zh-CN/latest/api_references/#回报装置固件版本):将装置目前使用之固件版本回报至 MCS 平台。请注意,您回报的固件版本必须是已上传至 MCS 平台的固件版本。
2. [取得可用固件 API](https://mcs.mediatek.com/resources/zh-CN/latest/api_references/#取得与此装置相容的固件列表):若您已将装置的固件版本回报至 MCS 平台,您可以使用此 API 获取相容的固件资讯,包含固件的下载网址。若您未曾回报装置的固件版本,其回传的固件资讯为无版本相容性限制的所有固件资讯。

3. [Retrieve the compatible firmwares by version](https://mcs.mediatek.com/resources/zh-CN/latest/api_references/#取得与特定版本相容的固件列表):此 API 提供了一个更为弹性的方法取得与特定版本相容的固件列表。您只需在 API 请求中指定要比较的版本号码即可。

Expand Down
5 changes: 3 additions & 2 deletions content/zh-TW/tutorial/managing_firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ MCS 將不會處理裝置端的韌體更新,使用者需自行開發您的開
```
1513133357160,FOTA,2.0,null,https://cdn.mediatek.com/firmwares/P9MxxxxxxbTK/6a94dxxxxxxxxxxxxxxxxxxxx61f5df/a.bin
```
欄位介紹:

* deviceId: 裝置的 deviceId(由於 MQTT 連線時,必須先指定 device ID,因此回傳訊息不包含此資訊)
* deviceKey: 裝置的 deviceKey(由於 MQTT 連線時,必須先指定 device key,因此回傳訊息不包含此資訊)
Expand All @@ -76,8 +77,8 @@ MCS 將不會處理裝置端的韌體更新,使用者需自行開發您的開

MCS 提供有以下幾個與韌體相關的 APIs ,方便您開發和管理裝置與韌體。

1. [回報裝置韌體 API](https://mcs.mediatek.com/resources/zh-TW/latest/api_references/#回報裝置韌體):將裝置目前使用之韌體版本回報至 MCS 平台。請注意,您回報的韌體版本必須是已上傳至 MCS 平台的韌體版本。
2. [取得可用韌體 API](https://mcs.mediatek.com/resources/zh-TW/latest/api_references/#取得裝置所有韌體資訊):若您已將裝置的韌體版本回報至 MCS 平台,您可以使用此 API 獲取相容的韌體資訊,包含韌體的下載網址。若您未曾回報裝置的韌體版本,其回傳的韌體資訊為無版本相容性限制的所有韌體資訊。
1. [回報裝置韌體 API](https://mcs.mediatek.com/resources/zh-TW/latest/api_references/#回報裝置韌體版本):將裝置目前使用之韌體版本回報至 MCS 平台。請注意,您回報的韌體版本必須是已上傳至 MCS 平台的韌體版本。
2. [取得可用韌體 API](https://mcs.mediatek.com/resources/zh-TW/latest/api_references/#取得與此裝置相容的韌體列表):若您已將裝置的韌體版本回報至 MCS 平台,您可以使用此 API 獲取相容的韌體資訊,包含韌體的下載網址。若您未曾回報裝置的韌體版本,其回傳的韌體資訊為無版本相容性限制的所有韌體資訊。

3. [Retrieve the compatible firmwares by version](https://mcs.mediatek.com/resources/zh-TW/latest/api_references/#取得與特定版本相容的韌體列表):此 API 提供了一個更為彈性的方法取得與特定版本相容的韌體列表。您只需在 API 請求中指定要比較的版本號碼即可。

Expand Down

0 comments on commit d3eed56

Please sign in to comment.