Search found 59 matches

by JoaoLopesF
Thu Jun 07, 2018 9:41 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29453

Re: Iphone & BLE disconnects

Hi, I not tested use of gl_profile.gatts_if, maybe works I use an global variable for it: static esp_gatt_if_t mGatts_if = ESP_GATT_IF_NONE; And change the event: case ESP_GATTS_CONNECT_EVT: DEBUG("SERVICE_START_EVT, conn_id %d, remote %02x:%02x:%02x:%02x:%02x:%02x:, is_conn %d", param->connect.conn...
by JoaoLopesF
Wed Jun 06, 2018 2:24 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29453

Re: Iphone & BLE disconnects

Hi, I suggest the nRF Toolbox App of Nordic to test Ble comunications, especifically UART, its is very good, and have code in github and an Ble Library to Android and iOS *** ble_uart_server (by pcbreflux) *** Send (by esp_ble_gatts_send_indicate) esp_ble_gatts_send_indicate(mGatts_if, 0, gl_char[1]...
by JoaoLopesF
Tue Jun 05, 2018 1:14 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 29453

Re: Iphone & BLE disconnects

Hi, In my project, I use pcbreflux ble_uart_server and based on Nordic examples, to make the Esp32 firmware and Android and iOS app. In my case, testing with iPhone 5, it had a higher performance and stability than Android 7.1. To help you, please give us more details: - Is your Esp-IDF code based o...
by JoaoLopesF
Wed May 30, 2018 4:28 pm
Forum: General Discussion
Topic: Sending more than 20 bytes with BLE
Replies: 15
Views: 29202

Re: Sending more than 20 bytes with BLE

*** Update I found out here in the forum and on the internet, that is possible change the MTU of the BLE, besides the 20 bytes. Searching the internet, I also saw that iOS already does this, so we can send several messages without delay (necessary for Android) I worked to change the MTU to Android a...
by JoaoLopesF
Tue May 29, 2018 9:36 pm
Forum: General Discussion
Topic: Sigma-delta or Led Channel (PWM)? Which is better?
Replies: 6
Views: 8381

Re: Sigma-delta or Led Channel (PWM)? Which is better?

Hi Deouss , I do this, thanks a lot

I see that top Arduino libraries for Leds, as FastLed, using RMT in Esp32, why not Sigma or Led Channel ?
by JoaoLopesF
Mon May 28, 2018 9:20 pm
Forum: ESP32 Arduino
Topic: Crash in timer interupt when data type "float" is used
Replies: 14
Views: 30889

Re: Crash in timer interupt when data type "float" is used

Floats use the FPU while doubles are calculated in software. For reasons, using the FPU inside an interrupt handler is currently not supported. The sin () and cos () functions of math.h, is for double (as ESP_igrr said -> its is calculated by software and not FPU) Has anyone ever used fastmath.h? T...
by JoaoLopesF
Mon May 28, 2018 8:59 pm
Forum: General Discussion
Topic: Sigma-delta or Led Channel (PWM)? Which is better?
Replies: 6
Views: 8381

Re: Sigma-delta or Led Channel (PWM)? Which is better?

Hi, Deouss, tanks for response
Deouss wrote:Or use Remote Control feature.
It has 8 channels exactly as you need and allows smaller frequencies too
I think that would be perfect solution here
How use Remote Control feature (RMT) to control brightness of leds ?
by JoaoLopesF
Mon May 28, 2018 8:30 pm
Forum: General Discussion
Topic: Anatel certification
Replies: 5
Views: 8583

Re: Anatel certification

Hi, tcpipchip,

This is interessing:
tcpipchip wrote:I am testing now a module using ESP32 that is ANATEL CERTIFIED
You can inform the vendor of this module ?
by JoaoLopesF
Tue May 22, 2018 5:29 pm
Forum: ESP32 Arduino
Topic: Crash in timer interupt when data type "float" is used
Replies: 14
Views: 30889

Re: Crash in timer interupt when data type "float" is used

Hans Dorn, Very good hacking, this save my day, I trying avoid to use FreeRTOS notify in my timer of 1ms to not overload the system.
Your code works very well

Thaks a lot
by JoaoLopesF
Tue May 22, 2018 3:02 pm
Forum: General Discussion
Topic: Sending more than 20 bytes with BLE
Replies: 15
Views: 29202

Re: Sending more than 20 bytes with BLE

Hi, Anh-Minh I post now same examples of this (see below). I translate my code to english for this examples. *** This only for show how it works *** I not tested the codes it after translate, I will do it when I made the entire example for put in github *** After I post code for Ios in Swift 4, for ...