Allow string values in config file #24

Closed
opened 2024-02-08 10:16:32 +00:00 by AndreFerreira5 · 0 comments
AndreFerreira5 commented 2024-02-08 10:16:32 +00:00 (Migrated from github.com)

The simulator should be able to parse the config values from the JSON file, be that a number or a string. Change the ConfigParam struct to hold a string and change the config source file to insert either an int or a char* into the struct, depending on the value type.
This will be useful for specifying paths on the config file, for example, the FIFO's paths.

The simulator should be able to parse the config values from the JSON file, be that a number or a string. Change the ConfigParam struct to hold a string and change the config source file to insert either an int or a char* into the struct, depending on the value type. This will be useful for specifying paths on the config file, for example, the FIFO's paths.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AndreFerreira5/iot-system-sim#24
No description provided.