I have a question about the event.
SDK: 15.3.0
Device: EYSHJNZWZ (nRF52832)
Please tell me if there is a way to prohibit or allow all events to occur.
I have a question about the event.
SDK: 15.3.0
Device: EYSHJNZWZ (nRF52832)
Please tell me if there is a way to prohibit or allow all events to occur.
Hi
I'm sorry, but you'll have to be more specific here. What event(s) are you referring to? What example in the SDK are you using?
Best regards,
Simon
The definition of the event I am using is shown below.
NRF_SDH_BLE_OBSERVER(m_ble_observer, C_BLE_APP_BLE_OBSERVER_PRIO, e_ble_evt_handler, NULL); nrf_ble_gatt_init(&m_gatt,e_gatt_evt_handler); ble_advertising_init_t adv_init; adv_init.evt_handler = e_bp_adv_handler; ble_advertising_init(&m_bp_advertising,&adv_init); pm_register(e_bs_pm_evt_handler); APP_UART_FIFO_INIT(&comm_params,UART_RX_BUF_SIZE,UART_TX_BUF_SIZE,e_uart_evt_handler,APP_IRQ_PRIORITY_LOWEST,err_code); NRF_SDH_SOC_OBSERVER(m_soc_observer,C_APP_SOC_OBSERVER_PRIO,e_soc_evt_handler,NULL); nrf_drv_gpiote_in_init(P_WUP_BLE,&in_config,e_pin_handler); nrf_drv_timer_init(&m_timer_short,&timer_cfg,e_timer_short_handler);
The definition of the event I am using is shown below.
NRF_SDH_BLE_OBSERVER(m_ble_observer, C_BLE_APP_BLE_OBSERVER_PRIO, e_ble_evt_handler, NULL); nrf_ble_gatt_init(&m_gatt,e_gatt_evt_handler); ble_advertising_init_t adv_init; adv_init.evt_handler = e_bp_adv_handler; ble_advertising_init(&m_bp_advertising,&adv_init); pm_register(e_bs_pm_evt_handler); APP_UART_FIFO_INIT(&comm_params,UART_RX_BUF_SIZE,UART_TX_BUF_SIZE,e_uart_evt_handler,APP_IRQ_PRIORITY_LOWEST,err_code); NRF_SDH_SOC_OBSERVER(m_soc_observer,C_APP_SOC_OBSERVER_PRIO,e_soc_evt_handler,NULL); nrf_drv_gpiote_in_init(P_WUP_BLE,&in_config,e_pin_handler); nrf_drv_timer_init(&m_timer_short,&timer_cfg,e_timer_short_handler);