data_gathering/beacon_node/ble_findme.c
static void ble_init(void)
{
    static const cy_stc_sysint_t bless_isr_config =
    {
      /* The BLESS interrupt */
      .intrSrc = bless_interrupt_IRQn,

      /* The interrupt priority number */
      .intrPriority = BLESS_INTR_PRIORITY
    };

    /* Hook interrupt service routines for BLESS */
    (void) Cy_SysInt_Init(&bless_isr_config, bless_interrupt_handler);

    /* Registers the generic callback functions  */
    Cy_BLE_RegisterEventCallback(stack_event_handler);

    /* Initializes the BLE host */
    Cy_BLE_Init(&cy_ble_config);

    /* Enables BLE */
    Cy_BLE_Enable();

    /* Enables BLE Low-power mode (LPM)*/
    Cy_BLE_EnableLowPowerMode();
}
/*******************************************************************************
* Function Name: ble_init
********************************************************************************
* Summary:
*  This function initializes the BLE and registers IAS callback function.
*
*******************************************************************************/
Function Name: ble_init
Summary:
This function initializes the BLE and registers IAS callback function.
Function Name : ble_init Summary : This function initializes the BLE and registers IAS callback function .
static void ble_init(void)
{
    static const cy_stc_sysint_t bless_isr_config =
    {
      .intrSrc = bless_interrupt_IRQn,
      .intrPriority = BLESS_INTR_PRIORITY
    };
    (void) Cy_SysInt_Init(&bless_isr_config, bless_interrupt_handler);
    Cy_BLE_RegisterEventCallback(stack_event_handler);
    Cy_BLE_Init(&cy_ble_config);
    Cy_BLE_Enable();
    Cy_BLE_EnableLowPowerMode();
}
static void ble_init ( void ) { static const cy_stc_sysint_t bless_isr_config = { . intrSrc = bless_interrupt_IRQn , . intrPriority = BLESS_INTR_PRIORITY } ; ( void ) Cy_SysInt_Init ( & bless_isr_config , bless_interrupt_handler ) ; Cy_BLE_RegisterEventCallback ( stack_event_handler ) ; Cy_BLE_Init ( & cy_ble_config ) ; Cy_BLE_Enable ( ) ; Cy_BLE_EnableLowPowerMode ( ) ; }
Function Name: ble_init
Summary:
This function initializes the BLE and registers IAS callback function.
Function Name : ble_init Summary : This function initializes the BLE and registers IAS callback function .
/* The BLESS interrupt */ /* The interrupt priority number */ /* Hook interrupt service routines for BLESS */ /* Registers the generic callback functions  */ /* Initializes the BLE host */ /* Enables BLE */ /* Enables BLE Low-power mode (LPM)*/