Mollayo / BluetoothSerialForTasker

A plugin for Tasker to communicate with a Bluetooth device using the Serial Port Profile (SPP).
23 stars 8 forks source link

Cannot recieve serial messages #3

Open juanlozanodbz opened 2 years ago

juanlozanodbz commented 2 years ago

Hi! I can send messages from Tasker to the Arduino but not the other way around. I tried using %serial_data() to do it but I have not managed to achieve it. Could you give a bit more detail on how to do it? I'd be very grateful.

Mollayo commented 2 years ago

The problems could be from your device that sends the Bluetooth data. Are you sure that this is working properly ? Did you try to receive the Bluetooth data using another software, for instance, https://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal ?

motomech commented 1 year ago

When adding an action, there is no choice for receive. Only connect, disconnect and send.

slsp8752 commented 1 year ago

@motomech the receive functionality is under "Events" -> "Plugin" -> "Bluetooth Serial for Tasker"

It took me a while to find it!

slsp8752 commented 1 year ago

@juanlozanodbz You'll need to use %serial_data(<) to grab the most recent transmission from the serial data array. That part also threw me for a loop.

Neel-Raskar commented 1 year ago

Hey can you give me a tutorial on how to recieve data sent by arduino through bluetooth on this plugin im not able to configure the process even if im able to flash the message on my phone it would be enough.this has something to do with my engineering project so please i need help...

KlausHeynen commented 1 year ago

I can sent and receiver data from M5Stack on Android Serial bluetooth terminal. But on the plugin I cannot receive. Pls. can you make a tutorial or short instruction how to set up the proper receive profile in tasker. Or even better add a tasker action to the the GitHub repository to import. Thank you

KlausHeynen commented 1 year ago

one step ahead: It is important first to send a connect before data can be received!

brucevdkooij commented 5 months ago

After a while I stop receiving serial messages. I have to execute another BT Serial Connect. Any ideas? The device is an Anysecu PTT mic which is Bluetooth 4.2 so perhaps it has to something do with BLE.