Julian Dietzel closed issue #1: Broadcast not considered when building package at Remote Exploration Simulation / Satellite Network Protocol

Julian Dietzel
2021-09-15T15:18:09Z

Problem

In package.py in line 85 the function toByteMessage does not check if the broadcast value is true or false and does nothing with it. This can result in the broadcast value being true but the receiver address not being set to the broadcast address.

Solution

Check if the broadcast value is true and set the receiver address to the broadcast address (after the procedure of regularly setting the receiver address, as to not be overwritten)