I have changed the ram start and ram size, but as soon as i am adding the 10th characteristic to my second custom service, the program is crashing?
i've also changed BLE_GATT_DB_MAX_CHARS to 20 in the ble_gatt_db.h
I have changed the ram start and ram size, but as soon as i am adding the 10th characteristic to my second custom service, the program is crashing?
i've also changed BLE_GATT_DB_MAX_CHARS to 20 in the ble_gatt_db.h
Hi
This ticket is very similar to your other ticket. Please do not make duplicate tickets on the same topic.
Is the BLE_GATT_DB_MAX_CHARS by chance also defined in your sdk_config.h file. If so, make sure that this is set to the same number as well to avoid a conflict here. Can you provide some details on what exactly is "crashing"? Do you get an error when trying to build/flash the device, or does it crash while running? If the latter is the case, please try debugging your device to see where exactly it fails.
Also, how have you added these characteristics? I would suggest following our custom service tutorial for reference.
Best regards,
Simon
Hi
This ticket is very similar to your other ticket. Please do not make duplicate tickets on the same topic.
Is the BLE_GATT_DB_MAX_CHARS by chance also defined in your sdk_config.h file. If so, make sure that this is set to the same number as well to avoid a conflict here. Can you provide some details on what exactly is "crashing"? Do you get an error when trying to build/flash the device, or does it crash while running? If the latter is the case, please try debugging your device to see where exactly it fails.
Also, how have you added these characteristics? I would suggest following our custom service tutorial for reference.
Best regards,
Simon
I have 7 characteristics. Try to change the value of BLE_GATT_DB_MAX_CHARS. Only four characteristics can be used. Why?