Skip to content

(iOS) (Bluetooth Classic) What should I do before using PAFERS HWAPI?

In TARGETS->Build Phase->Link Binary With Libraries, add libPFHWApi.a , ExternalAccssory.framework, SystemConfiguration.framework.

Add folder “HWAPILib” to your project. It includes NotificationConstants.h, Machine.h, Preference.h, Statistics.h, Status.h, User.h, SessionContext.h, Constants.h, and PFHWApi.h.

Add key “Supported external accessory protocols” to "Info.plist" of your project with one or more following values:

"com.pafers.protocol.bt.general"(support Bike/Elliptica bluetooth),
"com.pafers.protocol.bt.treadmill"(support Treadmill bluetooth)

Feedback and Knowledge Base