GithubHelp home page GithubHelp logo

yurockkk / bluetooth-rpi-python Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 11.0 2.75 MB

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

Python 100.00%

bluetooth-rpi-python's People

Contributors

yurockkk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bluetooth-rpi-python's Issues

Can it be used in Raspberry Pi Zero W?

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!

Command Fail

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?

Unable to reconnect again after client is disconnected

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?

not able to change wifi from andriod . output of python code maintion below, please give me suggesstion

['{"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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.