Search found 2238 matches

by chegewara
Wed Dec 19, 2018 7:38 pm
Forum: ESP-IDF
Topic: How to increase MTU size on GATT - Server
Replies: 21
Views: 43618

Re: How to increase MTU size on GATT - Server

Hi, bt stack will take care of response for you. What you need to do is to eventually store mtu value and reuse it in read/write requests https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/gatt_server/main/gatts_demo.c#L403 Of course you can try to send notify/indicate response with...
by chegewara
Tue Dec 18, 2018 10:06 pm
Forum: General Discussion
Topic: Converting valuestring or valueint from cJSON to send using uart_write_bytes is failing
Replies: 4
Views: 8990

Re: Converting valuestring or valueint from cJSON to send using uart_write_bytes is failing

This is structure of cJSON and as you can see you can send number value as double: typedef struct cJSON { /* next/prev allow you to walk array/object chains. Alternatively, use GetArraySize/GetArrayItem/GetObjectItem */ struct cJSON *next; struct cJSON *prev; /* An array or object item will have a c...
by chegewara
Tue Dec 18, 2018 9:58 pm
Forum: ESP-IDF
Topic: BLE Server and Client coexisting
Replies: 11
Views: 13453

Re: BLE Server and Client coexisting

Please try make monitor or xtensa-esp32-elf-gdb to decode backtrace eventually addr2line.
by chegewara
Mon Dec 17, 2018 9:15 am
Forum: General Discussion
Topic: How to encrypt the "gatt_server" Bluetooth program?
Replies: 4
Views: 6210

Re: How to encrypt the "gatt_server" Bluetooth program?

Hi, there is no difference between setting up secure connection for one or many services, because you dont secure services. Service is just logical unit that aggregates characteristics. Now, you may want or not to secure characteristics and descriptors with proper permission access (read/write with ...
by chegewara
Sun Dec 16, 2018 6:19 am
Forum: ESP32 Arduino
Topic: Unsucessful HTTPS connection with own CA
Replies: 3
Views: 5622

Re: Unsucessful HTTPS connection with own CA

If I had guessing I would say it's key length. Try with 2048.
by chegewara
Sat Dec 15, 2018 11:37 am
Forum: General Discussion
Topic: How to encrypt the "gatt_server" Bluetooth program?
Replies: 4
Views: 6210

Re: How to encrypt the "gatt_server" Bluetooth program with two Bluetooth services?

Here is your answer.
Daniel wrote: Just like the example "gatt_security_serverhttps://github.com/espressif/esp-idf/tr ... ity_server".
What else do you want to know or what you dont understand?
by chegewara
Fri Dec 14, 2018 11:41 am
Forum: General Discussion
Topic: ble scan and wifi connection in the same time
Replies: 3
Views: 4874

Re: ble scan and wifi connection in the same time

I dont remember that i had any temp problem.