Update the random PIN generator module to provide high entropy.
[platform/upstream/iotivity.git] / resource / csdk / security / provisioning / sample / README-cloud.txt
1 # Cloud Connection
2
3 # Start cloud application
4 # Run ./cloudClient command in console. By default if uses cloud.dat database
5 # if you want to use custom database, run ./cloudClient <filename>
6
7 # After cloudClient start, you will see the big Menu
8 # First of all, you need to fill proper connection settings
9 # Enter number 4 (Change default host) - and enter your ip address
10 # By default, cloudClient using non-secure connection. If you want to use secure connection
11 # Enter number 5 (Change default port) - and enter 5684 (default CoAPs port)
12 # Enter number 10 (Change Protocol type (CoAP/CoAPs)) - and enter 1 - secure connection
13 # You can check all settings, they are printed in title of the Menu
14
15 # After basic setting were done, it is required to execute Sign Up request
16 # Enter number 1 (Sign Up request) and follow the comments (go to link, get authentication token and paste it to console)
17 # Then, before each user request, it is required to execute Sign In request
18 # Enter number 2 (Sign In request) and check the result.
19 # If it says "UUID is missing, execute Sign Up first", then previous Sign Up failed.
20 # Otherwice, it is OK and you can proceed to user requests
21
22 # After successful Sign Up and Sign In, you can execute user Requests
23 # There are 3 main group of requests - Certificate Request, CRL and ACL requests
24 # After Certificate Request, CRL Get and ACL Get Individual Info SVR database will be updated by received data from cloud
25 # Details about all requests you can find in latest Convergence Spec (what will be sent to and received from Cloud)
26
27 # Device-to-Device connection
28
29 # Start both ./cloudClient <client database> and ./cloudServer <server database> in two terminals
30 # In cloudClient Menu, Enter number 13 (Start Discovery). It will discover all resources in network.
31 # After discover, you can execute (14/15/16) GET/PUT/POST requests.
32 # Data for those requests will be automatically get from discovery (host, port and uri of first found secure resource)