BSB Developer Docs
Loading...
Searching...
No Matches
ble_nwp_core_callbacks.h File Reference

Registers proper callback handlers for nwp. More...

Go to the source code of this file.

Functions

void ble_nwp_core_config_callbacks (BleIncomingNwpEventProcessor *event_processor_instance, BleTransmitter *transport_instance)
 Configures callbacks for further interaction with event processor and transport.
 

Detailed Description

Registers proper callback handlers for nwp.

Translate nwp callback calls into events for further processing by ble_incoming_nwp_event_processor.h This module doesn't require instance allocation logic, and exists as a singleton

Function Documentation

◆ ble_nwp_core_config_callbacks()

void ble_nwp_core_config_callbacks ( BleIncomingNwpEventProcessor * event_processor_instance,
BleTransmitter * transport_instance )

Configures callbacks for further interaction with event processor and transport.

Called once during initialization

Parameters
[in]event_processor_instanceinstance of event processor where to forward events from callbacks
[in]transport_instancetransport instance, required for transmission flow control