B4R Question [SOLVED] ESP32 BLE IOS Send Data Problem

tzfpg

Active Member
Licensed User
i follow the instruction from this link BLE Chat with ESP32,
i setup ESP32, android and ios, ESP32 and android run smooth and no problem.
ios can connect to ESP32 and Receive the data from ESP32 but when i send data to ESP32,
ESP32 can't receive the data.

i attach two small projects, please help me test and see what wrong in my code.
Thank you.
 

Attachments

Last edited:

tzfpg

Active Member
Licensed User
I already solved the problem
IOS code
B4X:
manager.WriteData (gService.ToUpperCase, gCharWrite.ToUpperCase, xByte )
change to
B4X:
manager.WriteDataWithResponse(gService.ToUpperCase, gCharWrite.ToUpperCase, xByte )
Thank you.
 
Top