Skip to content

APP paras of Edgebus

This document provides a detailed guide for R&D and technical support personnel on configuring EdgeBus functions using App parameters. The EdgeBus parameter architecture is clearly structured into three main categories: Version Information, Running Parameters, and System Information, facilitating user understanding and operation.

Target Reader

This document is primarily intended for R&D Engineers and Technical Support Engineers who need to perform in-depth integration and debugging with EdgeBus devices.

Getting Started with Configuration

Please refer to the document of RPC

Version Information

Version Information parameters provide the firmware and hardware identifiers for the EdgeBus device. This section occupies 8 bytes in total, and all data is read-only.

AddressLengthPermissionFieldDescription
01BRead-onlyfuotaversion hwtypebit0-bit3: FUOTA version number. During a FUOTA upgrade, the version number in the data packet must match this value.
bit4-bit7: Lower 4 bits of hardware model (12 bits total).
11BRead-onlyhwtypeUpper 8 bits of hardware model (12 bits total).
21BRead-onlylen
hwversion
bit0-bit3: Number of bytes to copy during a FUOTA upgrade, as 4 * (len + 1).
bit4-bit7: Hardware version , range 1-15.
31BRead-onlyswversionSoftware version number, range 1-255.
4-52BRead-onlybztypeModel of the connected service device.
61BRead-onlybzversionService parameter version number.
71BRead-onlyfiltermask
otamask
checkOk
bit0-bit2: filtermask.
bit3: Reserved.
bit4-bit6: otamask.
bit7: checkOk flag.

Running Parameters

Running Parameters define the working mode and core functions of the EdgeBus during operation. This section occupies 16 bytes in total.

AddressLengthPermissionFieldDescription
81BR/WfieldMode
RelayEnable
bit0: fieldMode.
bit1: RelayEnable, set to 1 to enable the relay function.
bit2-bit7: Reserved.
91BWriteFunction TriggerUsed to trigger specific EdgeBus actions:
- Write 1: Reset the device.
- Write 2: Execute all query and upload tasks.
- Write 4: Rejoin the network.
101BR/WResvReserved.
111BR/WWake-up & Channel Configbit0: Set to 1 to allow waking up EdgeBus via a low-level input on the PC6 pin.
bit1: Set to 1 to output a low level on PC2 to wake up the client MCU before sending data via UART.
bit2-bit3: Reserved.
bit4-bit6: Uplink channel selection (0: LoRaWAN, 1: 4G).
bit7: Reserved.
121BR/WSerial Baud RateValue is Serial Baud Rate / 12. For example, for a 9600 baud rate, this value should be 800.
131BR/WSerial Comm. Paramsbit0-bit3: Data bits.
bit4-bit5: Stop bits.
bit6-bit7: Parity bit (0: None, 1: Odd, 2: Even).
Note: Data bit settings for even parity differ across hardware platforms:
- OMx11: For 8 data bits with even parity, set data bits (bit0-bit3) to 9 and parity (bit6-bit7) to 2.
- OMx22: For 8 data bits with even parity, set data bits (bit0-bit3) to 8 and parity (bit6-bit7) to 2.
141BR/WWorking Modebit0: Set to 1 to keep EdgeBus in a constant receiving state, suitable for applications where connected devices actively upload data.
bit1: Set to 1 to enable low-power mode.
bit2: Set to 1 to exchange data with the connected device via UART1.
bit3: Set to 1 to enable transparent (passthrough) mode.
bit4: Channel selection (0: LoRaWAN, 1: Lora).
bit5: Set to 1 to enable automatic network rejoin on power-up.
bit6: Set to 1 to have EdgeBus send its own information via the Lora channel after power-up.
bit7: Set to 1 to have EdgeBus complete time synchronization, mode switching, etc., within 60 seconds of power-up.
151BR/Wconfirm Duty CycleWhen the uplink packet sequence number is an integer multiple of this value, a confirm packet is sent; otherwise, an unconfirm packet is sent.
161BR/WParam. R/W PortPort number for reading or setting EdgeBus parameters.
171BR/WTransparent Channel PortCommunication port number for transparent mode.
18-192BR/WScheduled Reset PeriodEdgeBus will reset periodically according to the hours set here.
20-234BR/WUplink Time OffsetUnit is milliseconds (ms). This offset is added when EdgeBus uploads data. Usually set to 0.

System Information

System Information parameters provide real-time data about the EdgeBus hardware status and environment.

AddressLengthPermissionFieldDescription
241BR/WbatterybaseBattery level base value.
25-284BR/WUTC TimeSeconds since January 1, 1970.
29-302BRead-onlyChip TemperatureActual Temperature (°C) = (Read Value - 1000) / 10.
311BRead-onlyChip Supply VoltageSupply Voltage (V) = (Read Value / 254 * 1.6) + 2.
32-332BR/WQuery Timeoutbit0-bit13: Timeout value.
bit14-bit15: Timeout unit (0: seconds, 1: minutes, 2: hours, 3: milliseconds).
341BR/WTimeout Retry CountNumber of retry attempts after a query times out.
351BR/WSerial Data Calibrationbit0: Set to 1 to enable serial data calibration.
bit1-bit2: Calibration method (0: OR, 1: AND, 2: Direct Replace).
bit3-bit7: Reserved.
361BR/WSerial Calibration GroupsDefines the number of calibration rules. Rules start at address 170, with each 3-byte group defining the start index, length, and calibration value.
371BR/WPeriodic Rejoin PeriodThe interval at which the device performs a periodic network rejoin.
38-392BR/WPeripheral Power-on DelayUnit is milliseconds (ms). For low-power products, this ensures the peripheral's power supply (e.g., for RS485) is stable before it performs an operation.
40-434BR/WHeartbeat IntervalHeartbeat Interval Unit in seconds.
44-5916BRead-onlySystem ReservedSystem reserved.
601BR/Wsub_device_countsNumber of connected devices in multi-device mode.
61-644BRead-onlySystem ReservedSystem reserved.
651BR/Wquery_indexStarting index of device address in query command.
661BR/Wsub_addr_sizeLength of sub-device address in multi-device mode.
67-nBR/Wsub_addrSub-device addresses in multi-device mode, based on sub_addr_size:
- Device 1: 67 ~ 67 + sub_addr_size - 1
- Device 2: 67 + sub_addr_size ~ 67 + 2×sub_addr_size - 1
- Device N: 67 + (N-1)×sub_addr_size ~ 67 + N×sub_addr_size - 1

Other Parameters

User-Open Address Space

● Address Range: 70 - 200

Description: This address space is reserved for user's free use and can be utilized to store custom data.

70110: Store intervals (e.g., polling or upload intervals) in units of 4 bytes representing seconds.

110150: Storage area for COV (Change of Value) thresholds.

150200: Storage area for sub-device addresses or other user-defined data.

🌐 Website: www.manthink.cn
Technical Support Email: info@manthink.cn
Emergency Contact: +86-15810684257