Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 490 Bytes

File metadata and controls

36 lines (29 loc) · 490 Bytes

settings = { filter: [ {'lowpass': 20}, {'highpass':40} ] }

[ [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], [0,2,3,4,5], ]

CLIENT REQUESTS:

  • get_data
    • send settings object WITH the request

FORMAT for get_data

const message = { command: 'get_data', filter: [ {'lowpass': 20}, {'highpass':40} ] }

message.jsonify() ws.send(message)