84 uint8_t appIndex,
const cs_data_t& message,
cs_data_t& resultBuffer, uint16_t& resultSize);
Definition: cs_TrackableEvent.h:12
Event listener.
Definition: cs_EventListener.h:17
Definition: cs_MeshMsgEvent.h:71
The class MicroappRequestHandler has functionality to store a second app (and perhaps in the future e...
Definition: cs_MicroappInterruptHandler.h:19
void onBlePeripheralSubscription(uint16_t connectionHandle, uint16_t characteristicHandle, bool subscribed)
static MicroappInterruptHandler & getInstance()
Definition: cs_MicroappInterruptHandler.h:21
void onBlePeripheralDisconnect(uint16_t connectionHandle)
void onBleCentralNotification(ble_central_notification_t &event)
cs_ret_code_t onMessage(uint8_t appIndex, const cs_data_t &message, cs_data_t &resultBuffer, uint16_t &resultSize)
Handle a control command message.
void onBleCentralWriteResult(ble_central_write_result_t &event)
void onBleCentralReadResult(ble_central_read_result_t &event)
void handleEvent(event_t &event)
Handle events.
MicroappInterruptHandler()
Singleton, constructor, also copy constructor, is private.
void onBlePeripheralWrite(uint16_t connectionHandle, uint16_t characteristicHandle, cs_data_t value)
void onBleCentralDisconnected()
uint8_t * getOutputBuffer(MicroappSdkType type, uint8_t id)
Check whether an interrupt is allowed to be sent and return the output buffer.
void onReceivedMeshMessage(MeshMsgEvent &event)
Handle a received mesh message and determine whether to forward it to the microapp.
void onBleCentralDiscovery(ble_central_discovery_t &event)
void onBlePeripheralConnect(ble_connected_t &event)
void onBluenetEvent(event_t &event)
void onBlePeripheralNotififyDone(uint16_t connectionHandle, uint16_t characteristicHandle)
void onAssetAccepted(AssetAcceptedEvent &event)
void onDeviceScanned(scanned_device_t &dev)
Handle a scanned BLE device.
void onBleCentralConnectResult(cs_ret_code_t &retCode)
void operator=(MicroappInterruptHandler const &)
MicroappInterruptHandler(MicroappInterruptHandler const &)
void onBleCentralDiscoveryResult(cs_ret_code_t &retCode)
void onGpioUpdate(cs_gpio_update_t &event)
Handle a GPIO event.
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Oct 9,...
Definition: cs_Event.h:26
uint16_t cs_ret_code_t
Definition: cs_Typedefs.h:21
Describes a service or characteristic that has been discovered.
Definition: cs_BleCentralPackets.h:41
Definition: cs_BleCentralPackets.h:76
Definition: cs_BleCentralPackets.h:70
Definition: cs_BleCentralPackets.h:65
Definition: cs_PacketsInternal.h:214
Packets (structs) that are used internally in the firmware, and can be changed freely.
Definition: cs_PacketsInternal.h:27
Definition: cs_PacketsInternal.h:434
Scanned device.
Definition: cs_PacketsInternal.h:107