Update 'README.md'
This commit is contained in:
parent
b0c9e5497c
commit
a626b8930d
@ -6,9 +6,13 @@ To run this you will need to
|
|||||||
0. make install mbedtls - https://github.com/ARMmbed/mbedtls
|
0. make install mbedtls - https://github.com/ARMmbed/mbedtls
|
||||||
|
|
||||||
1. cd tria5
|
1. cd tria5
|
||||||
|
|
||||||
2. make two copies of this directory/code - master and slave
|
2. make two copies of this directory/code - master and slave
|
||||||
|
|
||||||
3. modify defines.h -
|
3. modify defines.h -
|
||||||
|
|
||||||
i. set SERVER_ADD to "localhost"
|
i. set SERVER_ADD to "localhost"
|
||||||
|
|
||||||
ii. set DFL_ID to MASTER_ID/CLIENT1_ID as required
|
ii. set DFL_ID to MASTER_ID/CLIENT1_ID as required
|
||||||
|
|
||||||
4. make and run ./out/main on both
|
4. make and run ./out/main on both
|
||||||
@ -16,7 +20,9 @@ ii. set DFL_ID to MASTER_ID/CLIENT1_ID as required
|
|||||||
on the first attempt it will fail after generating keys
|
on the first attempt it will fail after generating keys
|
||||||
|
|
||||||
5.copy
|
5.copy
|
||||||
|
|
||||||
i. from $master/../keys/Alias_pub.pem to $slave/../clientkeys/Server_pub.pem
|
i. from $master/../keys/Alias_pub.pem to $slave/../clientkeys/Server_pub.pem
|
||||||
|
|
||||||
ii. from $slave/../keys/Alias_pub.pem to $master/../clientkeys/Client1_pub.pem
|
ii. from $slave/../keys/Alias_pub.pem to $master/../clientkeys/Client1_pub.pem
|
||||||
|
|
||||||
6. run master and salve again (in order)
|
6. run master and salve again (in order)
|
||||||
|
Loading…
Reference in New Issue
Block a user