esp-idf/components/mqtt/host_test/mocks/heap/heap_mock.c
Euripedes Rocha 4ec9d4bad6 mqtt: Set state on stoping; Add error code to Subscribed event
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687

Detailed description of the changes:
* Fix the default configuration for event queue
  - See merge request 
  - See commit https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
  - See merge request 
  - See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
  - See merge request 
  - Closes https://github.com/espressif/esp-mqtt/issues/239
  - See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
  - See merge request 
  - - Closes https://github.com/espressif/esp-mqtt/issues/233
  - See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
  - See merge request 
  - See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
  - See merge request 
  - See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
  - See merge request 
  - See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
  - See merge request 
  - Closes https://github.com/espressif/esp-mqtt/issues/230
  - See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
  - See merge request 
  - Closes https://github.com/espressif/esp-idf/issues/9194
  - See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2022-12-13 15:34:31 +00:00

17 lines
293 B
C

/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_heap_caps.h"
#include <stdint.h>
#include <stdlib.h>
void *heap_caps_calloc(size_t n, size_t size, uint32_t caps) {
(void)caps;
return calloc(n, size);
}