yurockkk / bluetooth-rpi-python Goto Github PK
View Code? Open in Web Editor NEWA Python script running on Raspberry Pi 3 to receive commands (SSID & password) from / send executed results to an Android device over bluetooth
License: MIT License
A Python script running on Raspberry Pi 3 to receive commands (SSID & password) from / send executed results to an Android device over bluetooth
License: MIT License
I was trying to do all this you have developed, which is really cool, in a Raspberry Pi Zero W using Stretch. For some reason it doesn't work. I wanted to know if it is because I'm using a Raspberry Pi Zero W or if it is because of the OS i'm using.
Thanks for taking some time on reading this. Greetings!
Hi, so I followed all the steps mentioned in the main page but I noticed that once my client(Android app) is disconnected, it does not connect again until I restart the OS. It may seems the port on the server side didn't close the connection but also we can see that its listening as its prints "waiting for connection" on the terminal but doesn't connect again from client side. How could this be fixed?
['{"PWD":"88454528","SSID":"TP-Link_9F3F"}']
sudo mv wifi.conf /etc/wpa_supplicant/wpa_supplicant.conf - 0
ifdown: unknown interface wlan0
sudo ifdown wlan0 - 256
ifup: unknown interface wlan0
sudo ifup wlan0 - 256
wlan0 IEEE 802.11 ESSID:"TP-LINK_44E6"
Mode:Managed Frequency:2.462 GHz Access Point: EC:08:6B:82:44:E6
Bit Rate=72.2 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=55/70 Signal level=-55 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0
iwconfig wlan0 - 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.109 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::c7ba:2ee4:b3a4:2fec prefixlen 64 scopeid 0x20
ether b8:27:eb:02:88:4a txqueuelen 1000 (Ethernet)
RX packets 159 bytes 15130 (14.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 149 bytes 24230 (23.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ifconfig wlan0 - 0
Fail to connect to Internet
waiting for connection
Hello,
I could connect to pi successfully and it says it is connected but when I run command "date" or "pwd" from android app, it does not works. I saw the result from console and could see the command seems is sent with wrong text.
[b'date']
[b'pwd']
And then py file code error which has exception issue on is_json function.
Can you please let me know what is the issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.