parameters: (data)
docstring: Set node frequency.
docstring_summary: Set node frequency.
docstring_tokens: Set node frequency .
function: def on_set_frequency(data):
      '''Set node frequency.'''
      node_index = data['node']
      frequency = data['frequency']
      INTERFACE.set_frequency(node_index, frequency)
      server_log('Frequency set: Node {0} Frequency {1}'.format(node_index+1, frequency))
      emit_node_data()
function_tokens: def on_set_frequency ( data ) : node_index = data [ 'node' ] frequency = data [ 'frequency' ] INTERFACE . set_frequency ( node_index , frequency ) server_log ( 'Frequency set: Node {0} Frequency {1}' . format ( node_index + 1 , frequency ) ) emit_node_data ( )