Files
meshtastic_firmware/src/nimble/NimbleBluetoothAPI.h
T

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;