SensorApps / Sensors2OSC

Android app for sending sensor data via Open Sound Control (OSC).
http://sensors2.org/osc
Other
66 stars 18 forks source link

/nfc does not send complete NFC UID #18

Closed agomes80 closed 6 years ago

agomes80 commented 6 years ago

It seems that the OSC messages generated from NFC tags are truncated.

Only the first digits of the UID of each tag is sent, which prevents differentiating one tag from another.

Would it be possible to send the entire UID of NFC tags as text over OSC?

Thanks in advance, Alex Siqueira

residuum commented 6 years ago

I do not have a phone with NFC here, but I can see the problem: The OSC dispatcher only sends float values. I will have a look at it, though.

residuum commented 6 years ago

@Knob-dev01: Could you verify this fix?

agomes80 commented 6 years ago

Hi Thomas,

It looks great!

Problem solved.

Appreciated,

On Thu, Mar 8, 2018 at 8:46 PM, Thomas Mayer notifications@github.com wrote:

@Knob-dev01 https://github.com/knob-dev01: Could you verify this fix?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SensorApps/Sensors2OSC/issues/18#issuecomment-371686177, or mute the thread https://github.com/notifications/unsubscribe-auth/AMc2Oex_p5-tL6inPBgVGMh3qzEjrMFJks5tcd8MgaJpZM4Rgxxc .