Search found 60 matches

by Trialblazer47
Thu Dec 07, 2017 12:59 pm
Forum: General Discussion
Topic: AWS IoT using own Certificate. or procedure for bulk production
Replies: 7
Views: 11878

Re: AWS IoT using own Certificate. or procedure for bulk production

Ya I was attaching CA certificate that I was creating while it required AWS provided CA cert on ESP32. Worked after putting AWS provided certificate as discused here https://github.com/aws/aws-iot-device-sdk-embedded-C/issues/114 There were also confusions with file names and extensions which are cl...
by Trialblazer47
Wed Dec 06, 2017 6:40 am
Forum: General Discussion
Topic: AWS IoT using own Certificate. or procedure for bulk production
Replies: 7
Views: 11878

Re: AWS IoT using own Certificate. or procedure for bulk production

Try swapping the root cert back to aws-root-ca.pem, but still supply your own client certificate & client private key for the client part of the connection. as they device cert will not be made with aws-root-ca.pem so are you sure it should work? as they are saying that deviceCert should be made wi...
by Trialblazer47
Tue Dec 05, 2017 1:37 pm
Forum: General Discussion
Topic: AWS IoT using own Certificate. or procedure for bulk production
Replies: 7
Views: 11878

AWS IoT using own Certificate. or procedure for bulk production

Hi, I am currently trying to use my own CA certificate and device certificate https://github.com/espressif/esp-idf/issues/1350 but I am not able to. I am using publish_subscribe and it works with the AWS IoT generated Certs. I followed all steps show on AWS documentation and my certificates and CA i...
by Trialblazer47
Tue Dec 05, 2017 1:32 pm
Forum: General Discussion
Topic: data encryption
Replies: 4
Views: 10619

Re: data encryption

no than I gave up that idea.
by Trialblazer47
Wed Nov 08, 2017 10:09 am
Forum: General Discussion
Topic: not advertising timeout functionality ?
Replies: 1
Views: 3586

Re: not advertising timeout functionality ?

would use Timer to shutdown the advertising after certain period.

https://gist.github.com/shirish47/5b2a0 ... 678a4da352
by Trialblazer47
Wed Nov 08, 2017 10:08 am
Forum: ESP-IDF
Topic: Sample code for software based timer into ESP32-idf
Replies: 15
Views: 31987

Re: Sample code for software based timer into ESP32-idf

thanks for the example . :) just in case some wants to test. #include <stdio.h> #include "freertos/FreeRTOS.h" #include "esp_log.h" #include "freertos/timers.h" #define TAG "TIME" /* timer calls the function ping after interval time. xTimerCreate() takes interval in TICKs so pdMS_TO_TICKS() converts...
by Trialblazer47
Tue Nov 07, 2017 1:28 pm
Forum: General Discussion
Topic: not advertising timeout functionality ?
Replies: 1
Views: 3586

not advertising timeout functionality ?

I am using esp32 BLE gatt server . It keeps advertising . I want to stop advertising after some time. I searched in API but no functionality to define this timeout. while in arduino for nrf51(redbearlab) has one such function to specify when to stop advertising. I don't know how to use freeRTOS soft...
by Trialblazer47
Wed Nov 01, 2017 12:55 pm
Forum: General Discussion
Topic: data encryption
Replies: 4
Views: 10619

data encryption

I wanted to encrypt data to be sent over ble. I am trying to reuse the security file provided with blufi example. I think the two API blufi_aes_encrypt & blufi_aes_decrypt are to be used to encrypt and decrypt. I tried to make a test code. first I initalized void app_main() { char *input="hello"; ch...
by Trialblazer47
Tue Oct 31, 2017 9:48 am
Forum: General Discussion
Topic: Simultaneous WiFi and Bluetooth: Paket loss and WiFi disconnects
Replies: 7
Views: 13882

Re: Simultaneous WiFi and Bluetooth: Paket loss and WiFi disconnects

Ok so I think when I disconnect from esp32 via ble after it connects to wifi it does not show the above error. but if I maintain the connect via ble After it is connected to wifi it generates that above error and disconnects. I think it is because of using BLE and wifi togather Ble as gatt server. b...
by Trialblazer47
Mon Oct 30, 2017 1:27 pm
Forum: General Discussion
Topic: Simultaneous WiFi and Bluetooth: Paket loss and WiFi disconnects
Replies: 7
Views: 13882

Re: Simultaneous WiFi and Bluetooth: Paket loss and WiFi disconnects

I also get similar error while I am trying to add wifi in gatts_demo with ability to set wifi and password(I know there is a blufi demo but my developers don't understand protocol so we are making our own.) I (16242) SPEC: WIFI connection initiate. I (16242) wifi: wifi firmware version: 407bb27 I (1...