ESP-IDF Blufi demo

Nicholas3388
Posts: 13
Joined: Mon Apr 25, 2016 2:03 am

ESP-IDF Blufi demo

Postby Nicholas3388 » Mon Jan 16, 2017 2:07 am

Hi,
Is there a BLEDEMO APK for the blufi sample in esp-idf? I didn't find any download link in the README file. Can you provide one for users to download the APK. Thanks.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP-IDF Blufi demo

Postby ESP_igrr » Mon Jan 16, 2017 2:43 am


seopyoon
Posts: 23
Joined: Thu Dec 08, 2016 8:25 am

Re: ESP-IDF Blufi demo

Postby seopyoon » Wed Jan 18, 2017 9:02 am

Hello,

After upgrading esp-idf and the toolchain, my blufi_main.c cannot find bluedroid libraries.

i.e. I get the following error:
/blufi/main/./blufi_main.c:28:27: fatal error: esp_blufi_api.h: No such file or directory

seopyoon
Posts: 23
Joined: Thu Dec 08, 2016 8:25 am

Re: ESP-IDF Blufi demo

Postby seopyoon » Wed Jan 18, 2017 9:13 am

It seems anything in bluedroid cannot be found/compiled from this example.

seopyoon
Posts: 23
Joined: Thu Dec 08, 2016 8:25 am

Re: ESP-IDF Blufi demo

Postby seopyoon » Fri Jan 20, 2017 6:35 am

Sorry. It must have been my fault. After removing esp-idf and re-cloning, the blufi example works well with the above APK.

The README on the example is very insufficient. Could you explain how a custom app could perform the same functionality?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP-IDF Blufi demo

Postby WiFive » Fri Jan 20, 2017 9:02 am

Hopefully blufi libraries for iOS and android will be released. Looks like the protocol is more complex with encryption options, packetization/framing, binary headers, message types/subtypes, ...

seopyoon
Posts: 23
Joined: Thu Dec 08, 2016 8:25 am

Re: ESP-IDF Blufi demo

Postby seopyoon » Mon Jan 23, 2017 4:28 am

I agree. The protocol seems to have become much more complex than before, when I could just send ssid and passwd via serial. Please provide documentations.

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

Re: ESP-IDF Blufi demo

Postby davdav » Thu Feb 23, 2017 8:23 am

I have the same problem of including some files of bluedroid. see following image
Immagine.jpg
Immagine.jpg (224.33 KiB) Viewed 14160 times
However if I change the "include/esp_blufi_api.h" to "esp_blufi_api.h", it is able to compile but obviously, it doesn't resolve the include file
Immagine2.jpg
Immagine2.jpg (230.15 KiB) Viewed 14160 times

How to solve it?

Thanks.

peculiar_persimmon
Posts: 1
Joined: Tue Aug 08, 2017 8:03 pm

Re: ESP-IDF Blufi demo

Postby peculiar_persimmon » Tue Aug 08, 2017 8:12 pm

Seconded. Please provide an iOS sample for Blufi with code for encryption (handshake) and packetization/frame construction. Thank you.

Who is online

Users browsing this forum: No registered users and 118 guests