LoRa API Manual, which mainly introduces how to send data, receive wireless data, query the IO value of a network device remotely, set the IO mode of a network device remotely, query the network status of all devices in the network, and set device parameters
This document is a programming manual for the Four-Faith LoRaAPI, designed to guide developers on how to interact with LoRa devices via API commands. It covers the general overview of LoRa technology and provides detailed instructions on the API mode, which is one of the three supported operation modes alongside transparent transmission and AT command modes.
The manual details the specific frame structure used for communication, including the frame start byte (0xFE), length field, command field, data field, and XOR checksum. It provides examples and syntax for various operations such as sending data to a device, receiving wireless data, querying network status, and configuring device parameters like IO modes and local settings. This manual is written in Chinese.
The LoRa module supports three operation modes: transparent transmission mode, AT command mode, and API mode.
The frame start byte is fixed at 0xFE.
The XOR checksum is calculated as the XOR sum of the length field, command field, and data field.