Wednesday, April 22, 2026
HomeiOS Developmentiphone - iOS Bluetooth Performing Write Lengthy

iphone – iOS Bluetooth Performing Write Lengthy

[ad_1]

I am engaged on a challenge with an iPhone connecting to an ESP32 utilizing BLE. I am attempting to write down a 528 byte lengthy blob to a attribute. Because the blob is longer than the max 512 allowed per write I am attempting to do a Write Lengthy.

I’ved tried a pair issues

1 – If I simply attempt to write the blob I see the primary chunk undergo with Put together Write set however there are not any subsequent writes.

Why is it stopping after the primary chunk?

2 – If I attempt to chuck it manually primarily based on the dimensions returned from maximumWriteValueLengthForType I see all the info is distributed appropriately however Put together Write just isn’t set so they don’t seem to be dealt with appropriately.

How do I specify Put together Write / Execute Write requests?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments