FaradayRF / Faraday-Software

Faraday node software
https://www.faradayrf.com
Other
48 stars 19 forks source link

Add DeviceConfiguration and Simpleconfig Support for Telemetry Boot Bitmask #223

Open kb1lqc opened 7 years ago

kb1lqc commented 7 years ago

Summary

Support was never given to the Telemetry Boot Bitmask. This should be implemented in both the faraday-deviceconfiguration and faraday-simpleconfig programs.

Problem Explanation

We need to properly break out the bits from the INI file as configured and generate a valid integer bitmask value. Then when we read the CC430 FLASH configuration we should break the integer value back out to the appropriate bits.

Environment

Software

Master

Hardware

N/A

Supporting Information

27773615-7b2ec3ea-5f32-11e7-82e8-94871fe0a365

kb1lqc commented 7 years ago

Actually, @kb1lqd I think this function on line 329 is actually unecessary. shouldn't we be sending an int that is representative of the bitmask like we do for the other bitmasks such as GPS Boot Bitmask?

https://github.com/FaradayRF/Faraday-Software/blob/master/faraday/proxyio/deviceconfig.py#L329