mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-10-26 22:10:24 +00:00
docs/cityhub: add ble.broadcast
A workaround has been implemented in the firmware so this is available now.
This commit is contained in:
1 parent
00ded2e2a0
commit
6d69f04fe5
1 file changed
+7
-2
@@ -21,8 +21,7 @@ City Hub
|
||||
|
||||
.. rubric:: Using connectionless Bluetooth messaging
|
||||
|
||||
``ble.broadcast()`` does not work on ``CityHub`` due to a bug in the
|
||||
Bluetooth chip firmware.
|
||||
.. automethod:: pybricks.hubs::CityHub.ble.broadcast
|
||||
|
||||
.. automethod:: pybricks.hubs::CityHub.ble.observe
|
||||
|
||||
@@ -85,6 +84,12 @@ Creating light animations
|
||||
Bluetooth examples
|
||||
------------------
|
||||
|
||||
Broadcasting data to other hubs
|
||||
*******************************
|
||||
|
||||
.. literalinclude::
|
||||
../../../examples/pup/hub_common/build/ble_broadcast_cityhub.py
|
||||
|
||||
Observing data from other hubs
|
||||
******************************
|
||||
|
||||
|
||||
Reference in new issue
Block a user