FreeRTOS / coreMQTT

Client implementation of the MQTT 3.1.1 specification for embedded devices
MIT License
140 stars 100 forks source link

Remove dependency on config from coreMQTT headers #274

Closed archigup closed 8 months ago

archigup commented 8 months ago

core_mqtt_serializer.h included the user coreMQTT config, which spills the config header's contents into all consumers of coreMQTT's headers. Macros from the config are no longer used in the the API, so this is also no longer used for anything, so can be removed.

The loggging defaults were split out since they are not namespaced to coreMQTT, and they previously leaked to all files including a coreMQTT header. Splitting them allowed the logging defaults to only be pulled into coreMQTT source files. Now that no header files use the config headers, and thus all coreMQTT config only affects coreMQTT source files, the split is no longer needed.