espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.7k stars 7.3k forks source link

[TW#14142] Bluetooth Mesh support (IDFGH-763) #819

Closed OtherCrashOverride closed 4 years ago

OtherCrashOverride commented 7 years ago

Support for the new Bluetooth Mesh standard needs to be addressed.

FHFS commented 7 years ago

Do you mean this announcement by SIG not more than 24 hours ago?

OtherCrashOverride commented 7 years ago

Yes. Nordic and others have a "day one" SDK available.

FHFS commented 7 years ago

Does sound like a nice feature =)

TianHao-Yoursmake commented 7 years ago

Thanks for your attention to ESP32. Standard Mesh Support is in plan, but the time need to discuss.

sthenc commented 7 years ago

Hello, I am also interested in this. Any updates on the status?

Btw. the specification can be accessed publicly, I just downloaded it: https://www.bluetooth.com/specifications/mesh-specifications

I fail to understand how big a difference there is between BLE mesh and normal BLE (but my understanding of both is very limited).

I have a requirement for two BLE slave devices to exchange data between themselves.

@TianHao-Espressif Do you think it would be possible to build a BLE mesh on top of the present esp32-bt-lib? If implementing BLE mesh for ESP32 is not going to happen soon (meaning a couple of weeks), are there some already working alternatives?

FHFS commented 7 years ago

@sthenc I think GATT server-client model would do for you. Mesh is a network type, where you would be able to communicate with all devices on that network, even when for example that other node would be out of range.

jrewiens commented 7 years ago

Is there any progress on ESP32 BLE mesh functionality?

TianHao-Yoursmake commented 7 years ago

@jrewiens , for now, BLE -MESH is not ready in ESP32. You can consider about ESP-MESH with WIFI.

micheljung commented 7 years ago

ESP-Mesh isn't ready for ESP32 either.

I'm willing to pay for BLE-Mesh support.

benjaminaigner commented 7 years ago

@micheljung There is the BTSTack BLE stack, where they are currently developing BLE Mesh support. I think @mringwal will be faster than the Bluedroid stack :-):

https://github.com/bluekitchen/btstack/tree/mesh

mringwal commented 7 years ago

Bluetooth Mesh works by sending and receiving advertisements. I've seen that Espressif added support for scanning and advertising at the same time (well, it stops quickly to receive when sending). That's the basis for any Mesh implementation.

@benjaminaigner thanks for your confidence. We're fuzzy about the when, but we're working definitely on Bluetooth Mesh for BTstack (a few PTS tests are already green). It does have a few protocol layers to implement.

LinhDNguyen commented 6 years ago

Hello @TianHao-Espressif and all, Do you have any updates about BLE mesh for ESP32? Thank you.

Yulong-espressif commented 6 years ago

@nvl1109 About the BLE Mesh. We are currently working on it and it will take time, so stay tuned for our follow-up IDF update. Thank you

jo-nas commented 6 years ago

Any News?

mringwal commented 6 years ago

BTstack's BLE Mesh supports Provisioning both as Device (new device that gets added to the network) and Provisioner (the device that provides network key to new device - similar to LE Secure Connections) in the test/mesh folder of the "mesh" branch. We plan to have basic network communication working maybe end of January.

Yulong-espressif commented 6 years ago

@jo-nas We will support BLE Mesh at the first quarter of 2018. We are writing the code now. Thanks for your concerned.

NicksonYap commented 6 years ago

@Yulong-espressif @TianHao-Espressif
any news or beta release of BLE Mesh?

Yulong-espressif commented 6 years ago

@NicksonYap We have now implemented some of the features of Bluetooth mesh. We plan to release the first version of the Bluetooth mesh in early April. Thank you for your interest in the progress of Bluetooth mesh.

wolfelec commented 6 years ago

Hello @Yulong-espressif

Will the bluetooth mesh be available with AT commands?

Thank you :)

Yulong-espressif commented 6 years ago

@wolfelec We currently have no plans to join the Mesh AT command, we will consider other BLE Mesh release, thank you.

wolfelec commented 6 years ago

@Yulong-espressif

Thank you for your answer :)

So if I understand correctly, the new functionality expected for April, will not bring AT specific command to BLE Mesh?

Thank you

herry13 commented 6 years ago

Pin this thread because I'm very interested to use BLE mesh for my project.

micheljung commented 6 years ago

@Yulong-espressif how's it going, are we on track? Early April ends soon :-)

rapzak commented 6 years ago

@Yulong-espressif, Hi - I am also interested in this :) :)

chegewara commented 6 years ago

Few more interested people on this and i will create account on kickstart and write it myself 🥇

jonas-eschmann commented 6 years ago

Have been waiting to test BLE Mesh for two years (since the earliest rumors) now, would be great if you could bring it to the esp!

Yulong-espressif commented 6 years ago

@sh4kesbeer @rapzak @micheljung Sorry for the delay, The BLE mesh code already finish now, we still need some time to test it, we will release it as soon as possible to the IDF. Thank you very much.

ZeeLivermorium commented 6 years ago

Thank god! Y'all da best!

wolfelec commented 6 years ago

@Yulong-espressif , thank you for the new :)

mik00 commented 6 years ago

Looking forward to BLE mesh release too.

manikandan-enability commented 6 years ago

Any Update about BLE mesh for ESP32? Thank you. @Yulong-espressif

leodesigner commented 6 years ago

Maybe http://zephyrproject.org/ will be a faster solution for BLE Mesh ?

micheljung commented 6 years ago

Last time I checked, they didn't even have bluetooth drivers fro ESP32 yet. I paid $100 via Bountysource so someone implemented it, but IIRC there were many other shortcomings as well so I gave up on Zephyr. @leodesigner

Shannon-I-am commented 6 years ago

How is that testing going? Can we expect BLE mesh to work with the existing wifi mesh interfaces? I'm anxious to have this functionality.

chegewara commented 6 years ago

I see new bluetooth option, a lot bluetooth options, one is suggesting we are having or we are very close to have implemented ble mesh. Some confirmation? @Weijian-Espressif @Yulong-espressif

micheljung commented 6 years ago

@Yulong-espressif first you announced March, then you moved it to "early April", then you said you were "done" and now it's JUNE and we're still not there? I'm trying to run a business and I've been delaying my product waiting for BLE Mesh, if I knew these anouncements were so unreliable, I would've looked for another solution.

This really hurts Espressif's reputation. And my business.

Yulong-espressif commented 6 years ago

@micheljung I'm sorry about the delay, we have now completed the development of the BLE Mesh code protocol part. We can only provide to some customers at present. If you are in urgent need, please contact our business department. We can give priority to you. Feel sorry again.

Shannon-I-am commented 6 years ago

@Yulong-espressif, will BLE Mesh ever be available without a 'special arrangement'? Maybe we should start looking elsewhere immediately?

OtherCrashOverride commented 6 years ago

After waiting patiently for almost a year and with the work stated as complete, I do not think it is unreasonable to expect a timely response to the previous question:

Will BLE Mesh ever be available without a 'special arrangement', and, if so, when?

denyip commented 6 years ago

Hi, Is it possible to make a ESP32 as a bluetooth 5 device provisioner? I think the requirement of acting as provisioner is just software change , because a android phone with just BLE can also act as a provisioner.

jonas-eschmann commented 6 years ago

@OtherCrashOverride well, they have no obligation whatsoever to fulfil your demands, maybe you should be a bit more grateful for the fact that they are listening at all?

NicksonYap commented 6 years ago

Let's keep this simple. As @sh4kesbeer said, they have no obligation A GitHub comment is not an official release date It's our own responsibility to keep a look out at alternatives This is a low cost platform, there's nothing much to expect

Yulong-espressif commented 6 years ago

@all Thank you for your continuing interest in ESP32 BLE Mesh. At the moment we have decided internally that if there is no problem with the test, we will publish the BLE Mesh function to Github at the end of July.

wolfelec commented 6 years ago

@Yulong-espressif Good news :)

OtherCrashOverride commented 6 years ago

@sh4kesbeer

well, they have no obligation whatsoever to fulfil your demands

It was not a demand. It was a request from a customer. No threats were made. No ultimatums were given (by me). Almost a year after my first inquiry, I have followed up on it.

maybe you should be a bit more grateful for the fact that they are listening at all?

When a customer asks a question to a business, it is called customer service. The level of customer service is also considered a very important measure of a company by many.

As expressed earlier in the conversation, customers have their own businesses to run and their own schedules. It is common practice in the industry to inquire about product "roadmaps". If a vendor is not reasonably forthcoming about their "roadmaps" or chastises their customers for inquiring, then a customer may seek a relationship with a different vendor. Its not an emotional reaction; rather, its simply common business practice in a highly competitive and time sensitive market.

Modern development is increasingly decentralized (global). In this specific instance, it far simpler to select an existing BT Mesh solution than to work within the constraints of a 'special arrangement'. When all development interaction has to go through 'approved channels', it significantly adds to the time and resources required for product development.

denyip commented 6 years ago

@Yulong-espressif , do you mean that the release on Jul will be compatible to Bluetooth 5 mesh, that means it can communicate with other brand chips via Bluetooth 5 mesh? If it's true, then will be great.

Yulong-espressif commented 6 years ago

@denyip ESP32 currently does not support the Bluetooth 5.0 feature, but BLE Mesh and 5.0 are independent. This means that our BLE Mesh is compatible with BLE Mesh on other chips, so feel free to use it. Thank you very much.

H0bbes commented 6 years ago

Thank you for your hard work. Can't wait to start playing with it. Did you solved/optimized the cohabitation between BLE scan/advertising and Wifi ?

denyip commented 6 years ago

yes, it's basically, the system connect to wifi aws and then do scan ble simultaneously, run few months without problem.

ramams commented 6 years ago

@Yulong-espressif is ESP BLE Mesh released? From your previous message it was expected to be released by end of July. Thanks in advance.