Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
64 bit MSB first 2 bytes are missing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
snoop  
View profile  
 More options Jul 18 2012, 11:50 am
From: snoop <alexander.ros...@gmail.com>
Date: Wed, 18 Jul 2012 08:50:37 -0700 (PDT)
Local: Wed, Jul 18 2012 11:50 am
Subject: 64 bit MSB first 2 bytes are missing

I am missing the first 2 bytes when I convert the serial to hex

String(rx.getRemoteAddress64().getMsb(),HEX)

returns 13a200

I would like 0013a200

any thoughts?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
snoop  
View profile  
 More options Aug 31 2012, 11:28 am
From: snoop <alexander.ros...@gmail.com>
Date: Fri, 31 Aug 2012 08:28:50 -0700 (PDT)
Local: Fri, Aug 31 2012 11:28 am
Subject: Re: 64 bit MSB first 2 bytes are missing

If anybody has any insight, please let me know.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
snoop  
View profile  
 More options Aug 31 2012, 11:38 am
From: snoop <alexander.ros...@gmail.com>
Date: Fri, 31 Aug 2012 08:38:41 -0700 (PDT)
Local: Fri, Aug 31 2012 11:38 am
Subject: Re: 64 bit MSB first 2 bytes are missing

I think it is because it is an integer and it is clipping the leading
zeros. The same would happen to the LSB

void XBeeAddress64::setMsb(uint32_t msb) {
_msb = msb;


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »