Search found 59 matches

by JoaoLopesF
Mon Aug 06, 2018 4:55 pm
Forum: General Discussion
Topic: iOS BLE example to help start ESP32 project?
Replies: 3
Views: 4853

Re: iOS BLE example to help start ESP32 project?

Hi, For Ios, I suggest you see the Nordic github repo: https://github.com/NordicSemiconductor/IOS-nRF-Toolbox For Esp-Idf BLE samples: - Kolban libraries on https://github.com/nkolban/esp32-snippets - pcbreflux ble_uart_server on https://github.com/pcbreflux/espressif (I use this with Nordic ios/and...
by JoaoLopesF
Sun Jul 29, 2018 5:31 pm
Forum: Sample Code
Topic: Improved logging to esp-idf
Replies: 0
Views: 865

Improved logging to esp-idf

Hi, I made one header file (log.h) to use in esp-idf projects to improve the logging. Are simple precompiler macros to ESP_LOGx and ESP_EARLY_LOGx, thats extends the powerfull esp-idf logging with: - Show the function name thats the log origins This is usefull to debug, without need put function nam...
by JoaoLopesF
Thu Jun 14, 2018 1:00 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 4044

Re: Iphone & BLE disconnects

Hi Fugazi, I will make it in future, a complete sample solution for Esp32 BLE, with Esp-Idf firmware, Android app in kotlin, iOS app in swift 4. I need prepare all, and translate all code and apps to english. But I dont have time now for this, but I post here when it is done. I see this is important...
by JoaoLopesF
Wed Jun 13, 2018 12:58 pm
Forum: General Discussion
Topic: Sending and receving data with a minimal latency with BLE
Replies: 6
Views: 1271

Re: Sending and receving data with a minimal latency with BLE

Hi, chegewara Situation you are describing here is true because esp32 by default has set local mtu value 500 if i remember or something around it. Its developers implementing choice. Usually the ESP32 act as server and mobile App act as client. MTU -> Who's the boss? is the client! In this case the ...
by JoaoLopesF
Tue Jun 12, 2018 7:16 pm
Forum: General Discussion
Topic: Sending and receving data with a minimal latency with BLE
Replies: 6
Views: 1271

Re: Sending and receving data with a minimal latency with BLE

Hi, What I learned about Ble MTU: - Who changes the MTU is the client, the server receives the event of this change - Usually ESP32 is the server and APP mobile is the client, in this case you only need to change your code for Android, since iOS already changes the MTU automatically to 185 (iOS10 an...
by JoaoLopesF
Tue Jun 12, 2018 6:52 pm
Forum: ESP32 IDF
Topic: How to disable WiFi in Esp-IDF?
Replies: 1
Views: 1621

Re: How to disable WiFi in Esp-IDF?

Hi peterlspot,

Very good question, I too have projects only BLE and I too want binary without Wifi Stuffs

And I planned do OTA by BLE, if without WiFi stuffs, this is will more faster.
by JoaoLopesF
Mon Jun 11, 2018 10:33 pm
Forum: General Discussion
Topic: Benchmark: DAC versus Sigma-Delta
Replies: 2
Views: 725

Re: Benchmark: DAC versus Sigma-Delta

Hi, ESP_Sprite Thanks for you response. I modified the program to do benchmark in core 1 too: /* * main.c * * Created on: 9 de jun de 2018 * Author: Joao Lopes */ #include <stdio.h> #include <stddef.h> #include "esp_types.h" #include "esp_system.h" #include "esp_log.h" #include "sdkconfig.h" #includ...
by JoaoLopesF
Mon Jun 11, 2018 9:39 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 4044

Re: Iphone & BLE disconnects

Hi, Fugazi Find it quite strange no one is using the Iphone and the esp32 for BLE and theres examples out there ??!?!! I not agree that, I use with success esp32 BLE with iPhone and iPad, iOS versions 10 and 11, much estable for my app :-) What is the interval of time you send messages to iOS? Have ...
by JoaoLopesF
Sun Jun 10, 2018 4:45 pm
Forum: General Discussion
Topic: Benchmark: DAC versus Sigma-Delta
Replies: 2
Views: 725

Benchmark: DAC versus Sigma-Delta

Hi, I did a benchmark of DAC x Sigma-Delta: /* * main.c * * Created on: 9 de jun de 2018 * Author: Joao Lopes */ #include <stdio.h> #include <stddef.h> #include "esp_types.h" #include "esp_system.h" #include "esp_log.h" #include "sdkconfig.h" #include "esp_timer.h" #include <driver/dac.h> #include "...
by JoaoLopesF
Fri Jun 08, 2018 5:10 pm
Forum: General Discussion
Topic: Iphone & BLE disconnects
Replies: 23
Views: 4044

Re: Iphone & BLE disconnects

Hi,

The Ble support large messages by changing the MTU, and iOS change it automatically to 185 (in iOS 11 and iOS 10).

You can try, instead to send one message each 50ms, send one message each second with last 20 values.

Go to advanced search