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

Do FirstTimeUse on Polar 360 #526

Open
8 tasks
ymatt345 opened this issue Dec 11, 2024 · 3 comments
Open
8 tasks

Do FirstTimeUse on Polar 360 #526

ymatt345 opened this issue Dec 11, 2024 · 3 comments
Labels
question Further information is requested

Comments

@ymatt345
Copy link

Platform your question concerns:

  • Android
  • [✓] iOS
  • Other
  • Platform is not relevant for this question

Device:

  • Polar OH1
  • Polar Verity Sense
  • Polar H10
  • Polar H9
  • [✓] Polar 360
  • Device is not relevant for this question

I'm trying to add support for Polar 360 in an app that supports other Polar sensor devices.
I'm starting with BLE SDK v5.9.0 and its sample app.
The sample app doesn't have a doFirstTimeUse() function.
The FirstTimeUse.md document doesn't list the command and parameters to use doFirstTimeUse().
How do I run doFirstTimeUse()?
Please let me know if there are any special procedures I need to follow.

@ymatt345 ymatt345 added the question Further information is requested label Dec 11, 2024
@hamletAppsfactory
Copy link

Example:

api.doFirstTimeUse(
                deviceId,
                ftuConfig:
                    PolarFirstTimeUseConfig(
                        gender: .female,
                        birthDate: .now,
                        height: 170.0,
                        weight: 50.0,
                        maxHeartRate: 120,
                        vo2Max: 70,
                        restingHeartRate: 90,
                        trainingBackground: .regular,
                        deviceTime: Date().dateAndTimeISO8601(),
                        typicalDay: .mostlySitting,
                        sleepGoalMinutes: 420
))

@hamletAppsfactory
Copy link

Is there a way to check whether doFirstTimeUse() was called for the device ?

@ymatt345
Copy link
Author

I could find the api.doFirstTimeUse in Polar-ble-sdk v5.11.0.
So I will test it soon.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants