Sending and Receiving between Raspberry pi 3 and Android
See original GitHub issueI’ve install Bleno in my raspberry pi 3, currently im able to send some plain text from android to raspberry pi 3, so how do i send some string back to Android ? Because I’ve tested with the callback function of onWriteRequest under new characteristic doesn’t work, or are there any ways to trigger the writing part?
echo.js
onWriteRequest : function(data , offset, withoutResponse, callback) { this.value = data; ... if(this.value.toString == 'received_some_text_from_android') { // send plain text back to android } }
p/s: i’m very new to this, please bear with my false assumption
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:18
Top Results From Across the Web
messaging between android/iphone and raspberry pi 3 model b
Hi. The main goal is.. setup raspberry like a "bluetooth-server", where any device could connect and receive some information via bluetooth.
Read more >How to send messages to a Raspberry Pi 3 using an Android ...
If using BLE /Bluetooth , first you need to make either android phone or rasperry pi in central mode and the other in...
Read more >Raspberry Pi to Android SPP Bluetooth communication
In this video, two way communication is established between Android and Raspberry Pi 3 B+ over Serial Port Profile (SPP) Bluetooth.
Read more >Using Raspberry Pi 3 On-Board Bluetooth for Communication
We can send/receive data from/on Raspberry Pi over Bluetooth using CLI. This communication is helpful when we need to control any device ...
Read more >Raspberry Pi Android App Communication - Instructables
1. For this instructables you'll need several things.
An android phone or the emulator from android studio
A raspberry pi (I tried B and 2B)
An...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Agree with the ping pong example, would be glad if there’s sample about it =D
same problem, if someone can give us a real ping pong example, that could be awesome 😃