Hi,
I’m new in this forum. I try to establish the local cloud server for the electron.
I’ve followed this for the tutorial in establishing local cloud server:
https://docs.particle.io/support/troubleshooting/cloud-solutions/photon/
Then I’ve meet error about “ec private key” and solved it, according to this:
hxxs://community.particle.io/t/electron-will-not-connect-to-local-cloud-generating-ec-instead-of-rsa-key-and-other-issues/28663
But the electron still not working (Red light keep on blinking, which mean it cannot connected).
Then i read the firmware source code, and found out that electron using UDP with port of 5684.
Spark Server using Spark Protocol library, and those library basically using TCP with port of 5683.
So i modify the firmware in the hal_platform.h, and turn off the UDP for electron.
By using this, the electron is working connecting into the server and the light become Cyan breathing.
What i want to ask is, Are there any source for the Spark Server or Spark Protocol which using UDP?
Thank you