RockSmoke Member Jul 19, 2022 #1 Good day to everyone. I uploaded the BLE EXAMPLE to my phone. The application scans BLE devices, sees esp32 but does not connect. but apps in google play successfully connect. Does anyone have an idea. Thanks
Good day to everyone. I uploaded the BLE EXAMPLE to my phone. The application scans BLE devices, sees esp32 but does not connect. but apps in google play successfully connect. Does anyone have an idea. Thanks
Erel B4X founder Staff member Licensed User Longtime User Jul 20, 2022 #2 First step is to post the logs. Upvote 0
RockSmoke Member Jul 20, 2022 #3 I am sorry. b4a logs -> b4a logs: Logger connected to: 5e59c517 --------- beginning of main *** Service (starter) Create *** ** Service (starter) Start ** ** Activity (main) Create, isFirst = true ** Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events. ** Activity (main) Resume ** FusedLocationProvider connected, callback sub not found: flp_connectionsuccess Found: ESP32, C8:C9:A3:FC:C9:72, RSSI = -55, (MyMap) {9=[B@f68ccf, 0=[B@efb365c} Disconnected When the program finds esp32, I click connect. It says disconnected after 4-5 seconds. I'm new to the forum, sorry for my mistakes Upvote 0
I am sorry. b4a logs -> b4a logs: Logger connected to: 5e59c517 --------- beginning of main *** Service (starter) Create *** ** Service (starter) Start ** ** Activity (main) Create, isFirst = true ** Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events. ** Activity (main) Resume ** FusedLocationProvider connected, callback sub not found: flp_connectionsuccess Found: ESP32, C8:C9:A3:FC:C9:72, RSSI = -55, (MyMap) {9=[B@f68ccf, 0=[B@efb365c} Disconnected When the program finds esp32, I click connect. It says disconnected after 4-5 seconds. I'm new to the forum, sorry for my mistakes
Serge Bertet Active Member Licensed User Jul 20, 2022 #4 What is the app inside the esp32? I'm running http://tvaira.free.fr/bts-sn/activites/activite-ble/exemple_ble_2.ino and it's working well. No messages in the Arduino console? Upvote 0
What is the app inside the esp32? I'm running http://tvaira.free.fr/bts-sn/activites/activite-ble/exemple_ble_2.ino and it's working well. No messages in the Arduino console?
RockSmoke Member Jul 20, 2022 #5 it finally worked. I didn't have time to research when I opened this thread. I couldn't search the forum. Now here([SOLVED] BLE connection problems) and here(BLE2 Library additional functions) I applied what was done in these 2 issues and it was resolved. thank you very much for your help. Upvote 0
it finally worked. I didn't have time to research when I opened this thread. I couldn't search the forum. Now here([SOLVED] BLE connection problems) and here(BLE2 Library additional functions) I applied what was done in these 2 issues and it was resolved. thank you very much for your help.
RockSmoke Member Jul 20, 2022 #6 Serge Bertet said: What is the app inside the esp32? I'm running http://tvaira.free.fr/bts-sn/activites/activite-ble/exemple_ble_2.ino and it's working well. No messages in the Arduino console? Click to expand... I'm working on ble idf. But my problem was on b4a. This problem has been encountered before and has been resolved. Thanks for your answer Upvote 0
Serge Bertet said: What is the app inside the esp32? I'm running http://tvaira.free.fr/bts-sn/activites/activite-ble/exemple_ble_2.ino and it's working well. No messages in the Arduino console? Click to expand... I'm working on ble idf. But my problem was on b4a. This problem has been encountered before and has been resolved. Thanks for your answer