Transferring big data chunks between device and phone #183
-
Hello, I have a general question to ask about an implementation of a protocol my company will need. On a high level, we're implementing an update system for a device that will have a Bluetooth connection with the phone. To update the firmware of the device, we will send a HTTP request to a server and the server will respond with the new firmware of the device. Then to minimise the complexity we would want to simply parse the response and immediately transmit it as a byte array over a Bluetooth connection to the device. The size of this updated firmware would be around 40MB. My question is if this type of custom data transmission could be done just by using this library or would we need to implement it using native language (kotlin and swift)? Thank you in advance for the replies and have a nice upcoming end of the week to anyone who's reading this question :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Assuming that you have no issues with:
It should be possible to use this library to perform the:
Logically you should be able to use the library. There is a super simple I'll be interested to hear how it works out, but from what you've said, there should be nothing stopping you from using the library. |
Beta Was this translation helpful? Give feedback.
-
Another question I have if you could help me a bit. For the iOS part on a high level what would have to be implemented to support the same implementation that Android currently has? The documentation of Apple is pretty average, maybe you know some build libraries for using Bluetooth with swift, or know some good resource to look at? Thank in advance for your answers, you're relly helpful :) |
Beta Was this translation helpful? Give feedback.
-
Honestly the IOS side of things is really light, it took me a bunch of reading (mainly in Objective C) in order to convert things to Swift and get working. There are two things that need to be done:
I'll definitely take a look/accept pull requests if you get it working, but I don't have the time to look into it. |
Beta Was this translation helpful? Give feedback.
Honestly the IOS side of things is really light, it took me a bunch of reading (mainly in Objective C) in order to convert things to Swift and get working. There are two things that need to be done:
I'll definitely take a look/accept pull requests if you get it working, but I don't have the time to look into it.