Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[platform] Add missing APIs to NoBLE implementation. #336

Merged
merged 1 commit into from
Apr 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class GenericConnectivityManagerImpl_NoBLE
CHIP_ERROR _SetBLEAdvertisingEnabled(bool val);
bool _IsBLEFastAdvertisingEnabled(void);
CHIP_ERROR _SetBLEFastAdvertisingEnabled(bool val);
bool _IsBLEAdvertising(void);
CHIP_ERROR _GetBLEDeviceName(char * buf, size_t bufSize);
CHIP_ERROR _SetBLEDeviceName(const char * deviceName);
uint16_t _NumBLEConnections(void);
Expand Down Expand Up @@ -106,6 +107,12 @@ inline CHIP_ERROR GenericConnectivityManagerImpl_NoBLE<ImplClass>::_SetBLEFastAd
return CHIP_ERROR_UNSUPPORTED_CHIP_FEATURE;
}

template<class ImplClass>
inline bool GenericConnectivityManagerImpl_NoBLE<ImplClass>::_IsBLEAdvertising(void)
{
return false;
}

template<class ImplClass>
inline CHIP_ERROR GenericConnectivityManagerImpl_NoBLE<ImplClass>::_GetBLEDeviceName(char * buf, size_t bufSize)
{
Expand Down