Hi
Thanks for the message, do you have some code that works and stays connected with the iphone then ?
I have tried loads of things and still getting the disconnect, tried about 5 different esp's while testing so i dont think its the erase flash !
Thanks
Phil
Search found 39 matches
- Wed Jun 20, 2018 9:32 am
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
- Thu Jun 14, 2018 8:42 am
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
Hi
Do you have your app code online, would be good to try?
I havent tried wide messages yet as I need to maintain compatibility with Android and the HM10 works fine so theres an setting with the esp32 thats not right ....
Thanks anyway
Do you have your app code online, would be good to try?
I havent tried wide messages yet as I need to maintain compatibility with Android and the HM10 works fine so theres an setting with the esp32 thats not right ....
Thanks anyway

- Mon Jun 11, 2018 12:44 pm
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
HM10 characteristics are here.... Do you think that if I try and all all of these it might work perhaps ? V 09:09:56.411 Connecting to 7C:EC:79:EB:44:D8... D 09:09:56.411 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 09:09:56.770 [Callback] Connection state changed with status: 0 an...
- Mon Jun 11, 2018 7:23 am
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
True, But I am trying to copy the HM-10 BLE module, the iphone just connects to this and works forever, no disconnects So it is possible, could be just a setting in the BLE characteristics I am missing .... If you just connect with the Iphone with the esp32 and then dont send any notifications it st...
- Sun Jun 10, 2018 8:41 pm
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
No I dont, is this required on IOS ?
Thanks
Thanks
- Fri Jun 08, 2018 6:47 am
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
Hi Thanks, i just needed to reboot the iphone, it was being daft, it works now, thanks for all the help. Unfortunately this does exactly the same as the arduino example. If you have 5 minutes spare try sending one byte every 50ms.... it runs for about one minute and then the iphone disconnects with ...
- Thu Jun 07, 2018 8:30 am
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
Cant get anything to notify still
esp_ble_gatts_send_indicate(gl_profile.gatts_if, gl_profile.conn_id, gl_char[1].char_handle,1,¬ify_pos,false); ?
Is these the parameters to be used ? thanks
esp_ble_gatts_send_indicate(gl_profile.gatts_if, gl_profile.conn_id, gl_char[1].char_handle,1,¬ify_pos,false); ?
Is these the parameters to be used ? thanks
- Wed Jun 06, 2018 6:22 pm
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
Nearly :) I worked out the receive, the send variables in the send_indicate I am kinda stuck where to get them from? esp_ble_gatts_send_indicate(mGatts_if, 0, gl_char[1].char_handle, size, (uint8_t*) data, false); Where do you get the mGatts_if variable from ? Something like esp_gatt_if_t gatts_if_f...
- Wed Jun 06, 2018 11:05 am
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
OK compiles now
I guess I am supposed to send the notifiocations through :-
void char2_notify_handle(esp_gatt_if_t gatts_if, uint16_t conn_id) ?
However not sure where to get the variables esp_gatt_if_t gatts_if, uint16_t conn_id from ?
Any ideas?
Thanks
I guess I am supposed to send the notifiocations through :-
void char2_notify_handle(esp_gatt_if_t gatts_if, uint16_t conn_id) ?
However not sure where to get the variables esp_gatt_if_t gatts_if, uint16_t conn_id from ?
Any ideas?
Thanks
- Tue Jun 05, 2018 9:50 pm
- Forum: General Discussion
- Topic: Iphone & BLE disconnects
- Replies: 23
- Views: 5326
Re: Iphone & BLE disconnects
Hi Thanks for the reply, am really stuck on this one. Latest espidf code and arduino code off the site as of a week ago Running the BLE UART example from the arduino libaries. Tried Iphone 4S, 6 and X Used several different BLE scanners and applications, same in all. Will try that uart example you m...