mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-02 16:10:43 +00:00
15 lines
344 B
C
15 lines
344 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "PhoneAPI.h"
|
||
|
|
|
||
|
|
extern uint16_t fromNumValHandle;
|
||
|
|
|
||
|
|
class BluetoothPhoneAPI : public PhoneAPI
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Subclasses can use this as a hook to provide custom notifications for their transport (i.e. bluetooth notifies)
|
||
|
|
*/
|
||
|
|
virtual void onNowHasData(uint32_t fromRadioNum);
|
||
|
|
};
|
||
|
|
|
||
|
|
extern PhoneAPI *bluetoothPhoneAPI;
|