operateData - device_token of device which received the last data

operateData - device_token of device which received the last data

@Pauwel De Ridder

I would like to use the snippet operateData. This snippet requires as environment variables device_token to be set in advance.

I prefer not to set the device_token as a fixed variable because I want to use the code for multiple sensors. Is it possible to get the device_token of the device which was the last one in receiving data?

Actually I want to avoid setting up an Analysis for each single device.