Comments (16)
Thank you for your inquiry. As you already know, we do not currently support BLE. My team values your inquiry and we will use it in our consideration for prioritization on our support for BLE.
from amazon-freertos.
Which other port do you suggest as fallback meanwhile it is available ? I am considering espressif one
from amazon-freertos.
Thank you for your inquiry. Amazon FreeRTOS does not support BLE as of now. Please choose a port best suitable for your application needs.
Your feedback is important to us as it helps us in prioritizing our work.
Thanks.
from amazon-freertos.
Hello,
I am planning to use BLE with Amazon FreeRTOS (on ESP32) as soon as possible. Can we have an estimate about when it will be available?
Thanks!
from amazon-freertos.
Hi sudarshangb,
Thanks for your inquiry and interest.
We currently donβt have a date for having BLE support on ESP32, but feedback such as this helps us prioritize. It would be appreciated if you could share some details on your BLE use case/requirements.
Best,
Tanmoy
from amazon-freertos.
I have two use cases for BLE on a custom ESP32 module that I'm working on: 1) provisioning of the ESP32 via a mobile app so that it can connect to a local wifi/AWS IoT and 2) connecting to other BLE sensors and devices that then pass data to AWS Iot via the ESP32.
from amazon-freertos.
Thanks for the information. If you want to discuss your use case and project further, feel free to reach out to us at freertos-qual AT amazon DOT com. While we don't have a standardized BLE interface for Amazon FreeRTOS yet, our partners such as Espressif have solutions for BLE, and our software will work with these solutions.
from amazon-freertos.
I was hoping that the Espressif BLE would work along with the Amazon FreeRTOS--and your response supports this view. Thanks!
from amazon-freertos.
Hi David,
How do you plan to have Espressif BLE would work along with the Amazon FreeRTOS? If it works for you, do you mind sharing your solution? Thanks!
from amazon-freertos.
My tentative plan is to use an app to provision the wifi settings (network name and password) on the Espressif device via BLE. However, I have not implemented this yet--
from amazon-freertos.
Hi Tanmoy,
You said "While we don't have a standardized BLE interface for Amazon FreeRTOS yet, our partners such as Espressif have solutions for BLE, and our software will work with these solutions."
Can you give more explanation of how to do it?
thanks!
from amazon-freertos.
Hi @refuhoo,
the Espressif boards qualified for Amazon FreeRTOS have BLE connectivity but this repo neither contains the necessary libraries from Espressif idf project, nor it contains a standardized BLE interface we are committed to support. You can find the source code for Espressif BLE libraries on github at esp-idf.
I can see two ways to leverage BLE on the Espressif boards: one can either import the necessary libraries into this code base, or one can use the FreeRTOS version in the Espressif code base.
In the first approach, one should first import the BLE libraries (see link above) into this code base, make sure they build correctly and then code/test as usual.
In the second approach, one would work directly with the version of FreeRTOS that is available in the esp-idf project itself. See here.
The first approach will require some preliminary steps, but will allow using all other Amazon FreeRTOS libraries (MQTT, Shadows, OTA, etc...). The risk is that one may find incompatibilities between the current esp-idf project sources and the sources in this repo. We do not guarantee in facts that esp-idf and Amazon FreeRTOS are aligned at all times.
The second approach will only depend from the esp-idf project, and should allow immediate prototyping. The downside is that the Amazon FreeRTOSlibraries are not available in the esp-idf repo.
In the event that we will decide to add BLE support to this code base, we will first define a standardized interface and then implement it against the ESP BLE API and whatever other API is available with other qualified SoCs. A standard interface is needed so that any BLE application running on Amazon FreeRTOS can be ported across all qualified boards/SoCs/etc...
One last thing to consider is that we did not commit on delivering BLE support yet, and therefore we did not define such abstraction as of today. Whatever solution one designs&code before such abstraction is available, it may need re-coding once the abstraction is provided and implemented by our team.
from amazon-freertos.
@refuhoo @dwlayton @sudarshangb @xnlcasad Hi all, yesterday we launched the Beta for BLE support for 3 targets: Espressif, Nordic and ST.
Espressif and ST are the boards we already support today, although for ST you need to use a different BLE SoC than the one on-board. For Nordic, we do support the nRF52840-DK. Our current implementation, still Beta quality (!), supports MQTT-over-BLE using a proxy iOS or Android device. We also support Shadows as well as WiFi provisioning. Of course we support creating custom GATT services as well. Please check our online docs for more details, as well as the iOS and Android SDK repos, which also feature a sample application.
Espressif has the more complete and well tested implementation so far, with Nordic an ST catching up quickly. ST does not support WiFi provisioning yet, but we are working on it and it won't be long. Nordic does not have a WiFi SoC at all.
If you happen to give this feature a try, we are very interesting in your feedback and suggestions.
from amazon-freertos.
@it72 thanks for the update on BLE support! I have a prototype pcb using the new Espressif Solo-1 module. My use case includes an Ionic app that uses the AWS Amplify framework that supports Cognito authentication and AWS iot pub/sub. I will use the new ble support for aws freertos to provision the wifi connection on the module using the Ionic app with BLE (i.e., sends the wifi SSID and pw to a custom BLE service set up on the Solo-1).
Once connected to AWS IoT, I was hoping to do JITP, however, looking ahead to a production environment with thousands of pcb units produced, flashing a unique x.509 certificate onto each device to allow JITP seems impracticable/expensive. Thus, I was interested in the solution provided by https://github.com/awslabs/aws-iot-certificate-vending-machine.
My question is--instead of having the Solo-1 make an https call to the API gateway and then to the Lambda provisioning function (as in the CVM example), couldn't I make a similar https call from the Ionic app (using the device serial number read from the BLE service + cognito user id) and then send the acquired CVM certs to the Solo-1 via the BLE connection (using a custom BLE service)? One key advantage is that I could then attach the authenticated cognito user id (from the app) to the Thing shadow that the device publishes to.
from amazon-freertos.
@dwlayton: In our BLE use case, the actual 'device', as far as the MQTT broker is concerned, is the proxy. So forwarding the Cognito identity to the device is not needed.
That said, if you want to use BLE just for WiFi provisioning, and then do all MQTT transactions or WiFi, then it would make sense.
Am I guessing right?
from amazon-freertos.
Hi everyone,
BLE support has been added for select boards on the release-1.5 branch. I am closing this issue; please reopen if you have any additional questions.
from amazon-freertos.
Related Issues (20)
- [BUG] `CORE_MQTT_MUTUAL_AUTH` Demo: Failed to establish new connection HOT 5
- [BUG] pPublishInfo->payloadLength changes after call to sendPacket HOT 6
- [BUG] MbedTLS version not reflected within git modules. HOT 2
- [BUG] Array bound warning observed in iot_test_tcp.c HOT 2
- [General] Where is esp_hw_support component ? HOT 1
- [Feature Request] Allow to define custom 'help' command in freertos-cli HOT 2
- nvs_flash_init() panics HOT 1
- [BUG] Lacking a check for the return value of mbedtls_ssl_conf_own_cert() HOT 1
- [Feature Request] Update submodule "vendors/espressif/esp-idf" to release/v4.4 of esp-afr-sdk HOT 2
- [General] Unable to access esp-idf ble_wifi_provisioning component HOT 9
- [General] Cannot use Bluedroid, NVS crashes/panics HOT 15
- [General] BLE service to leverage IOT BLE data transfer service HOT 1
- ESP32 compiled binary shows absolute file path when walked through using binwalk HOT 6
- [General] STM32L4 discovary board AWS IoT Tera Term Error HOT 5
- [BUG] ESP32 Port SPI Error with S3 HOT 2
- [BUG] Trace output of ESP32-DevKitC jobs demo is clobbered HOT 2
- [General] Ethernet AWS MQTT DNS Network Error HOT 4
- [General] Is there a reason, why there is almost two months no merge in main? HOT 5
- [General] ESP32S3 OTA fails due to not multiple of 16 bytes
- [General] esp_ota_begin fails in simple example HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-freertos.