Come avviare bluetooth

Spazio dedicato agli utenti Italiani
Post Reply
charlie
Posts: 39
Joined: Thu Jul 28, 2022 11:36 am
Location: MANTOVA ITALY
Been thanked: 3 times
Contact:

Come avviare bluetooth

Post 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.
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Come avviare bluetooth

Post 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
Palm Liu
Posts: 47
Joined: Fri Jun 25, 2021 3:50 am
Has thanked: 10 times
Been thanked: 17 times

Re: Come avviare bluetooth

Post by Palm Liu »

I also cannot work on the bluetooth BLE function. System reboot when calling bluetooth.setup ...
image.png
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Come avviare bluetooth

Post 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 ....
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Come avviare bluetooth

Post 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 ....
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Come avviare bluetooth

Post by cicciocb »

I've just fixed in the version 1.51.2 BLE available online
Post Reply