DLTcollab / TA-endpoint

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

feat: Promote random tryte generation as generic utility #41

Closed splasky closed 4 years ago

splasky commented 4 years ago

Defining gen_tryte() inside main.c may cause us hard to integrate with legato or implement unit-test. A new file tryte_msg.h is added, it includes for tryte message related implementation.

Add gen_trytres_message() for generate unify trytes message for logger and https sender.

Closes #50

howjmay commented 4 years ago

The way we send message to tangle-accelerator is still under discussion. See issue #518 for more information

gen_trytres_message() may be deprecated at that time.