Skip to content

Commit

Permalink
ref_state: fiexes print and nodeinfo ref datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
javierajorge committed May 13, 2024
1 parent f4d2124 commit bea395b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ uci set shared-state.node_info.scope='community'
uci set shared-state.node_info.ttl='2400'
uci set shared-state.node_info.update_interval='33'
uci commit shared-state

## Refference state data type
uci set shared-state.node_info_ref=dataType
uci set shared-state.node_info_ref.name='node_info_ref'
uci set shared-state.node_info_ref.scope='community'
uci set shared-state.node_info_ref.ttl='2400'
uci set shared-state.node_info_ref.update_interval='50'
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function get_wifi_links_info()
signal=station_stats.signal,chains=station_stats.chains,iface=station.iface,
rx_rate=station_stats.rx_rate,tx_rate=station_stats.tx_rate,freq=freq, channel = chanenel }
end
utils.printJson(links)
return links
end

Expand Down

0 comments on commit bea395b

Please sign in to comment.