Search found 8 matches
- Thu Dec 13, 2018 10:24 am
- Forum: General Discussion
- Topic: nvs partition generator read and write
- Replies: 0
- Views: 2461
nvs partition generator read and write
HI, I want to read data from bin file generated from nvs_partition_generator.py, below is the data in sample.csv file key,type,encoding,value dummyU16Key,data,u16,1234567 I have generated sample.bin file as per nvs_partition_generator.py sample.csv sample.bin command. I am using /esp-idf/example/sto...
- Sat Oct 27, 2018 4:26 am
- Forum: General Discussion
- Topic: mqtt in esp32 example code
- Replies: 0
- Views: 2242
mqtt in esp32 example code
Hi, As per below commands, I am able to subscribe and publish message via mqtt to my cloud from my linux machine mosquitto_sub -h 'host_name' -p 'port_number' -q 0 -t hello/240ac41673b4 -i 240ac41673b4 -d mosquitto_pub -h 'host_name' -p 'port_number' -q 0 -t hello/240ac41673b4 -i 240ac41673b4 -m "he...
- Sat Oct 27, 2018 4:14 am
- Forum: General Discussion
- Topic: Wi-Fi Connect timeout
- Replies: 3
- Views: 6856
Re: Wi-Fi Connect timeout
This resolved my issue. Thanks!
- Thu Oct 04, 2018 12:41 pm
- Forum: General Discussion
- Topic: Wi-Fi Connect timeout
- Replies: 3
- Views: 6856
Re: Wi-Fi Connect timeout
Hello,
I am awaiting for response. Please provide info.
Regards
vinayak
I am awaiting for response. Please provide info.
Regards
vinayak
- Wed Oct 03, 2018 12:08 pm
- Forum: General Discussion
- Topic: Wi-Fi Connect timeout
- Replies: 3
- Views: 6856
Wi-Fi Connect timeout
Hi, When esp32 is sta mode and not able to connect to host, what is time duration it waits for esp32 to connect to wifi? How can I change this timeout or skip the wait and do rest of the activities in board? I (236) wifi: Init dynamic tx buffer num: 32 I (236) wifi: Init data frame dynamic rx buffer...
- Thu Sep 20, 2018 9:09 am
- Forum: General Discussion
- Topic: Convert NTP timestamp to UNIX timestamp
- Replies: 8
- Views: 15502
Re: Convert NTP timestamp to UNIX timestamp
Thank you! I got desired output.
- Thu Sep 20, 2018 5:50 am
- Forum: General Discussion
- Topic: Convert NTP timestamp to UNIX timestamp
- Replies: 8
- Views: 15502
Re: Convert NTP timestamp to UNIX timestamp
Hi,
I am able to print time in UNIX.
Can you please help me, how to add milliseconds after UNIX timestamp? 1537422385231 ?
code: time(&now);
printf("%ld\n", now);
o/p:
I (3130) example: Initializing SNTP
I (3130) example: Waiting for system time to be set... (1/10)
1537422385
Thanks
I am able to print time in UNIX.
Can you please help me, how to add milliseconds after UNIX timestamp? 1537422385231 ?
code: time(&now);
printf("%ld\n", now);
o/p:
I (3130) example: Initializing SNTP
I (3130) example: Waiting for system time to be set... (1/10)
1537422385
Thanks
- Wed Sep 19, 2018 11:40 am
- Forum: General Discussion
- Topic: Convert NTP timestamp to UNIX timestamp
- Replies: 8
- Views: 15502
Convert NTP timestamp to UNIX timestamp
Hi, I am working on ESP32-WROOM-32D running sntp example. After I receive time from NTP server, I need to convert it to millisecond or UNIX timestamp. Can you help me how to convert NTP server timestamp to UNIX timestamp? Code: char strftime_buf[64]; // Set timezone to india Standard Time setenv("TZ...