Closed focussing closed 1 year ago
Searched on this page for BLEWriteWithoutResponse and found:
There is also another property 'BLEWriteWithoutResponse', which hasn't been discussed a lot on forums. And it is this property that needs to used in your Arduino Nano33 BLE sketch.
Now I can receive data... Next is to re-arrange my app back with both sending and receiving in parallel...
Working perfectly
I have implemented your example application on iOS but I cannot get the peripheral.writeValueForCharacteristic function to work. My system is an Arduino Nano RP2040 connect, and I can successfully connect to it; and receive data from it. However sending data back is not working. The same situation occurs if I use an existing app which uses the Logical Labs Bluetooth Low Energy Module for iOS, it connects, receives data from the Arduino but sending data back is not working.
If I do
console.log('buffer', buffer);
I see {} in the terminal.I tested it with 2 different iPhone SE phones (one on iOS 16.2 and one on 16.1.1). Previous test I am not sure, but I think it was on iOS15 and earlier.
When I use an iOS app like "BluetoothLE" sending and receiving data works perfectly...
Any idea? I hope you can help me (again) :)