Search found 121 matches
- Wed Nov 15, 2017 9:34 pm
- Forum: General Discussion
- Topic: Best way to work on one project from different PCs?
- Replies: 3
- Views: 4836
Re: Best way to work on one project from different PCs?
What about additional files? Like sdkconfig, whole folder BUILD in project and so on. I can just skip synchronizaion of this files, leave only .c and .h files, makefile and sdkconfig (just as here https://github.com/espressif/esp-idf-template ) But in this case there is one moment - I have to rebuil...
- Tue Nov 14, 2017 9:15 pm
- Forum: General Discussion
- Topic: Best way to work on one project from different PCs?
- Replies: 3
- Views: 4836
Best way to work on one project from different PCs?
Hi, not sure does this topic suits for this forum thread, but others are more specialized. Eventually, I have to work on same project from different PCs. And I have faced with couple problems while synchronization my code. So, I would like to ask advices. What is best way to keep project in actual s...
- Mon Nov 13, 2017 10:34 am
- Forum: General Discussion
- Topic: Examples of uart commnad line? (lags during parcing uart command)
- Replies: 0
- Views: 2511
Examples of uart commnad line? (lags during parcing uart command)
Hi, are there any ready examples of uart command line? (send one command from uart-usb converter and esp32 sends responce with some data). I have wrote some code, based on this example: https://github.com/espressif/esp-idf/tree/master/examples/peripherals/uart_events But its hanging and need 25-35 m...
- Mon Nov 06, 2017 5:30 pm
- Forum: Report Bugs
- Topic: tcp performance example fail to start
- Replies: 2
- Views: 5251
Re: tcp performance example fail to start
Call nvs_flash_init() at beginning of program Thanks, it helped. I have added: esp_err_t ret = nvs_flash_init(); if (ret == ESP_ERR_NVS_NO_FREE_PAGES) { ESP_ERROR_CHECK(nvs_flash_erase()); ret = nvs_flash_init(); } in app_main at start and changed usb cable to more robust. But still weird, usually,...
- Mon Nov 06, 2017 1:08 pm
- Forum: Report Bugs
- Topic: tcp performance example fail to start
- Replies: 2
- Views: 5251
tcp performance example fail to start
Hi, I'm trying to run this example: https://github.com/espressif/esp-idf/tree/master/examples/performance I have configured my esp module as [STA, tcp-client, recv] and set my wifi router ssid and password. When I flashed module, it is rebooting permanent. Log from idf monitor: $ make monitor MONITO...
- Sat Nov 04, 2017 8:59 pm
- Forum: General Discussion
- Topic: Separating gap_callback and gatt_callback
- Replies: 5
- Views: 6345
Re: Separating gap_callback and gatt_callback
Are you sure? https://github.com/rcaelers/esp32-beacon-scanner/blob/master/components/os/BeaconScanner.cpp my mistake :roll: I have studied this project more carefully, and find out why my scanner didnt do anything. Solution: add function esp_ble_gap_set_scan_params at initialisation sequence. By d...
- Sat Nov 04, 2017 3:47 pm
- Forum: General Discussion
- Topic: Separating gap_callback and gatt_callback
- Replies: 5
- Views: 6345
Re: Separating gap_callback and gatt_callback
thanks for examples, all of them uses GAP and GATT simultaneously.
Looks like I have to hold gatt stuff even if I actually dont use them
- Sat Nov 04, 2017 2:34 pm
- Forum: General Discussion
- Topic: Separating gap_callback and gatt_callback
- Replies: 5
- Views: 6345
Separating gap_callback and gatt_callback
Hi, I want to make ble scanner. I'm playing with gatt_client demo example: https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/gatt_client/main/gattc_demo.c I have configured needed info output and now I want to "cut off" all GATT stuff (since I using only GAP feature - scan). But wh...
- Sat Nov 04, 2017 3:06 am
- Forum: General Discussion
- Topic: UART command line (using interrupts) freezes
- Replies: 0
- Views: 2906
UART command line (using interrupts) freezes
Hi, I'm trying to make command line over uart. About application in short: I want connect esp32 to uart-ttl converter, open terminal and send "command_1". Esp32 should answer "answer_1"; uart-ttl: "give_data", esp32:"data:xxxxxxxxxxxxxxxxxxxx (up to 100 bytes) " There are 2 commands it total, and es...
- Fri Nov 03, 2017 9:21 am
- Forum: General Discussion
- Topic: convert ADC readings
- Replies: 2
- Views: 7100
Re: convert ADC readings
how can I calculate adc voltage without using adc1_to_voltage function? Why would you want to? That function corrects for nonlinearity and should give the best result. At first, this function dont show 0 when I short adc pin to ground, its about 30-70 mV. So I need to set some rule for adc_raw = 0....