The class MicroappRequestHandler has functionality to store a second app (and perhaps in the future even more apps) on another part of the flash memory.
More...
#include <cs_MicroappInterruptHandler.h>
The class MicroappRequestHandler has functionality to store a second app (and perhaps in the future even more apps) on another part of the flash memory.
◆ MicroappInterruptHandler() [1/2]
Singleton, constructor, also copy constructor, is private.
◆ MicroappInterruptHandler() [2/2]
◆ getInstance()
◆ getOutputBuffer()
uint8_t * MicroappInterruptHandler::getOutputBuffer |
( |
MicroappSdkType |
type, |
|
|
uint8_t |
id |
|
) |
| |
|
private |
Check whether an interrupt is allowed to be sent and return the output buffer.
- Returns
- nullptr When no interrupt can be sent.
-
buffer The buffer to fill for the interrupt.
◆ handleEvent()
void MicroappInterruptHandler::handleEvent |
( |
event_t & |
event | ) |
|
|
virtual |
◆ onAssetAccepted()
◆ onBleCentralConnectResult()
void MicroappInterruptHandler::onBleCentralConnectResult |
( |
cs_ret_code_t & |
retCode | ) |
|
|
private |
◆ onBleCentralDisconnected()
void MicroappInterruptHandler::onBleCentralDisconnected |
( |
| ) |
|
|
private |
◆ onBleCentralDiscovery()
◆ onBleCentralDiscoveryResult()
void MicroappInterruptHandler::onBleCentralDiscoveryResult |
( |
cs_ret_code_t & |
retCode | ) |
|
|
private |
◆ onBleCentralNotification()
◆ onBleCentralReadResult()
◆ onBleCentralWriteResult()
◆ onBlePeripheralConnect()
void MicroappInterruptHandler::onBlePeripheralConnect |
( |
ble_connected_t & |
event | ) |
|
|
private |
◆ onBlePeripheralDisconnect()
void MicroappInterruptHandler::onBlePeripheralDisconnect |
( |
uint16_t |
connectionHandle | ) |
|
|
private |
◆ onBlePeripheralNotififyDone()
void MicroappInterruptHandler::onBlePeripheralNotififyDone |
( |
uint16_t |
connectionHandle, |
|
|
uint16_t |
characteristicHandle |
|
) |
| |
◆ onBlePeripheralSubscription()
void MicroappInterruptHandler::onBlePeripheralSubscription |
( |
uint16_t |
connectionHandle, |
|
|
uint16_t |
characteristicHandle, |
|
|
bool |
subscribed |
|
) |
| |
◆ onBlePeripheralWrite()
void MicroappInterruptHandler::onBlePeripheralWrite |
( |
uint16_t |
connectionHandle, |
|
|
uint16_t |
characteristicHandle, |
|
|
cs_data_t |
value |
|
) |
| |
◆ onBluenetEvent()
void MicroappInterruptHandler::onBluenetEvent |
( |
event_t & |
event | ) |
|
|
private |
◆ onDeviceScanned()
Handle a scanned BLE device.
◆ onGpioUpdate()
◆ onMessage()
Handle a control command message.
◆ onReceivedMeshMessage()
void MicroappInterruptHandler::onReceivedMeshMessage |
( |
MeshMsgEvent & |
event | ) |
|
|
private |
Handle a received mesh message and determine whether to forward it to the microapp.
- Parameters
-
event | the EVT_RECV_MESH_MSG event data |
◆ operator=()
The documentation for this class was generated from the following file: