Skip to content

Commit bde0099

Browse files
committed
updates to master profiles
1 parent 2de0df0 commit bde0099

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#include <BaseClasses/ANTPLUS_BaseDataPageMsg.h>
2+
3+
#include "ANT.h"
4+
5+
template<class T>
6+
BaseDataPageMsg<T>::BaseDataPageMsg() : CoreDataPage<T>() {
7+
}
8+
9+
template class BaseDataPageMsg<BroadcastDataMsg>;
10+
template class BaseDataPageMsg<AcknowledgedDataMsg>;

src/BaseClasses/ANTPLUS_BaseProfile.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class BaseProfile {
3131
/**
3232
* Set the channel deviceNumber, wildcard for searching is 0
3333
*/
34-
// TODO add a callback for channel closed
3534
void setDeviceNumber(uint16_t deviceNumber);
3635
/**
3736
* Set the channel transmission type, wildcard for searching is 0

src/BaseClasses/ANTPLUS_BaseSlaveProfile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BaseSlaveProfile::BaseSlaveProfile(uint16_t deviceNumber, uint8_t transmissionTy
1313

1414
}
1515

16-
void BaseSlaveProfile::searchForDevices(uint16_t* buffer) {
16+
uint8_t BaseSlaveProfile::searchForDevices(uint16_t* buffer) {
1717
// TODO
1818
}
1919

src/BaseClasses/ANTPLUS_BaseSlaveProfile.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class BaseSlaveProfile : public BaseProfile {
1414
*
1515
* Any non-0 entry after the function returned is a nearby device
1616
*/
17-
void searchForDevices(uint16_t* buffer);
17+
uint8_t searchForDevices(uint16_t* buffer);
1818
/**
1919
* Will return once the device either pairs or timesout its search
2020
*/
@@ -23,4 +23,4 @@ class BaseSlaveProfile : public BaseProfile {
2323
private:
2424
};
2525

26-
#endif // ANTPLUS_BASESLAVEPROFILE_h
26+
#endif // ANTPLUS_BASESLAVEPROFILE_h

0 commit comments

Comments
 (0)