Comments (2)
Confirmed this is an issue. Tested iOS app version 3.7.0 on iOS 17.2.1 with https://github.com/adafruit/Adafruit_CircuitPython_BLE/blob/main/examples/ble_uart_echo_test.py on a Feather nRF52840 running CircuitPython 8.2.9 and also CircuitPython 7.3.3.
from bluefruit_le_connect_v2.
There is no character limit in the app. If the message to be sent is longer than the MTU (Maximum Transfer Unit) negotiated during the BLE connection, the app will slip the text into multiple messages and send them sequentially.
I tested the iOS and macOS versions (3.7.0) and was able to send more than 20 characters.
I used a Bluefruit LE Friend connected to a computer and CoolTerm to check the data received by UART.
So perhaps there could be a problem with the libraries used in CircuitPython?
Adding some more information, 20 bytes was the default MTU for BLE connections for many years. Modern devices usually negotiate a bigger MTU (around 512 bytes) but is not unusual for it to set it to 20 bytes.
So my guess is that the text is split in multiple messages, but the CircuitPython library is only processing the first one (which is 20 bytes long).
from bluefruit_le_connect_v2.
Related Issues (20)
- what is init file? HOT 3
- How to change device name "Adafruit Bluefruit LE" to "My Device". HOT 2
- How to pair programmatically BLE device(nRF 52840) with iOS iPhone using Swift HOT 1
- Can't edit my iOS App HOT 3
- Sending more than 20 bytes via UART HOT 6
- isDefaultConfigurationAssumed can't do PWM HOT 1
- GPS location with iPhone locked
- Uart publish to more than a single Adafruit IO feed HOT 2
- No Modules in iOS 15 HOT 2
- App not run on macbook
- Build failed (Chart,iosDFULibrary,Cocamqtt) HOT 2
- info file issue HOT 2
- About the HEX mode of UART HOT 1
- Pinch zooming shows wrong part of the graph
- Enhancement: Ability to send a legend/title for plots
- Enhancement: A couple of control buttons on the plots screen
- When I build it in Xcode, it always fails with Undefined symbol HOT 4
- Add link to peripheral UART code in Readme HOT 1
- Question: how does UART Image Transfer sent multiple packets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluefruit_le_connect_v2.