I looking to help about the CC-41A BLE module that is a clone of the HM-10 module, after so much searching and testing, i am not able to secure it with a password (pin code).
My project is to communicate from a smartphone with my arduino board, that work perfect, but i can connect without any password....
1st i use a HC-06 that was fine, but not working with iphone, this one was easy to configure the pin code.
With BLE module, all is different, use the UUID to communicate, and scanning directly on my app, so i change the pin code with the AT command AT+PIN that work, but the smartphone never ask for the pin.
As i found, to activate the pin, must use AT+TYPE2 or AT+TYPE3 to not allow scanning without the PIN, but the module don't accept it, TYPE always stay to 0.
Is there any way to secure this bluetooth module ?
Or maybe a other way to add a password in my arduino code, because leave that open is really a security issue.
Yes, the final product will be installed on many cars, so that mean anybody can download the app and connect to it and change parameter, since this board change engine parameter, that can really be a serious security issue.
So, if you are developing a commercial product, I guess it down to you to at least do it with a full-bottle Bluetooth.
I imagine the real players would have a more sophisticated user-installed password held in the device's ROM.
Nobody has a idea ? look like i am not a alone to get this issue with this module, but i don't see any solution.
I will try with a JDY-10, hope this module don't have the same issue.
Thanks
As mentioned in reply #4, you could have a password in ROM that has nothing to do with Bluetooth. A simpler solution might be to use an HC-05, which does use a password.
Ok, but the pass is then the same for all of them, the final user must be able to change it.
I have a HC-06, yes there is a pass, but this module is not compatible Iphone, that the main issue with it.
Thanks