Python Forum
How to continuously receive messages until specified to stop using Bleak
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to continuously receive messages until specified to stop using Bleak
#3
Quote: am trying to make a program that receives data from a bluetooth device
Use multipricessing, running this code in a separate process.
Quote:until you press a button to make it stop.
Wait for input in the "main" program and terminate the process https://pymotw.com/3/multiprocessing/basics.html
Reply


Messages In This Thread
RE: How to continuously receive messages until specified to stop using Bleak - by woooee - Dec-28-2022, 02:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to receive two passed cmdline parameters and access them inside a Python script? pstein 2 444 Feb-17-2024, 12:29 PM
Last Post: deanhystad
  Receive Input on Same Line? johnywhy 8 941 Jan-16-2024, 03:45 AM
Last Post: johnywhy
  How to use asyncio run_forever to continuously handle requests mansky 1 806 Oct-28-2023, 04:26 AM
Last Post: deanhystad
  Read 2 Value with bleak via BLE notify from ESP32 Nietzsche 7 3,126 May-04-2023, 09:31 PM
Last Post: Nietzsche
  Help with bleak - how to send test to BLE device? korenron 1 1,820 Aug-28-2022, 11:28 PM
Last Post: Larz60+
  How can I add an end line character after every value that I receive? GiggsB 11 5,504 Mar-06-2022, 08:51 PM
Last Post: GiggsB
  How to receive webcam capture on spout? buzzdarkyear 2 2,757 Jan-12-2022, 02:26 PM
Last Post: buzzdarkyear
  bleak library RuntimeError: This event loop is already running alice93 3 4,251 Sep-30-2021, 08:06 AM
Last Post: alice93
  How to listen to clipboard content change without polling the clipboard continuously? edgelord 0 2,547 Nov-27-2020, 06:07 AM
Last Post: edgelord
  Custom logging handler looping continuously linuxaddikt 0 1,853 Mar-12-2020, 06:58 PM
Last Post: linuxaddikt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020