The Particle.function uses String to accept a parameter value. Is it possible to use a char array instead? I ask because, to my understanding, instantiating Strings will lead to heap fragmentation. I am setting up a product that will receive many calls to Particle.function and I’m concerned that over time the chip will cough and sputter because of heap fragmentation.
Is it possible to use a char array instead to receive the parameter value? If so, how? Or, does Particle have something up its sleeve allowing the use of String in those functions with no ill effect?