Skip to content

Types: String result scrambled | exception with uint64 | question to bit and byte #84

Answered by gutschein
gutschein asked this question in Q&A
Discussion options

You must be logged in to vote

I wondered two times..

  • I used string as I used the it for defining the global variable. I didn't expect to use here something else... but with INT it works 😄
  • The docs of my device tells me "BIG_ENDIAN" at all - but with 2 (= LITTLE_ENDIAN) the strings work... 😄

Results contains now...
["MAC"] => 00:40:AD:91:D2:8B

Thank you, Martti! Perfect now! 😄

If somebody else comes to this pitfall, too... here are the values:
1 = BIG_ENDIAN
5 = BIG_ENDIAN_LOW_WORD_FIRST
2 = LITTLE_ENDIAN
6 = LITTLE_ENDIAN_LOW_WORD_FIRST

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gutschein
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gutschein
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants