mc-Things
mc-Products => mc-Studio => Topic started by: michal on August 06, 2016, 02:08:01 am
-
Does the Device.mcUID have any relationship to the UID on the modules and in mcStudio?
For example I get the following:
UID 00.01.08.5F is mcUID 67679.
UID 00.01.08.67 is mcUID 67687.
And so forth.
Regards,
Michal
-
Hello.
This is hex to decimal conversion.
Hex 00.01.08.5F = decimal 67679
http://www.binaryhexconverter.com/decimal-to-hex-converter
-
Ahh! of course. I had an inkling it might be something like that.
I haven't dealt with hex for a very long time so it didn't quite click.
Thanks!
-
Just wondering. Are there any undocumented functions or options for ToString that allow for integer to hexadecimal conversion?
-
The ToString("X8") would work. There are also ToString() functions for DateTime with undocumented features. This will be documented in the next release.
-John-
-
There appears to be no difference between these two:
Public UID As String = Device.mcUID().ToString("X8")
Public UID As String = Device.mcUID().ToString()
Perhaps sit's unimplemented? No error generated.
-
We will look into this. Which version of the firmware are you running?
-
On the modules I have firmware V0.7-361.
On the gateway I have host processor firmware V0.7-406 and application processor firmware V0.6-360.
My mcStudio is version V0.7-895.
-
You are correct. This is a bug and we have fixed it. There will be a release soon to resolve this issue.
-
@michal - we uploaded new module firmware and a new gateway hot processor file onto the website today! Please be sure to update your modules and gateway with the new versions.
Thanks!