GURU meditation error panic at core Zero after BLE host task start

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

GURU meditation error panic at core Zero after BLE host task start

Postby madhusudan_jadhav » Sat May 06, 2023 8:41 am

I am using BLPPRPH example. I have modified the example as i wanted to send and recieve the data. Compilation goes ok. but when esp32 starts
  1. I (631) cpu_start: Starting scheduler on PRO CPU.
  2. I (0) cpu_start: Starting scheduler on APP CPU.
  3. state=1I (2655) BTDM_INIT: BT controller compile version [60aae55]
  4. I (2655) system_api: Base MAC address is not set
  5. I (2655) system_api: read default base MAC address from EFUSE
  6. I (2665) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
  7. thisonethistwothisthreethisdfourthidfivethissixI (3005) NimBLE_BLE_PRPH: BLE Host Task Started
  8. Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
  9.  
  10. Core  0 register dump:
  11. PC      : 0x400d818c  PS      : 0x00060d30  A0      : 0x800d78ec  A1      : 0x3ffbbc10
  12. 0x400d818c: RelayDataMessageHandle at C:/Espressif/tools/espressif-ide/2.9.0/workspace/bleprph/main/gpio.c:162
  13.  
  14. A2      : 0x00000094  A3      : 0x3ffb7ad4  A4      : 0x3ffc3664  A5      : 0x00000040
  15. A6      : 0x400d5550  A7      : 0x0000cdcd  A8      : 0x00000000  A9      : 0x3ffbbbe0
  16. 0x400d5550: timer_task at C:/Espressif/frameworks/esp-idf-v5.0.1/components/esp_timer/src/esp_timer.c:428
  17.  
  18. A10     : 0x00000000  A11     : 0x3ffb7ad4  A12     : 0x3ffc1fc2  A13     : 0x00060823
  19. A14     : 0x3ffbbbf0  A15     : 0x0000cdcd  SAR     : 0x00000012  EXCCAUSE: 0x0000001c
  20. EXCVADDR: 0x00000094  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff
  21.  
  22.  
  23. Backtrace: 0x400d8189:0x3ffbbc10 0x400d78e9:0x3ffbbc30 0x4017b9b7:0x3ffbbc50 0x400952e5:0x3ffbbc80
.

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: GURU meditation error panic at core Zero after BLE host task start

Postby madhusudan_jadhav » Sat May 06, 2023 8:42 am

which code i should check for unrecognised variable?

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: GURU meditation error panic at core Zero after BLE host task start

Postby madhusudan_jadhav » Sat May 06, 2023 9:51 am

i saw it in build file. symbol _n couldnot resolved.
Attachments
Screenshot (87).png
Screenshot (87).png (136.5 KiB) Viewed 3722 times

MicroController
Posts: 1705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: GURU meditation error panic at core Zero after BLE host task start

Postby MicroController » Sat May 06, 2023 11:30 am

You would certainly get more and better help if you could start to show code that is in any way relevant to your problem.

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: GURU meditation error panic at core Zero after BLE host task start

Postby madhusudan_jadhav » Sat May 06, 2023 11:38 am

  1. static int
  2. gatt_svr_chr_access_sec_test(uint16_t conn_handle, uint16_t attr_handle,
  3.                              struct ble_gatt_access_ctxt *ctxt,
  4.                              void *arg)
  5. {
  6.     const ble_uuid_t *uuid;
  7.     int rc=0;
  8.     // uint8_t dats[50]={0};
  9.     uuid = ctxt->chr->uuid;
  10.      assert  (0);
  11.     if (ble_uuid_cmp(uuid, &gatt_svr_chr_sec_test_static_uuid.u) == 0) {
  12.         switch (ctxt->op) {
  13.         case BLE_GATT_ACCESS_OP_READ_CHR:
  14.         if(state == 0){
  15.             rc = os_mbuf_append(ctxt->om, &send_data,
  16.                     sizeof (send_data));
  17.  
  18.             return rc == 0 ? 0 : BLE_ATT_ERR_INSUFFICIENT_RES;}
  19.         else{
  20.             rc = os_mbuf_append(ctxt->om, &send_data1,
  21.                     sizeof (send_data1));
  22.         }
  23.         return rc == 0 ? 0 : BLE_ATT_ERR_INSUFFICIENT_RES;
  24.     case BLE_GATT_ACCESS_OP_WRITE_CHR:
  25.         printf("Data from the client: %.*s\n", ctxt->om->om_len, ctxt->om->om_data);
  26.         //           gatt_svr_chr_write(ctxt->om, 1, ctxt->om->om_len,
  27.         //                              &recieve_data, ctxt->om->om_len);
  28.         for (int i =0;i < ctxt->om->om_len;i++ ){
  29.             recieve_data[i]=ctxt->om->om_data[i];
  30.             printf("recievedata =%c\n",recieve_data[i]);
  31.         }
  32.             printf("writing done");return 0;
  33.         default:
  34.             assert(0);
  35.             printf("writing error");
  36.             return BLE_ATT_ERR_UNLIKELY;
  37.         }
  38.     }
  39.  
  40.     /* Unknown characteristic; the nimble stack should not have called this
  41.      * function.
  42.      */
  43.     assert(0);
  44.     return BLE_ATT_ERR_UNLIKELY;
  45. }
  46. static const struct ble_gatt_svc_def gatt_svr_svcs[] = {
  47. {
  48. /*** Service: Security test. */
  49. .type = BLE_GATT_SVC_TYPE_PRIMARY,
  50. .uuid = &gatt_svr_svc_sec_test_uuid.u,
  51. .characteristics = (struct ble_gatt_chr_def[])
  52. {
  53. {
  54. /*** Characteristic: Static value. */
  55. .uuid = &gatt_svr_chr_sec_test_static_uuid.u,
  56.     .access_cb = gatt_svr_chr_access_sec_test,
  57.     .flags = BLE_GATT_CHR_F_READ | BLE_GATT_CHR_F_READ_ENC |
  58.     BLE_GATT_CHR_F_WRITE | BLE_GATT_CHR_F_WRITE_ENC,
  59. }, {
  60.         0, /* No more characteristics in this service. */
  61. }
  62. },
  63. },
  64.  
  65. {
  66.         0, /* No more services. */
  67. },
  68. };
  69.  
  70. void
  71. gatt_svr_register_cb(struct ble_gatt_register_ctxt *ctxt, void *arg)
  72. {
  73.     char buf[BLE_UUID_STR_LEN];
  74.  
  75.     switch (ctxt->op) {
  76.     case BLE_GATT_REGISTER_OP_SVC:
  77.         MODLOG_DFLT(DEBUG, "registered service %s with handle=%d\n",
  78.                     ble_uuid_to_str(ctxt->svc.svc_def->uuid, buf),
  79.                     ctxt->svc.handle);
  80.         break;
  81.  
  82.     case BLE_GATT_REGISTER_OP_CHR:
  83.         MODLOG_DFLT(DEBUG, "registering characteristic %s with "
  84.                     "def_handle=%d val_handle=%d\n",
  85.                     ble_uuid_to_str(ctxt->chr.chr_def->uuid, buf),
  86.                     ctxt->chr.def_handle,
  87.                     ctxt->chr.val_handle);
  88.         break;
  89.  
  90.     case BLE_GATT_REGISTER_OP_DSC:
  91.         MODLOG_DFLT(DEBUG, "registering descriptor %s with handle=%d\n",
  92.                     ble_uuid_to_str(ctxt->dsc.dsc_def->uuid, buf),
  93.                     ctxt->dsc.handle);
  94.         break;
  95.  
  96.     default:
  97.         assert(0);
  98.         break;
  99.     }
  100. }
  101.  
  102. int
  103. gatt_svr_init(void)
  104. {
  105.     int rc;
  106.  
  107.     ble_svc_gap_init();
  108.     ble_svc_gatt_init();
  109.     ble_svc_ans_init();
  110.  
  111.     rc = ble_gatts_count_cfg(gatt_svr_svcs);
  112.     if (rc != 0) {
  113.         return rc;
  114.     }
  115.  
  116.     rc = ble_gatts_add_svcs(gatt_svr_svcs);
  117.     if (rc != 0) {
  118.         return rc;
  119.     }
  120.  
  121.     return 0;
  122. }
[Codebox=text file=Untitled.txtstatic void
bleprph_advertise(void)
{
struct ble_gap_adv_params adv_params;
struct ble_hs_adv_fields fields;
const char *name;
int rc;

/**
* Set the advertisement data included in our advertisements:
* o Flags (indicates advertisement type and other general info).
* o Advertising tx power.
* o Device name.
* o 16-bit service UUIDs (alert notifications).
*/

memset(&fields, 0, sizeof fields);

/* Advertise two flags:
* o Discoverability in forthcoming advertisement (general)
* o BLE-only (BR/EDR unsupported).
*/
fields.flags = BLE_HS_ADV_F_DISC_GEN |
BLE_HS_ADV_F_BREDR_UNSUP;

/* Indicate that the TX power level field should be included; have the
* stack fill this value automatically. This is done by assigning the
* special value BLE_HS_ADV_TX_PWR_LVL_AUTO.
*/
fields.tx_pwr_lvl_is_present = 1;
fields.tx_pwr_lvl = BLE_HS_ADV_TX_PWR_LVL_AUTO;

name = ble_svc_gap_device_name();
fields.name = (uint8_t *)name;
fields.name_len = strlen(name);
fields.name_is_complete = 1;

fields.uuids16 = (ble_uuid16_t[]) {
BLE_UUID16_INIT(GATT_SVR_SVC_ALERT_UUID)
};
fields.num_uuids16 = 1;
fields.uuids16_is_complete = 1;

rc = ble_gap_adv_set_fields(&fields);
if (rc != 0) {
MODLOG_DFLT(ERROR, "error setting advertisement data; rc=%d\n", rc);
return;
}

/* Begin advertising. */
memset(&adv_params, 0, sizeof adv_params);
adv_params.conn_mode = BLE_GAP_CONN_MODE_UND;
adv_params.disc_mode = BLE_GAP_DISC_MODE_GEN;
rc = ble_gap_adv_start(own_addr_type, NULL, BLE_HS_FOREVER,
&adv_params, bleprph_gap_event, NULL);
if (rc != 0) {
MODLOG_DFLT(ERROR, "error enabling advertisement; rc=%d\n", rc);
return;
}
}
#endif

#if MYNEWT_VAL(BLE_POWER_CONTROL)
static void bleprph_power_control(uint16_t conn_handle)
{
int rc;

rc = ble_gap_read_remote_transmit_power_level(conn_handle, 0x01 ); // Attempting on LE 1M phy
assert (rc == 0);

rc = ble_gap_set_transmit_power_reporting_enable(conn_handle, 0x1, 0x1);
assert (rc == 0);
}
#endif


/**
* The nimble host executes this callback when a GAP event occurs. The
* application associates a GAP event callback with each connection that forms.
* bleprph uses the same callback for all connections.
*
* @param event The type of event being signalled.
* @param ctxt Various information pertaining to the event.
* @param arg Application-specified argument; unused by
* bleprph.
*
* @return 0 if the application successfully handled the
* event; nonzero on failure. The semantics
* of the return code is specific to the
* particular GAP event being signalled.
*/
static int
bleprph_gap_event(struct ble_gap_event *event, void *arg)
{
struct ble_gap_conn_desc desc;
int rc;

switch (event->type) {
case BLE_GAP_EVENT_CONNECT:
/* A new connection was established or a connection attempt failed. */
MODLOG_DFLT(INFO, "connection %s; status=%d ",
event->connect.status == 0 ? "established" : "failed",
event->connect.status);
if (event->connect.status == 0) {
rc = ble_gap_conn_find(event->connect.conn_handle, &desc);
assert(rc == 0);
bleprph_print_conn_desc(&desc);
}
//rc = ble_gap_security_initiate(&desc);
MODLOG_DFLT(INFO, "\n");

if (event->connect.status != 0) {
/* Connection failed; resume advertising. */
#if CONFIG_EXAMPLE_EXTENDED_ADV
ext_bleprph_advertise();
#else
bleprph_advertise();
#endif
}

#if MYNEWT_VAL(BLE_POWER_CONTROL)
bleprph_power_control(event->connect.conn_handle);

ble_gap_event_listener_register(&power_control_event_listener,
bleprph_gap_event, NULL);
#endif
return 0;

case BLE_GAP_EVENT_DISCONNECT:
MODLOG_DFLT(INFO, "disconnect; reason=%d ", event->disconnect.reason);
bleprph_print_conn_desc(&event->disconnect.conn);
MODLOG_DFLT(INFO, "\n");

/* Connection terminated; resume advertising. */
#if CONFIG_EXAMPLE_EXTENDED_ADV
ext_bleprph_advertise();
#else
bleprph_advertise();
#endif
return 0;

case BLE_GAP_EVENT_CONN_UPDATE:
/* The central has updated the connection parameters. */
MODLOG_DFLT(INFO, "connection updated; status=%d ",
event->conn_update.status);
rc = ble_gap_conn_find(event->conn_update.conn_handle, &desc);
assert(rc == 0);
bleprph_print_conn_desc(&desc);
MODLOG_DFLT(INFO, "\n");
return 0;

case BLE_GAP_EVENT_ADV_COMPLETE:
MODLOG_DFLT(INFO, "advertise complete; reason=%d",
event->adv_complete.reason);
#if !CONFIG_EXAMPLE_EXTENDED_ADV
bleprph_advertise();
#endif
return 0;

case BLE_GAP_EVENT_ENC_CHANGE:
/* Encryption has been enabled or disabled for this connection. */
MODLOG_DFLT(INFO, "encryption change event; status=%d ",
event->enc_change.status);
rc = ble_gap_conn_find(event->enc_change.conn_handle, &desc);
assert(rc == 0);
bleprph_print_conn_desc(&desc);
MODLOG_DFLT(INFO, "\n");
return 0;

case BLE_GAP_EVENT_SUBSCRIBE:
MODLOG_DFLT(INFO, "subscribe event; conn_handle=%d attr_handle=%d "
"reason=%d prevn=%d curn=%d previ=%d curi=%d\n",
event->subscribe.conn_handle,
event->subscribe.attr_handle,
event->subscribe.reason,
event->subscribe.prev_notify,
event->subscribe.cur_notify,
event->subscribe.prev_indicate,
event->subscribe.cur_indicate);
return 0;

case BLE_GAP_EVENT_MTU:
MODLOG_DFLT(INFO, "mtu update event; conn_handle=%d cid=%d mtu=%d\n",
event->mtu.conn_handle,
event->mtu.channel_id,
event->mtu.value);
return 0;

case BLE_GAP_EVENT_REPEAT_PAIRING:
/* We already have a bond with the peer, but it is attempting to
* establish a new secure link. This app sacrifices security for
* convenience: just throw away the old bond and accept the new link.
*/

/* Delete the old bond. */

rc = ble_gap_conn_find(event->repeat_pairing.conn_handle, &desc);
assert(rc == 0);
ble_store_util_delete_peer(&desc.peer_id_addr);

/* Return BLE_GAP_REPEAT_PAIRING_RETRY to indicate that the host should
* continue with the pairing operation.
*/
return BLE_GAP_REPEAT_PAIRING_RETRY;

case BLE_GAP_EVENT_PASSKEY_ACTION:
ESP_LOGI(tag, "PASSKEY_ACTION_EVENT started \n");
struct ble_sm_io pkey = {0};
int key = 0;

if (event->passkey.params.action == BLE_SM_IOACT_DISP) {
pkey.action = event->passkey.params.action;
pkey.passkey = 123456; // This is the passkey to be entered on peer
ESP_LOGI(tag, "Enter passkey %" PRIu32 "on the peer side", pkey.passkey);
rc = ble_sm_inject_io(event->passkey.conn_handle, &pkey);
ESP_LOGI(tag, "ble_sm_inject_io result: %d\n", rc);
} else if (event->passkey.params.action == BLE_SM_IOACT_NUMCMP) {
ESP_LOGI(tag, "Passkey on device's display: %" PRIu32 , event->passkey.params.numcmp);
ESP_LOGI(tag, "Accept or reject the passkey through console in this format -> key Y or key N");
pkey.action = event->passkey.params.action;
// if (scli_receive_key(&key)) {
pkey.numcmp_accept = key;
// } else {
pkey.numcmp_accept = 0;
ESP_LOGE(tag, "Timeout! Rejecting the key");
// }
rc = ble_sm_inject_io(event->passkey.conn_handle, &pkey);
ESP_LOGI(tag, "ble_sm_inject_io result: %d\n", rc);
} else if (event->passkey.params.action == BLE_SM_IOACT_OOB) {
static uint8_t tem_oob[16] = {0};
pkey.action = event->passkey.params.action;
for (int i = 0; i < 16; i++) {
pkey.oob = tem_oob;
}
rc = ble_sm_inject_io(event->passkey.conn_handle, &pkey);
ESP_LOGI(tag, "ble_sm_inject_io result: %d\n", rc);
} else if (event->passkey.params.action == BLE_SM_IOACT_INPUT) {
ESP_LOGI(tag, "Enter the passkey through console in this format-> key 123456");
pkey.action = event->passkey.params.action;
/* if (scli_receive_key(&key)) {
pkey.passkey = key;
} else {
pkey.passkey = 0;
ESP_LOGE(tag, "Timeout! Passing 0 as the key");
}*/
rc = ble_sm_inject_io(event->passkey.conn_handle, &pkey);
ESP_LOGI(tag, "ble_sm_inject_io result: %d\n", rc);
}
return 0;

#if MYNEWT_VAL(BLE_POWER_CONTROL)
case BLE_GAP_EVENT_TRANSMIT_POWER:
MODLOG_DFLT(INFO, "Transmit power event : status=%d conn_handle=%d reason=%d "
"phy=%d power_level=%x power_level_flag=%d delta=%d",
event->transmit_power.status,
event->transmit_power.conn_handle,
event->transmit_power.reason,
event->transmit_power.phy,
event->transmit_power.transmit_power_level,
event->transmit_power.transmit_power_level_flag,
event->transmit_power.delta);
return 0;

case BLE_GAP_EVENT_PATHLOSS_THRESHOLD:
MODLOG_DFLT(INFO, "Pathloss threshold event : conn_handle=%d current path loss=%d "
"zone_entered =%d",
event->pathloss_threshold.conn_handle,
event->pathloss_threshold.current_path_loss,
event->pathloss_threshold.zone_entered);
return 0;
#endif
}

return 0;
}

static void
bleprph_on_reset(int reason)
{
MODLOG_DFLT(ERROR, "Resetting state; reason=%d\n", reason);
}

#if CONFIG_EXAMPLE_RANDOM_ADDR
static void
ble_app_set_addr(void)
{
ble_addr_t addr;
int rc;

/* generate new non-resolvable private address */
rc = ble_hs_id_gen_rnd(0, &addr);
assert(rc == 0);

/* set generated address */
rc = ble_hs_id_set_rnd(addr.val);

assert(rc == 0);
}
#endif

static void
bleprph_on_sync(void)
{
int rc;

#if CONFIG_EXAMPLE_RANDOM_ADDR
/* Generate a non-resolvable private address. */
ble_app_set_addr();
#endif

/* Make sure we have proper identity address set (public preferred) */
#if CONFIG_EXAMPLE_RANDOM_ADDR
rc = ble_hs_util_ensure_addr(1);
#else
rc = ble_hs_util_ensure_addr(0);
#endif
assert(rc == 0);

/* Figure out address to use while advertising (no privacy for now) */
rc = ble_hs_id_infer_auto(0, &own_addr_type);
if (rc != 0) {
MODLOG_DFLT(ERROR, "error determining address type; rc=%d\n", rc);
return;
}

/* Printing ADDR */
uint8_t addr_val[6] = {0};
rc = ble_hs_id_copy_addr(own_addr_type, addr_val, NULL);

MODLOG_DFLT(INFO, "Device Address: ");

MODLOG_DFLT(INFO, "\n");
/* Begin advertising. */
#if CONFIG_EXAMPLE_EXTENDED_ADV
ext_bleprph_advertise();
#else
bleprph_advertise();
#endif
}

void bleprph_host_task(void *param)
{
ESP_LOGI(tag, "BLE Host Task Started");
printf("xtaskcreated for nmfghfhfible");
/* This function will return only when nimble_port_stop() is executed */
printf("xtaskcreated for nmible");
nimble_port_run();
printf("ythisisseven");
nimble_port_freertos_deinit();
printf("thisisieight");
}
void ble_deinit(){
nimble_port_deinit();
nimble_port_freertos_deinit();
}
void ble_init(void){
int rc;
nimble_port_init();
printf("thisone");
/* Initialize the NimBLE host configuration. */
ble_hs_cfg.reset_cb = bleprph_on_reset;
ble_hs_cfg.sync_cb = bleprph_on_sync;
ble_hs_cfg.gatts_register_cb = gatt_svr_register_cb;
ble_hs_cfg.store_status_cb = ble_store_util_status_rr;
printf("thistwo");
ble_hs_cfg.sm_io_cap = CONFIG_EXAMPLE_IO_TYPE;
#ifdef CONFIG_EXAMPLE_BONDING
ble_hs_cfg.sm_bonding = 1;
#endif
#ifdef CONFIG_EXAMPLE_MITM
ble_hs_cfg.sm_mitm = 1;
#endif
#ifdef CONFIG_EXAMPLE_USE_SC
ble_hs_cfg.sm_sc = 1;
#else
ble_hs_cfg.sm_sc = 0;
#endif
#ifdef CONFIG_EXAMPLE_BONDING
ble_hs_cfg.sm_our_key_dist = 1;
ble_hs_cfg.sm_their_key_dist = 1;
#endif
printf("thisthree");
rc = gatt_svr_init();
assert(rc == 0);
/* Set the default device name. */
printf("thisdfour");
rc = ble_svc_gap_device_name_set("MiBaio");
assert(rc == 0);
printf("thidfive");
/* XXX Need to have template for store */
ble_store_config_init();
printf("thissix");
nimble_port_freertos_init(bleprph_host_task);
printf("thisseven");
///xTaskCreate(&task, "task", 4096, NULL, 5, NULL);
}

][/Codebox]
  1. int
  2. app_main(void)
  3. {
  4.  
  5. /* Initialize NVS — it is used to store PHY calibration data */
  6. esp_err_t ret = nvs_flash_init();
  7. if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
  8.     ESP_ERROR_CHECK(nvs_flash_erase());
  9.     ret = nvs_flash_init();
  10. }
  11. tm1637_led_t * lcd = tm1637_init(TM1637_CLOCK_PIN, TM1637_DATA_PIN);
  12. tm1637_set_brightness(lcd,4);
  13. //xTaskCreate(&lcd_tm1637_task, "lcd_tm1637_task", 4096, NULL, 4, NULL);
  14. ESP_ERROR_CHECK(ret);
  15. ret = nvs_open("storage", NVS_READWRITE, &mibaio_nvs_handle2);
  16. ret=nvs_get_str(mibaio_nvs_handle2,"myssid",&userid,33);
  17. ret=nvs_get_str(mibaio_nvs_handle2,"mypassword",&password,64);
  18. if(ret == ESP_ERR_NVS_NOT_FOUND) {
  19.     send_dat[0]='n';
  20.     nvs_close(mibaio_nvs_handle2);
  21.     nvs_commit(mibaio_nvs_handle2);
  22.     state=1;
  23.     printf("state=1");
  24. //  app_wifi();
  25. //  esp_wifi_scan_stop();
  26. //  esp_wifi_stop();
  27. //  esp_wifi_deinit();
  28. //  vTaskDelay(100/portTICK_PERIOD_MS);
  29.     vTaskDelay(1000/portTICK_PERIOD_MS);
  30.     ble_init();
  31.     RelayDataMessageHandle(&recieve_data[0]);
  32.     }
  33. if(ret==ESP_OK){
  34.     nvs_close(mibaio_nvs_handle2);
  35.     state=0;
  36.     printf("state=0");
  37.     ble_deinit();
  38.     esp_wifi_deinit();
  39.     ble_init();
  40. }}

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: GURU meditation error panic at core Zero after BLE host task start

Postby madhusudan_jadhav » Sat May 06, 2023 2:56 pm

is this the problem?
Attachments
Screenshot (88).png
Screenshot (88).png (108.75 KiB) Viewed 3575 times

MicroController
Posts: 1705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: GURU meditation error panic at core Zero after BLE host task start

Postby MicroController » Sat May 06, 2023 10:05 pm

madhusudan_jadhav wrote:
Sat May 06, 2023 11:38 am
  1. static int
  2. gatt_svr_chr_access_sec_test(uint16_t conn_handle, uint16_t attr_handle,
  3. .
  4. .
  5. .
Ok, I guess I asked for it... :lol:

And somehow you still managed to not include the RelayDataMessageHandle function where the error occurred...

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: GURU meditation error panic at core Zero after BLE host task start

Postby madhusudan_jadhav » Sun May 07, 2023 1:37 am

I did some workaround. now problem is solved

Who is online

Users browsing this forum: CityHunter71 and 74 guests