seguro.commands.recorder.main

Functions

main()

on_samples(s, _b, topic, samples)

Callback for each received block of received samples.

seguro.commands.recorder.main.main()[source]
Return type:

int

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