seguro.commands.recorder.main.on_samples

seguro.commands.recorder.main.on_samples(s, _b, topic, samples)[source]

Callback for each received block of received samples.

Parameters:
  • s (Client) – S3 store client

  • _b (Client) – MQTT broker client

  • topic (str) – The MQTT topic on which the samples have been received

  • samples (list[Sample]) – The list of received samples