Topic: Wolfssl over BLE transport for ios/Android platforms
Hi,
I wanted to know if there are any example applications on wolfssl over BLE transport for ios/Android platforms. If so please share the examples or any related documents
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → wolfSSL → Wolfssl over BLE transport for ios/Android platforms
Hi,
I wanted to know if there are any example applications on wolfssl over BLE transport for ios/Android platforms. If so please share the examples or any related documents
Hello ajmal,
Thank you for reaching out and asking about wolfSSL! My name is Anthony Hu and I will do my best to help you. At wolfSSL, We love hearing about how people are using our projects so can you please tell us about your project and what you are trying to achieve?
wolfSSL's INSTALL file has instructions for building and installing on both IOS and Android: https://github.com/wolfSSL/wolfssl/blob/master/INSTALL
Here you will find some examples for BTLE: https://github.com/wolfSSL/wolfssl-exam … aster/btle
Here are some examples for using our libraries on Android: https://github.com/wolfSSL/wolfssl-exam … er/android
After looking at these resources, please do let us know if we can be of further assistance.
Warm regards, Anthony
Hello, I have a similar problem.
After compiling the library with Xcode, I can see that even providing the following additions to the user_options.h file, the compiled .a library does not contain the TLS1.3 methods:
#define WOLFSSL_TLS13
#define NO_RSA
#define HAVE_FFDHE_2048
#define HAVE_HKDFe
What is the correct way of compiling WolfSSL with support for iOS and macOS, from Xcode, so that TLS1.3 is enabled?
BTW I know that the .a library does not contain, e.g.: wolfTLSv1_3_server_method(), because that symbol is not present in the list of symbols found with the command nm -gu libwolfssl_ios.a
Apparently _wolfTLSv1_1_client_method is instead there as a symbol, and that is not what I would like.
Hi Michele,
For XCode instructions, please see https://github.com/wolfSSL/wolfssl/tree … /IDE/XCODE .
That will show you the README.md which will give you instructions regarding user_settings.h which refers to this file:
https://github.com/wolfSSL/wolfssl/blob … settings.h
You can add your macro defines and undefs in there.
Warm regards, Anthony
That is precisely what I am doing.
But it is not working.
With this user_settings.h, with the release wolfssl-5.6.2-stable, inside the IDE/XCODE workspace,
after compiling libwolfssl_ios.a , running the following command:
nm -gu libwolfssl_ios.a > symbols.txt
results in a list of symbols, contained inside libwolfssl_ios.a that just include the following "methods":
_InitSSL_Method
_wolfTLSv1_3_client_method
_wolfSSL_BIO_method_type
In particular, the method wolfTLSv1_3_server_method is absent, despite the library having been compiled with the defines:
#define WOLFSSL_TLS13
#define WOLFSSL_EITHER_SIDE
I am attaching my user_seettings.h file
I believe this is a bug.
Is TLS1.3 supported on Xcode only in the FIPS enabled version?
Am I doing something wrong?
Hi Michele,
TLS 1.3 is supported and enabled by default for both FiPS and non-FIPS code. Can you please try removing the `-gu` parameters on your execution of `nm`?
> I am attaching my user_seettings.h file
Sorry, but I did not find any attachments on your latest message. Can you try again?
Warm regards, Anthony
Sorry, the right command to use is actually nm -a, and it shows all the symbols.
Managed to get the library to compile with 5.6.2 stable without missing symbols.
Thanks, Michele
Hello Antony.
On another note, are you aware of commercially available native swift bindings/wrappers for the WolfSSL library?
Similar to the JNDI for Android, but for Swift?
My understanding is that we do need to carefully take care of unsafe/opaque pointers ourselves, unless native bindings happen to exist, and that the library is designed to be used in C.
Thanks Michele.
Hi Michele,
I am aware that some of our customers call wolfSSL naively from swift. We have heard no problems from them. Perhaps you can try it out and if you find any issues, please do let me know.
Warm regards, Anthony
wolfSSL - Embedded SSL Library → wolfSSL → Wolfssl over BLE transport for ios/Android platforms
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.018 seconds (89% PHP - 11% DB) with 11 queries