OpenCellular
                                
                                 OpenCellular copied to clipboard
                                
                                    OpenCellular copied to clipboard
                            
                            
                            
                        Feature Request: Logging functionality for EC
Product: (OC-SDR, OC-LTE, OC-LTE, OC-Power, others)
OC-SDR
Component: (PSU, GBC, BBU, FEM, LED, ME)
GBC
Category: (Hardware, Software/stack, Firmware/bootloader, Documentation)
Firmware/OCWare Describe the solution you'd like We should implement a concept of logging domain, so that we can compile out debug logs for modules we don't care about. Syntax is totally up for debate, but an example would be:
DEBUG(LOG_DOMAIN_IRIDIUM, "testing stuff");
Then, we could have a single file that allows us to filter domains (we'd also have a global switch to disable all debug prints).
#define DEBUG_LOGS true
#define LOG_DOMAIN_IRIDIUM false
We should also have the ability to direct logs to multiple places. For example, debug logs only go to the console, but info/warnings go to console and flash.
Is your feature request related to a problem? Please describe. Adding a logging support for the EC and defining the process of enabling and retrieving these logs.