I did try your solution and now I have core Id. But my server failed to handshake and it is trying find MyCoreId.pub.pem file inside core_keys which actually not there. I have default.pub.pem in other folder but not inside core_keys folder.
I renamed the default.pub.pem to make it MyCoreid.pub.pem but it is not working. Any suggestions?
Thanks. I am able to connect to spark local cloud. But I still have 2 open questions. I would appreciate if you can help me with this.
a) How should I find the cloud_public.der file ?
b) Do we have any IDE so that I can connect to local cloud and compile my code and push it to my core.
Which public key file are you referring to? The Spark cloud or your own cloud?
In the tutorial, there’s a link a placed inside with the spark cloud public key.
Currently, compiling on the local cloud is not available. You can either use the spark cloud to compile and flash via your own cloud or compile locally on your computer and flash it
I have reached to the point where I can up my core for local cloud. The core which I was using having many access token so I deleted all of them except one. When I am trying to run spark setup and configure the core it says it needs to delete the access token but gave me error message:
Removing access toekn xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
error removing token: Error: socket hang up
Thanks but when I write “spark list” it says, my core is offline:
Ideally when the core it connected it should say like below:
Checking with the cloud…
Retrieving cores… (this might take a few seconds)
my_core_name (0123456789ABCDEFGHI) 0 variables, and 4 functions
Functions:
int digitalWrite(string)
int digitalRead(string)
int analogWrite(string)
int analogRead(string)