Files
firmware/src/nimble/NimbleBluetoothAPI.h

15 lines
344 B
C
Raw Normal View History

2020-07-23 08:10:36 -07:00
#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;