File tree Expand file tree Collapse file tree
greengrass/basic_discovery
commands/commands-sandbox
fleet_provisioning/provision-basic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ struct CmdArgs
2323 String endpoint;
2424 String cert;
2525 String key;
26- String clientId;
2726 String caFile;
2827 String thingName;
2928 String topic = " test/topic" ;
@@ -192,10 +191,6 @@ CmdArgs parseArgs(int argc, char *argv[])
192191 {
193192 args.thingName = argv[++i];
194193 }
195- else if (strcmp (argv[i], " --client_id" ) == 0 )
196- {
197- args.clientId = argv[++i];
198- }
199194 else if (strcmp (argv[i], " --ca_file" ) == 0 )
200195 {
201196 args.caFile = argv[++i];
@@ -242,10 +237,6 @@ CmdArgs parseArgs(int argc, char *argv[])
242237 printHelp ();
243238 exit (1 );
244239 }
245- if (args.clientId .empty ())
246- {
247- args.clientId = String (" test-" ) + Aws::Crt::UUID ().ToString ();
248- }
249240 return args;
250241}
251242
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.9...3.31)
33project (commands-sandbox CXX )
44
55file (GLOB SRC_FILES
6- "*.cpp"
6+ "*.cpp" ,
7+ "*.h"
78)
89
910add_executable (${PROJECT_NAME} ${SRC_FILES} )
Original file line number Diff line number Diff line change 2121#include < aws/iotidentity/V2ErrorResponse.h>
2222
2323#include < fstream>
24- #include < cstring>
2524
2625using namespace Aws ::Crt;
2726using namespace Aws ::Iotidentity;
You can’t perform that action at this time.
0 commit comments