Identify firmware to App


It would be neat if there was a simple way to identify my firmware to the App / cloud.

Some kind of call in the code, like :

Particle.Identify("Weather V1.1");

Then in the app it would show :

Photon             Online, Weather V1.1

Particle constant for current running application name?

It could be me, but isn’t that kinda what the ‘name’ is for, like, for naming things? That way you’d get “Weather V1.1 online”, which makes more sense, since the device is online, and not the firmware.

You could also set up a Spark.variable() with that information. Then it’s exposed to the cloud. The app is mostly meant for configuration and prototyping. I can’t imagine someone wanting to use that in production?

For product creators, there’s this:


I agree that having an opaque tag that the application can set at either compile time or runtime, and have that be reported to the cloud at init time, and displayed int eh IDE/Dashboard would be goodness.

I disagree that the device defines the application. I think that may be true after deployment, but during development or experimentation the coupling is transient.


I noticed that when Tinker is loaded on a Photon and BluzDK, the name “Tinker” shows up in the device list of the Particle app for phones/tables.
How does that work? I don’t see any code in the Tinker sketch itself.
I would like to use this to remember what I am running on my devices.

Some posts mention flags like APP=myapp for a command line compile, but I use the ParticleDev editor.



I’d think that the presence of the four distinct particle functions used in Tinker is taken as indicator whether Tinker (or any code featuring the same four functions) is running on the device.


Thanks ScruffR.
I wish it were user programmable.
I now have a mix of Photons, BluzDKs and GWS all with cute names that meant something to me at some point. I would like to be able to glance at the list to be sure which device I want to deal with.
I guess I need to pick better names.