【求组】与网关通信距离过近
如题
测试产品的时候发现,发现产品与网关之间的通信距离过近,只有 十几米 远,
问一下,这个 SDK 的发射功率最大可以设置多少?
我看到默认是 10
Code: Select all
TAL_ZG_NODE_CFG_T node_config = {
.node_type = ZG_SLEEPY_END_DEVICE,
.tx_power = 10,
.scan_interval = 200,
.scan_duration = ZG_SCAN_DURATION_3,
.config.sleep_ed_cfg.poll_config.forever_flag = 1,
.config.sleep_ed_cfg.poll_config.fast_swicth_parent = 1,
.config.sleep_ed_cfg.poll_config.interval_ms = 1000,
.config.sleep_ed_cfg.poll_config.max_failed_times = 5,
.config.sleep_ed_cfg.poll_config.duration_after_data_ms = 2000,
.config.sleep_ed_cfg.poll_config.duration_after_join_ms = 30000,
.config.sleep_ed_cfg.poll_config.duration_after_rejoin_ms = 15000,
.config.sleep_ed_cfg.rejoin_config.power_on_active = 1,
.config.sleep_ed_cfg.rejoin_config.send_data_active = 1,
.config.sleep_ed_cfg.rejoin_config.attempts = 3,
.config.sleep_ed_cfg.rejoin_config.interval = 1000,
};