Gateway TLG8411V1 User Manual V1.0.0
29
July 2020
4.1.1.
LoRaScript API
LoRaScript provides a set of APIs from Node.js and third-party. Note that not all APIs or clas-
ses of a package is supported. For example,
server
class from
net
package is not allowed
in LoRaScript. Following table is the list of APIs.
Table 4-4 LoRaScript APIs
Package
Name
Type
Reference
Buffer
Buffer
Class
https://nodejs.org/docs/v0.12.7/api/
buffer.html
SlowBuffer
Class
crypto
setEngine
Function https://nodejs.org/docs/v0.12.7/api/
getCiphers
Function
getHashes
Function
createCredentials
Function
createHash
Function
Hash
Class
createHmac
Function
Hmac
Class
createCipher
Function
createCipheriv
Function
Cipher
Class
createDecipher
Function
createDecipheriv
Function
Decipher
Class
createSign
Function
Sign
Class
createVerify
Function
Verify
Class
createDiffieHellman
Function
DiffieHellman
Class
getDiffieHellman
Function
createECDH
Function
ECDH
Class
pbkdf2
Function
pbkdf2Sync
Function
randomBytes
Function
Содержание TLG8411V1
Страница 1: ...Gateway TLG8411V1 User Manual V1 0 0 July 2020 ...
Страница 36: ...Gateway TLG8411V1 User Manual V1 0 0 35 July 2020 Figure 4 2 Execution of Parsing LoRaWAN Packet in LoRaScript ...
Страница 52: ...Gateway TLG8411V1 User Manual V1 0 0 51 July 2020 8 Revisions 8 1 V1 0 0 First Release Version ...