commit | b6169de20e6b87eaaf46c4f30ace67a64f2c47f4 | [log] [tgz] |
---|---|---|
author | Vitor Barros <vba@cesar.org.br> | Wed Feb 07 14:04:23 2018 -0300 |
committer | Claudio Takahasi <ckt@cesar.org.br> | Tue Feb 20 16:19:14 2018 -0300 |
tree | 7033923d3baf27f6b72c979b6df8f86021e32aef | |
parent | 7a26df1da4322846be65a113d7c6f20b186bda0a [diff] |
Add thing identification on knot_config
diff --git a/src/knot_thing_protocol.c b/src/knot_thing_protocol.c index 8b87361..9773e3f 100644 --- a/src/knot_thing_protocol.c +++ b/src/knot_thing_protocol.c
@@ -169,6 +169,8 @@ set_nrf24MAC(); } + config.id = config.mac.address.uint64; + return init_connection(); }