实现 LoRaMeshUartPassthroughTransport
This commit is contained in:
		| @@ -150,11 +150,12 @@ type LoraConfig struct { | ||||
|  | ||||
| // LoraMeshConfig 代表Lora Mesh配置 | ||||
| type LoraMeshConfig struct { | ||||
| 	UARTPort     string `yaml:"uart_port"` | ||||
| 	BaudRate     int    `yaml:"baud_rate"` | ||||
| 	Timeout      int    `yaml:"timeout"` | ||||
| 	LoraMeshMode string `yaml:"lora_mesh_mode"` | ||||
| 	MaxChunkSize int    `yaml:"max_chunk_size"` | ||||
| 	UARTPort          string `yaml:"uart_port"` | ||||
| 	BaudRate          int    `yaml:"baud_rate"` | ||||
| 	Timeout           int    `yaml:"timeout"` | ||||
| 	LoraMeshMode      string `yaml:"lora_mesh_mode"` | ||||
| 	MaxChunkSize      int    `yaml:"max_chunk_size"` | ||||
| 	ReassemblyTimeout int    `yaml:"reassembly_timeout"` | ||||
| } | ||||
|  | ||||
| // NewConfig 创建并返回一个新的配置实例 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user