11s mesh id automatisch berechnen aus dem site_code kompatibel zu ffhh-sued

This commit is contained in:
Daniel Frank 2017-11-01 21:38:24 +01:00
parent c25f21dc6a
commit 0cb0709373

View file

@ -28,7 +28,7 @@
},
<% if gluon_ath10k_mesh == "11s" -%>
mesh = {
id = '6668682D73756564',
id = '<%= site_code.prepend("00000000")[-8..-1].each_byte.map { |b| b.to_s(16) }.join.upcase %>'
mcast_rate = 12000,
},
<% else -%>
@ -47,7 +47,7 @@
},
<% if gluon_ath10k_mesh == "11s" -%>
mesh = {
id = '6668682D73756564',
id = '<%= site_code.prepend("00000000")[-8..-1].each_byte.map { |b| b.to_s(16) }.join.upcase %>'
mcast_rate = 12000,
},
<% else -%>