From 42af99f5458fd5d2491878cee28a838e2a67107c Mon Sep 17 00:00:00 2001 From: shawn_he Date: Fri, 11 Feb 2022 16:10:48 +0800 Subject: [PATCH] update docs Signed-off-by: shawn_he --- .../reference/apis/js-apis-sms.md | 10 ++++---- .../reference/apis/js-apis-system-time.md | 24 ------------------- 2 files changed, 6 insertions(+), 28 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-sms.md b/en/application-dev/reference/apis/js-apis-sms.md index 82c9622de0..d1e0be717b 100644 --- a/en/application-dev/reference/apis/js-apis-sms.md +++ b/en/application-dev/reference/apis/js-apis-sms.md @@ -27,8 +27,9 @@ Creates an SMS message instance based on the protocol data unit (PDU) and the sp - Example ``` - let specification = '3gpp'; - let pdu = [0x08, 0x91, ...]; + const specification = '3gpp'; + // Display PDUs using numbers in an array, for example, [0x08, 0x91, ...]. + const pdu = [0x08, 0x91]; sms.createMessage(pdu, specification, (err, data) => { console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); }); @@ -57,8 +58,9 @@ Creates an SMS message instance based on the PDU and the specified SMS protocol. - Example ``` - let specification = '3gpp'; - let pdu = [0x08, 0x91, ...]; + const specification = '3gpp'; + // Display PDUs using numbers in an array, for example, [0x08, 0x91, ...]. + const pdu = [0x08, 0x91]; let promise = sms.createMessage(pdu, specification); promise.then(data => { console.log(`createMessage success, promise: data->${JSON.stringify(data)}`); diff --git a/en/application-dev/reference/apis/js-apis-system-time.md b/en/application-dev/reference/apis/js-apis-system-time.md index e851eec105..d7cedf77c5 100644 --- a/en/application-dev/reference/apis/js-apis-system-time.md +++ b/en/application-dev/reference/apis/js-apis-system-time.md @@ -3,30 +3,6 @@ >![](../../public_sys-resources/icon-note.gif) **NOTE:** >The APIs of this module are supported since API version 7. -## Applicable Devices - - - - - - - - - - - - - - -

Phone

-

Tablet

-

Smart TV

-

Wearable

-

Yes

-

Yes

-

Yes

-

Yes

-
## Modules to Import -- GitLab