Hello everyone,
I am developing an application in MicroPython on Raspberry Pi Pico W that transmits data acquired from a sensor through Bluetooth in advertising mode.
I have some experience in Raspberry Pi Pico (with MicroPython and C SDK), but It is the first time that I use the Bluetooth in an application.
I found a basic example on Bluetooth on the following repo:
https://github.com/raspberrypi/pico-mic ... rtising.py
On the basis of the example shown above, I developed a MicroPython application in Thonny that sends few data in advertising mode and it works!
Now, the problem is that I need to transmit in extended adverting mode, since the amount of data to transmit (each 90 seconds) is about 80 bytes. The standard advertising mode allows only to transmit at maximum 20 bytes.
I gave a look at micropython libraries for bluetooth (see link below) but did not found any reference to advertising extended mode.
https://docs.micropython.org/en/latest/ ... advertiser
Is there a way to use the Bluetooth advertising extended mode in micropython?
Best Regards,
David
I am developing an application in MicroPython on Raspberry Pi Pico W that transmits data acquired from a sensor through Bluetooth in advertising mode.
I have some experience in Raspberry Pi Pico (with MicroPython and C SDK), but It is the first time that I use the Bluetooth in an application.
I found a basic example on Bluetooth on the following repo:
https://github.com/raspberrypi/pico-mic ... rtising.py
On the basis of the example shown above, I developed a MicroPython application in Thonny that sends few data in advertising mode and it works!
Now, the problem is that I need to transmit in extended adverting mode, since the amount of data to transmit (each 90 seconds) is about 80 bytes. The standard advertising mode allows only to transmit at maximum 20 bytes.
I gave a look at micropython libraries for bluetooth (see link below) but did not found any reference to advertising extended mode.
https://docs.micropython.org/en/latest/ ... advertiser
Is there a way to use the Bluetooth advertising extended mode in micropython?
Best Regards,
David
Statistics: Posted by dBat00 — Tue Jul 09, 2024 9:01 am