Search found 121 matches

by newsettler_AI
Mon May 21, 2018 4:17 pm
Forum: General Discussion
Topic: How to configure BLE transmit output power classes
Replies: 3
Views: 9943

Re: why esp32 wroverchip limit bluetooth range around 2 meters?

hii all i am now dealing with esp32 gatt client program. in that my esp32 could not connecting to the gatt server(even it not found in scanning). then i flashed the ibeacon program in the examples to the esp32. later i scanned it from my phone, in range of 1.5 meter it showing in phone scanner. but...
by newsettler_AI
Mon May 21, 2018 2:37 pm
Forum: General Discussion
Topic: Read BLE characteristic from Battery Service as gatt client
Replies: 0
Views: 3745

Read BLE characteristic from Battery Service as gatt client

Hi, I'm trying to connect and read characteristics of BLE Battery Service: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.service.battery_service.xml ESP32 is running as gatt CLIENT, and gatt SERVER is nRF52840 with default Heart Rate example http://infocenter.no...
by newsettler_AI
Mon May 21, 2018 10:11 am
Forum: General Discussion
Topic: How to handle custom BLE services when ESP32 is gatt client?
Replies: 0
Views: 3889

How to handle custom BLE services when ESP32 is gatt client?

Hi, I'm have ESP32 as gatt client and other ble module (nrf52) which runing as gatt server. There 4 services on nrf52 side: Battery service (0x180F) , Device information (0x180A), Heart rate service (0x180D) and one custom 128 bit service ( https://www.bluetooth.com/specifications/gatt/services ). I...
by newsettler_AI
Fri May 04, 2018 10:22 am
Forum: General Discussion
Topic: Robust method to receive data from UART?
Replies: 8
Views: 13916

Re: Robust method to receive data from UART?

I havent sucseed to solve this issue, but I have make work around: I set delay on stm32 before sending responce over UART, now esp32 receiving all 150 bytes, same as from usb-uart converters. But still its devided on 2 packets 120+30. I tried to set UART_FIFO_LEN (256) at uart.h: https://github.com/...
by newsettler_AI
Thu May 03, 2018 11:46 am
Forum: General Discussion
Topic: Robust method to receive data from UART?
Replies: 8
Views: 13916

Re: Robust method to receive data from UART?

I don't know, I don't see any glaring errors in your code, if any. Do you also only get one event with the 2nd 70'ish bytes of data in it? I have tested it more precisely and one thing I noticed. When I got responce from stm32, there is one more event appears: "frame error" (for first part of parce...
by newsettler_AI
Thu May 03, 2018 8:58 am
Forum: General Discussion
Topic: Robust method to receive data from UART?
Replies: 8
Views: 13916

Re: Robust method to receive data from UART?

Well, as UART data is just a stream of bytes, there's no guarantee whatsoever that it appears as one chunk on the output side. If you effectively want to send packets over the UART, you'll have to packetize/de-packetize them yourself. Thanks for reply. Can you advice how can I use interrupt to dete...
by newsettler_AI
Wed May 02, 2018 6:10 pm
Forum: General Discussion
Topic: Robust method to receive data from UART?
Replies: 8
Views: 13916

Re: Robust method to receive data from UART?

Also, I noticed, when sending 150 bytes of data, its devided into two packets 120 + 30 in xQueueReceive.
by newsettler_AI
Wed May 02, 2018 11:34 am
Forum: General Discussion
Topic: Robust method to receive data from UART?
Replies: 8
Views: 13916

Robust method to receive data from UART?

Hi! I have connected ESP32 to other controller(STM32)and I need to send/receive data by UART, something like command-answer (esp32 sends command and stm32 sends responce). Also there is TCP server on ESP32 side, but I thinks its not the issue here. I'm sendting 10..50 bytes from esp32 and expecting ...
by newsettler_AI
Wed May 02, 2018 10:51 am
Forum: General Discussion
Topic: Example of simple TCP server?
Replies: 3
Views: 16620

Re: Example of simple TCP server?

Are there some examples of this api in esp idf?
by newsettler_AI
Fri Apr 27, 2018 5:11 pm
Forum: General Discussion
Topic: Example of simple TCP server?
Replies: 3
Views: 16620

Example of simple TCP server?

Hi, I'm looking for examples of TCP server. I need to read-write data over tcp: esp32 starts as wifi softap, then I connect from android phone and start some android tcp client. Then I can exchanging data. I have done wifi section and make some tcp connection. Problem is that tcp server droping conn...