T tzfpg Active Member Licensed User Longtime User Apr 23, 2020 #1 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 B4R_BLE.zip B4R_BLE.zip 2.4 KB · Views: 481 B4I_BLE.zip B4I_BLE.zip 9.7 KB · Views: 465 Last edited: Apr 23, 2020
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.
T tzfpg Active Member Licensed User Longtime User Apr 23, 2020 #2 I already solved the problem IOS code B4X: Copy manager.WriteData (gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) change to B4X: Copy manager.WriteDataWithResponse(gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) Thank you. Upvote 0
I already solved the problem IOS code B4X: Copy manager.WriteData (gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) change to B4X: Copy manager.WriteDataWithResponse(gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) Thank you.
Filippo Expert Licensed User Longtime User Mar 18, 2023 #3 tzfpg said: I already solved the problem IOS code B4X: Copy manager.WriteData (gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) change to B4X: Copy manager.WriteDataWithResponse(gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) Thank you. Click to expand... Thank you, I have had exactly the same problem and it has helped perfectly. Upvote 0
tzfpg said: I already solved the problem IOS code B4X: Copy manager.WriteData (gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) change to B4X: Copy manager.WriteDataWithResponse(gService.ToUpperCase, gCharWrite.ToUpperCase, xByte ) Thank you. Click to expand... Thank you, I have had exactly the same problem and it has helped perfectly.