Home/Support/Support Forum/Is there a way to segment the data neatly?
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)

Is there a way to segment the data neatly?

0 votes
Hi i'm newbee in packet transmit programming.

And, i'm trying to send 2048 bit data to another xbee module.

I'm using two xbee s1 module with digimesh protocol.

Sending packets to another module was successful, but there is limit of 'NP' (maximum packet payload bytes) field.

So, I put id, sequence number and segmented data in the payload, but it seems very dirty code.
I think it's because of my lack of skill.

How do others do packet segmentation with xbee?
asked Jun 2, 2020 in XBee Programmable Development by vmfallvm New to the Community (0 points)
retagged Jun 2, 2020 by vmfallvm

Please log in or register to answer this question.

2 Answers

0 votes
This is one that is not really a function of the XBee but of the software protocol and language you are working with.
answered Jun 2, 2020 by mvut Veteran of the Digi Community (15,515 points)
0 votes

If the destination node for transmission is not changing regularly, then you may consider using modules in Transparent Mode (AP=0) and just dump all data on Tx module's serial line for transmission.

That would make your code pretty small and neat.

Digi Technical Support
answered Jun 5, 2020 by mathur Veteran of the Digi Community (289 points)