string as sensor value possible

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
dumdidum
New user
Posts: 5
Joined: 30 Jan 2017, 17:19

string as sensor value possible

#1 Post by dumdidum » 22 May 2017, 11:50

i got the rfid reader rdm6300 up and running.
it reads a 40 bit string via serial - the output of the module is a dec value of only 32-bit.
so there are 8bits missing ...
is there a way to store a 64bit value?

up to now i can only write the string to a syslog server

krikk
Normal user
Posts: 118
Joined: 28 Feb 2017, 07:57
Location: Austria
Contact:

Re: string as sensor value possible

#2 Post by krikk » 22 May 2017, 15:47

string is not currently supported... split it up in 2 long values??

dumdidum
New user
Posts: 5
Joined: 30 Jan 2017, 17:19

Re: string as sensor value possible

#3 Post by dumdidum » 23 May 2017, 16:30

would be a first solution. but my coding knowledge is not the best ...
got it running with "test += (char)val;" in the reading while loop
and then output with "log += test;"

for now i catch this hex value from my syslog server

a string or 64-bit multibyte value would be something for the wishlist to add :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests