Search found 8 matches

by ESP_anuj
Wed May 29, 2019 10:13 am
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

We have released the bug fix on the master branch right now - https://github.com/espressif/esp-idf-provisioning-ios
It will show up on the other branches soon
by ESP_anuj
Tue May 14, 2019 1:37 am
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

Edit -
s/CommonCrypto/cryptoswift/g
by ESP_anuj
Mon May 13, 2019 1:44 pm
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

Indeed! We just migrated to CommonCrypto today - and it all works fine now. We are doing some cleanup and testing, but we have a working solution now :)
by ESP_anuj
Sat May 11, 2019 5:46 am
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

Unfortunately not, but we are very actively working on a fix. Turns out that this is not a swift 5 issue but something related to our AES security layer. The issue as it turns out is that the function that actually encrypts using AES CTR (inside aes.c) and the iOS version that is being used don't go...
by ESP_anuj
Wed May 01, 2019 6:55 pm
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

https://github.com/apple/swift-protobuf/pull/843 There are some more issues where people have reported that it doesn't work with the new swift version The good news is that they have an updated pod release which works without any changes in the app repo. Same goes for the Curve25519 pod, it has an u...
by ESP_anuj
Mon Apr 29, 2019 8:03 am
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

I was able to reproduce your issue using Version 10.2.1 (10E1001) of Xcode, with the compiler that is part of it. It threw quite a few warnings for me when building, so I think the issue here is that some of those are actually breaking things. The temporary solution to this is to use the older versi...
by ESP_anuj
Thu Apr 25, 2019 6:51 am
Forum: ESP-IDF
Topic: malformedProtobuf with BLE provision example IDF V3.2
Replies: 12
Views: 12747

Re: malformedProtobuf with BLE provision example IDF V3.2

Looks like there is a mismatch between the protobuf files on iOS and ESP32. Can you share the complete logs for iOS and ESP32? Can you also share the version of protoc-gen-swift that you have installed? You can find it by typing `protoc-gen-swift --version`. There are some known issues for the swift...
by ESP_anuj
Thu Dec 13, 2018 7:48 am
Forum: Sample Code
Topic: Swift mobile app does not work
Replies: 2
Views: 5531

Re: Swift mobile app does not work

Hi I just verified that it works. Maybe an issue with the configuration in menuconfig? Can you please check - - You are using WiFi Sec 1 Debug build in iOS - In your IDF, you are using examples/provisioning/softap_prov - In the example, you have set Example Configuration->Use Security Version 1 If y...