Search found 96 matches

by arunbm123
Tue Mar 19, 2019 1:32 pm
Forum: General Discussion
Topic: getting wrong values from xQueueReceive
Replies: 7
Views: 8453

Re: getting wrong values from xQueueReceive

Thanks folks

resolved Now !!!
by arunbm123
Tue Mar 19, 2019 10:24 am
Forum: General Discussion
Topic: getting wrong values from xQueueReceive
Replies: 7
Views: 8453

Re: getting wrong values from xQueueReceive

hi chegewara,

I am following example given in esp doc

https://docs.espressif.com/projects/esp ... eueReceive
by arunbm123
Tue Mar 19, 2019 8:05 am
Forum: General Discussion
Topic: getting wrong values from xQueueReceive
Replies: 7
Views: 8453

Re: getting wrong values from xQueueReceive

hi @ESP_Sprite queue Creation code xQueue1 = xQueueCreate(1000, sizeof(struct AMessage *) ); @jcsbanks I didnt get what you meant scope ? If you mean Scope Rules in C Programming , In my real application there are in different scope. Since I was getting wrong values I thought of testing by placing t...
by arunbm123
Tue Mar 19, 2019 7:19 am
Forum: General Discussion
Topic: getting wrong values from xQueueReceive
Replies: 7
Views: 8453

getting wrong values from xQueueReceive

hello All, Please find my Code below. I am sending ibeacon data in queue using struct. I have a field int rssi in struct i am assigning rssi =scan_result->scan_rst.rssi; After sending a struct in Queue I am able to get correct rssi but After poping out the same struct...I am not getting correct rssi...
by arunbm123
Mon Mar 18, 2019 12:29 pm
Forum: General Discussion
Topic: esp_log_buffer_hex
Replies: 1
Views: 3572

esp_log_buffer_hex

hello friends,

Any function similar to esp_log_buffer_hex

But which returns a string ?

Thanks
by arunbm123
Mon Mar 18, 2019 4:11 am
Forum: General Discussion
Topic: Heap memory depleting
Replies: 2
Views: 5222

Re: Heap memory depleting

thanks

Yes figured it out ............
by arunbm123
Sun Mar 17, 2019 10:05 am
Forum: General Discussion
Topic: C concat
Replies: 4
Views: 6075

Re: C concat

hello

asprintf(&post_data, "field1=%d&field2=%d", value1, value2);
....
free(post_data);

This is eating away Heap memory
Why free is not working ?
by arunbm123
Sun Mar 17, 2019 9:14 am
Forum: General Discussion
Topic: Heap memory depleting
Replies: 2
Views: 5222

Heap memory depleting

hi

Please find the code in Image
The Heap Memory is getting low and low..

asprintf(&post_data, "%s,",pxMessage->minor);
asprintf(&post_data1, "%s",post_data);

These two lines are depleting the heap. I am freeing the memory by free()

kindly help ...
Image
by arunbm123
Sat Mar 16, 2019 2:19 pm
Forum: General Discussion
Topic: Wi-Fi Reason Code
Replies: 1
Views: 3725

Wi-Fi Reason Code

hello all

This could be most silly question but I am finding it difficult.

In case SYSTEM_EVENT_STA_DISCONNECTED:
I would Like to get Wi-Fi Reason Code here to check the reason for disconnection , How to get ?

Thanks
by arunbm123
Sat Mar 16, 2019 12:54 pm
Forum: General Discussion
Topic: WIFI ERROR : bcn_timout,ap_probe_send_start
Replies: 0
Views: 3214

WIFI ERROR : bcn_timout,ap_probe_send_start

hello

Please Check the Log, I am getting error with wifi . I am using bluetooth and wifi together.
esp.png
esp.png (17.9 KiB) Viewed 3214 times
Thanks