Hello,
When I added the below lines I get some error:
NRF_BLE_GQ_DEF(m_ble_gatt_queue, /**< BLE GATT Queue instance. */
NRF_SDH_BLE_CENTRAL_LINK_COUNT,
NRF_BLE_GQ_QUEUE_SIZE);
Compiling file: nrf_sdh_soc.c
Linking target: _build/nrf52832_xxaa.out
../../../../arm-none-eabi/bin/ld: _build/nrf52832_xxaa/nrf_ble_gq.c.o: in function `queue_process':
../../../../../../components/ble/nrf_ble_gq/nrf_ble_gq.c:185: undefined reference to `nrf_queue_generic_pop'
../../../../arm-none-eabi/bin/ld: ../../../../../../components/ble/nrf_ble_gq/nrf_ble_gq.c:283: undefined reference to `nrf_queue_generic_pop'
../../../../arm-none-eabi/bin/ld: _build/nrf52832_xxaa/nrf_ble_gq.c.o: in function `nrf_ble_gq_on_ble_evt':
../../../../../../components/ble/nrf_ble_gq/nrf_ble_gq.c:602: undefined reference to `nrf_queue_push'
In sdk_config.h I defined the followings:
#ifndef NRF_BLE_GQ_ENABLED
#define NRF_BLE_GQ_ENABLED 1
#endif
// <o> NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE - Default size of a single element in the pool of memory objects.
#ifndef NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE
#define NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE 20
#endif
// <o> NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT - Default number of elements in the pool of memory objects.
#ifndef NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT
#define NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT 8
#endif
// <o> NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN - Maximal size of the data inside GATTC write request (in bytes).
#ifndef NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN
#define NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN 16
#endif
// <o> NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN - Maximal size of the data inside GATTC notification or indication request (in bytes).
#ifndef NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN
#define NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN 16
#endif
Can you please help to resolve this issue?
Thanks.