What Is The Correct Approach To Transmit Rapidly Changing Real-time ...

Skip to content Dismiss alert {{ message }} / ArduinoBLE Public
  • Notifications You must be signed in to change notification settings
  • Fork 231
  • Star 345
  • Code
  • Issues 114
  • Pull requests 22
  • Actions
  • Projects
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options What is the correct approach to transmit rapidly changing real-time data? #35New issueNew issueClosedClosedWhat is the correct approach to transmit rapidly changing real-time data?#35@armsp

Description

@armsparmspopened on Oct 4, 2019

I have modified the BatteryMonitor example to send the accelerometer data instead - by removing the map function and the 200ms timer. It seems to work. And when I write the float values of accelerometer values to the characteristic using writeValue(x); I don't get any errors HOWEVER the value received on the other side i.e a central device like my App or WebBluetooth is always integer and positive. Any idea why that is happening?

More importantly is this the correct way to send float values?

I am also thinking if modifying the BatteryMonitor example is the correct approach to transmit rapidly changing real-time data. If it isn't then could you please guide me/point me to some resources so that I can contribute an example for the official library?

Metadata

Metadata

Assignees

No one assigned

Labels

No labelsNo labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Tag » Arduino Ble Float