This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Softdevice_Handler error #94-D

using SDK 12.1.0 The original error (compile time only) is
main.c(338): error: #94-D: the size of an array must be greater than zero

my snippet @ line 338:

SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL); //<--- err line

ble_enable_params_t ble_enable_params;
err_code = softdevice_enable_get_default_config(CENTRAL_LINK_COUNT,
                                                PERIPHERAL_LINK_COUNT,
                                                &ble_enable_params);

I looked around and found a similar problem (array too large) on this page: devzone.nordicsemi.com/.../

I tried the fix they suggest of changing the BLE_STACK_EVT_MSG_BUF_SIZE to 1 instead of 0. That didn't work. This is in ble_stack_handler_types.h, line 61

This was all built using the NRF Characteristic Tutorial (after completing the Service Tutorial) and I did not add any of this code, just included the files

I appreciate any ideas/advice/help. Cheers

Related