Search found 42 matches

by Fugazi
Wed Jun 06, 2018 6:22 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29552

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...
by Fugazi
Wed Jun 06, 2018 11:05 am
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29552

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
by Fugazi
Tue Jun 05, 2018 9:50 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29552

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...
by Fugazi
Tue Jun 05, 2018 8:16 am
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29552

Iphone & BLE disconnects

Hi can anyone get BLE to be stable on the iphone, I have posted this in a few places as I am desparate to get this working, managed to get android stable and to run for 20+ hours now, so thats all good, but the Iphone runs for a minute or so and then disconnects. This is on the BLE UART example aswe...
by Fugazi
Fri Apr 20, 2018 10:03 am
Forum: General Discussion
Topic: ESP32 Battery powered boards - How to stop them powering up by plugging in usb.
Replies: 0
Views: 2322

ESP32 Battery powered boards - How to stop them powering up by plugging in usb.

Hi I have a few TTGO boards with a switch on them and the battery charge. It seems however that if you plug in USB , the esp32 comes in regardless of the switch position, so to charge the battery the esp32 has to be on. To me this seems pointless and a bad design, who wants the board to come on when...
by Fugazi
Thu Mar 01, 2018 11:43 am
Forum: General Discussion
Topic: Remove a connected station
Replies: 8
Views: 10216

Re: Remove a connected station

Thank you for the reply, not sure what you mean by reversing the process, thought the event handler notified us of the wifi events?

How do I reverse this and disconnect the station ?

Thanks
by Fugazi
Thu Mar 01, 2018 7:57 am
Forum: General Discussion
Topic: Remove a connected station
Replies: 8
Views: 10216

Re: Remove a connected station

A station is a device that connects to the esp32 access point on wifi. Basically theres an issue with the esp32 that if a station connects to it when the wifi is coming up an IP is not assigned and left as 0.0.0.0, if theres 1 second delay and then connect, an ip is assigned. I wanted to disconnect ...
by Fugazi
Wed Feb 28, 2018 10:41 pm
Forum: General Discussion
Topic: Remove a connected station
Replies: 8
Views: 10216

Re: Remove a connected station

Thanks, but isnt that to disconnect the esp32 from an access point, not disconnect a station connected to the access point? I want to keep the wifi up on the esp32, just disconnect one of the connected stations
by Fugazi
Wed Feb 28, 2018 9:35 pm
Forum: General Discussion
Topic: Remove a connected station
Replies: 8
Views: 10216

Remove a connected station

Any ideas how to forceably remove a connected wifi station ?

Thanks
by Fugazi
Fri Feb 23, 2018 11:38 am
Forum: Hardware
Topic: TTG0 v2 esp32 board
Replies: 0
Views: 2835

TTG0 v2 esp32 board

Hi

Just got a couple of these boards.

They are crashing a lot.....

Start up says

W (69) rtc_clk: Potentially bogus XTAL frequency: 35 MHz, guessing 40 MHz

Sounds ominous, could this be causing the issue ?

Thanks