spectraphilic / wasp_sketches

Waspmote sketches develoded by our group
1 stars 0 forks source link

Save frames with 255 limit, always #59

Open jdavid opened 5 years ago

jdavid commented 5 years ago

Right now the frame size can not be bigger than the payload size. This may cause problems.

For example, if we deploy a mote without any network module (or with 4G or Iridium) it will save frames up to 255 bytes long. If then we attach an XBee module it won't be able to send the saved frames, because the payload is only 73 bytes.

This task is to:

With this change we will loss a bit of network efficiency with the XBee, because if we send a fragment successfully but not the whole frame, then we will send the first fragment again next time.