pubnub / arduino

The Official PubNub Arduino-based API!
Other
105 stars 49 forks source link

Set device publisher name #20

Closed timoschuetz closed 6 years ago

timoschuetz commented 6 years ago

Hey, I tried setting up an arduino which publishes some messages to an node js server, but I cannot get an publisher name out of it. I searched the docs and found nothing really useful. I set an uuid before the PubNub begin with ( PubNub.set_uuid(uuid); ), but it had no effect. The Application just returns an undefined. How can I set this up?

Thanks for help

vveljko commented 6 years ago

There is no way to get the "publisher name/identity" of a message. You need to somehow include the identity in the message or its metadata, and then use it when you get the message (after a subscribe transaction).

But, this not an issue with this library, but a usage/support question for Pubnub service in general and please direct all Support Questions and Concerns to Support@PubNub.com - you will get much better and much faster support.