File transfer over BLE to smart phone or other devices #1999
Replies: 2 comments
-
Posted at 2020-07-25 by d3nd3-o0 This is what the IDE Is using to connect to the bangle and download a file. Maybe the app will have to talk to bangle a bit, to respond with a connection request after the bangle initiates ??. Im not sure if it matters who initiates the connection, need further advice. Essentially its just reading a file and everything that it prints out, is the file contents, which gets sent over the serial/Uart.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-27 by @gfwilliams Would react native have access to Web Bluetooth? If so you could just include the puck.js library from http://www.espruino.com/Web+Bluetooth and do pretty much as above. There's an example in the Bangle.js app loader doing exactly that: https://github.com/espruino/BangleApps/blob/master/js/comms.js#L247 Otherwise you'd have to use whatever Bluetooth LE library React Native gives you I guess, and then implement what the |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-07-24 by Sacs
Hi,
We are building a mobile application as part of our study project. We are using this app to connect to BangleJS and read the activity data and show data on graphically.
What we have done so far:
Now, I am looking for a way to push activity data file from bangleJS to mobile app. Is there any straightforward way?
Thanks,
Sachin
Beta Was this translation helpful? Give feedback.
All reactions