DLTcollab / TA-endpoint

Connect resource constrained endpoints with Tangle-Accelerator
Apache License 2.0
0 stars 2 forks source link

Add data preprocessing function pointer #15

Closed howjmay closed 4 years ago

howjmay commented 4 years ago

The data transmitted to TA-endpoint sometimes needs to be done with some certain preprocess which may depends on the scenario. I.E. a battery sends raw power consumption data to TA-endpoint. TA-endpoint would process the data including appending data receiving time, client ID, hardware ID, etc. Then the proccessed can be encrypted, encoded and transmit to tangle.

We need a function to handle this task, and in order to meet different situation using a function pointer may be better.

splasky commented 4 years ago

Move to tangle-accelerator #574