Page 1 of 1

Come avviare bluetooth

Posted: Fri Sep 08, 2023 9:12 am
by charlie
Hi cicciocb, I decided to use BLE to make a very simple transmission.But as soon as I write the word bluetooth.xxxx ... the system signals Syntax error at line....
BLUETOOTH.POWER 7
BLUETOOTH.SETUP "charlie" , 000001
All give me syntax error
Have I to enable something?

Many thanks
Charlie.

Re: Come avviare bluetooth

Posted: Fri Sep 08, 2023 12:10 pm
by cicciocb
Qui puoi scrivere direttamente in Italiano.
Ripeto quello che altri hanno già detto e cioé penso che tu stia usando la versione senza BLE.

Devi installare un firmware che contiene BLE all'interno

Re: Come avviare bluetooth

Posted: Tue Oct 03, 2023 3:45 am
by Palm Liu
I also cannot work on the bluetooth BLE function. System reboot when calling bluetooth.setup ...
image.png

Re: Come avviare bluetooth

Posted: Tue Oct 03, 2023 4:46 pm
by cicciocb
I've just tested it and is working with the version 1.50.5 but I just noticed that you are using it in AP mode and, in this case, I confirm that it crashes only when the module is in AP mode.
I''m trying to understand why ....

Re: Come avviare bluetooth

Posted: Tue Oct 03, 2023 4:52 pm
by cicciocb
As a first patch, if you put the module in mixed mode with the command

wifi.connect "", ""

just before BLUETOOH.SETUP ....

the module do not crashes anymore ....

Re: Come avviare bluetooth

Posted: Tue Oct 03, 2023 5:28 pm
by cicciocb
I've just fixed in the version 1.51.2 BLE available online