I need help. I cannot see my earlier ongoing ticket!? I have been working With it for the last couple of Days and today i was asked to share my Project but now the whole ticket is gone:( What to do, do i need to do it all again or can you guys pick it up somewere?/Kalle
If you dont have any backup.
I have tried to change parameters in example codes but i Always get the error code 0x3001 if i change the number of Connection (doenst matter if i increase peripherals or centrals). If i change it from 1 to let us say 2 or more, i get 0x3001.The function that return this error message is:ret = sd_ble_gap_adv_start(&adv_params, m_conn_cfg_tag);
The parameter that i change is:
#define BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT (1)
In my last ticket we get so far that i was asked to send/share my Project. I asked how, if the responsible person had an >FTP or email for sharing this Project. After that the ticket dissapeared.
Do you enable ble in the application before starting advertising? Error 0x3001 indicates that ble is not enabled (BLE_ERROR_NOT_ENABLED). You enable it by calling these functions below:
static void ble_stack_init(void)
err_code = nrf_sdh_enable_request();
// Configure the BLE stack using the default settings.
// Fetch the start address of the application RAM.
uint32_t ram_start = 0;
err_code = nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &ram_start);
// Enable BLE stack.
err_code = nrf_sdh_ble_enable(&ram_start);
// Register a handler for BLE events.
NRF_SDH_BLE_OBSERVER(m_ble_observer, APP_BLE_OBSERVER_PRIO, ble_evt_handler, NULL);
Alright, hard to tell what the problem is without seeing the code, have you started from any example code? Because there is an example on the exact same thing you are searching for in the sdk folder -> examples/ble_peripheral/experimental/ble_app_multiperipheral
Maybe compare your code with this one, if you haven't done that yet, and see if you maybe notice something that is different.
Can i give you the code by email or ftp? I have made a small project which only has the BLE functionality.
Could you try to adjust RAM_START and RAM_SIZE? That might fix the issue. Check out this ticket, where I have explained how to do it.
If you're still having problems, please share the code, and I can take a look at it. I can make the ticket private if you would like to.
I have tried do adjust RAM_START and also increased the RAM_SIZE but still have the same problem.
How do want me to share the code?
You can just do it in this thread. Zip your project folder and upload it here. I can make the ticket private if the project is confidential.
How do you upload/attach anything to one of these issues/thread? I do not see how to do that.
please do so:)
Could you share your code Kalles with the instructions I showed, so I can look into you issue?