Search found 60 matches

by enitalp
Wed Mar 01, 2017 5:41 pm
Forum: ESP-IDF
Topic: Now wifi won't work
Replies: 5
Views: 10166

Re: Now wifi won't work

Lucky you, you get an assert at least. Since yesterday i'm dealing with the same problem, but i do crash. Changing to store phy calibration fixed my crash. thanks for the tip, FYI here is my crash before =============================================================== ==================== ESP32 CORE ...
by enitalp
Mon Feb 27, 2017 6:40 pm
Forum: ESP32 Arduino
Topic: RC522
Replies: 8
Views: 16218

Re: RC522

Fixed. The SPI code for arduino works. It's the MFRC522 that doesn't work for the ESP32, i'm surprised that this lib works for a DUE or an ESP8266. For people interested, here the two modifications i did (l_StartTime and l_EndTime): MFRC522::StatusCode MFRC522::PCD_CalculateCRC( byte *data, ///< In:...
by enitalp
Mon Feb 27, 2017 2:22 pm
Forum: ESP32 Arduino
Topic: RC522
Replies: 8
Views: 16218

Re: RC522

Not yet. waiting for it in the mail.

I need to check if people have trouble using the spi lib on arduino with the esp32.
it's either the spi lib, the RC522 lib, or my understanding on how to wire the rc5222
by enitalp
Fri Feb 24, 2017 11:12 pm
Forum: ESP32 Arduino
Topic: RC522
Replies: 8
Views: 16218

Re: RC522

For ESP-IDF i stole the SPI class. Actually both the ESP-IDF and arduino code are the same as i stole the ESP32 implementation of the arduino part to include in ESP-IDF Init : SPIClass SPI(VSPI); SPI.begin(); frc522.PCD_Init(); SPIClass::SPIClass(uint8_t spi_bus) :_spi_num(spi_bus) ,_spi(NULL) ,_use...
by enitalp
Fri Feb 24, 2017 10:02 pm
Forum: ESP32 Arduino
Topic: RC522
Replies: 8
Views: 16218

RC522

Hi Trying to use a RC522 RFID board with my ESP32. Sparkfun ESP32 and https://home.ctw.utwente.nl/slootenvanf/2016/05/24/rfid-reader/ Started in ESP-IDF and as it was not working i switched to arduino with the same amount of success. Don't know what i'm doing wrong : Used https://github.com/Jorgen-V...
by enitalp
Wed Jan 25, 2017 8:22 pm
Forum: General Discussion
Topic: empty ssid with bssid_set to true
Replies: 5
Views: 8812

Re: empty ssid with bssid_set to true

Forgot that the ssid is not a char* but an int array so null is not an option, but i did make sur to do a memset to 0 of the whole array. and yes i crash everytime i call esp_wifi_connect() with an empty ssid and set to use the bssid. If i put any char in the ssid i don't crash but i fail connection.
by enitalp
Mon Jan 23, 2017 4:49 pm
Forum: General Discussion
Topic: Capacitive touch example?
Replies: 7
Views: 17078

Re: Capacitive touch example?

i used the arduino code in my ISP-IDF project with a test code : #define BRACELET_ON GPIO_NUM_27 while(true) { int l_Value = touchRead(BRACELET_ON); if (l_Value<20) { l_NbTouchFrame++; } else { l_NbTouchFrame = 0; } if (l_NbTouchFrame > 4) { digitalWrite(LED_TOUCH,1); } else { digitalWrite(LED_TOUCH...
by enitalp
Mon Jan 23, 2017 2:33 pm
Forum: General Discussion
Topic: empty ssid with bssid_set to true
Replies: 5
Views: 8812

Re: empty ssid with bssid_set to true

My AP is not an ESP32, only my station is. and the ssid is empty.

The crash is from there -> ESP_ERROR_CHECK( esp_wifi_connect() );
i did not set it to null but actually "" that's perhaps my error. will try like that
by enitalp
Fri Jan 20, 2017 10:32 pm
Forum: General Discussion
Topic: empty ssid with bssid_set to true
Replies: 5
Views: 8812

empty ssid with bssid_set to true

Hi. On one hardware i create an access point but for the instant i'm not able to set a ssid, so it's empty. I first tried to connect to it with the esp32 by putting the ssid=""; and did get a big crash, so i did setup the bssid and bssid_set and i still crash when the ssid="" and if i put a random s...
by enitalp
Thu Jan 12, 2017 10:04 pm
Forum: Sample Code
Topic: Bluetooth Classic - How to implement it!
Replies: 11
Views: 17150

Re: Bluetooth Classic - How to implement it!

Same here.

Played with BLE, but what i really want is Classic BT SPP.