Go to advanced search

by bomby
Tue Mar 01, 2016 4:29 pm
Forum: C/C++
Topic: Sending and receiving integers from Arduino (endian)
Replies: 4
Views: 4247

Re: Sending and receiving integers from Arduino (endian)

Hi! Sorry for the confusion (updated by initial post!) Due to errors reading in integer of 4 bytes, i had to resort to using 1 byte and somehow it seems to read the values correctly (cant possibly go wrong with 1 byte right? :lol: ) Ok so the main problem is this: 1) I am trying to receive an intege...
by bomby
Tue Mar 01, 2016 3:10 pm
Forum: C/C++
Topic: Sending and receiving integers from Arduino (endian)
Replies: 4
Views: 4247

Sending and receiving integers from Arduino (endian)

I'm trying to send and receive integers from Arduino. I have checked online that Raspberry Pi and Arduino are both little-endian. However when I receive a integer from Arduino's Serial.write() via serial rs232, the byte always seems to come in big endian format, and i would need to manually shift th...
by bomby
Sat Feb 13, 2016 6:43 pm
Forum: Networking and servers
Topic: Accessing SSH outside local network
Replies: 46
Views: 193014

Re: Accessing SSH outside local network

Weaved limits your access to 30 minutes only If you want try ngrok , it is free! http://www.instructables.com/id/Raspberry-Pi-online-SSH-easy-way/?ALLSTEPS Just ignore this last part in step 3 and jump straight to step 4: [email protected]~$./ngrok 80 Hope this helps everyone who wants to access SSH to t...
by bomby
Tue Feb 09, 2016 7:01 pm
Forum: C/C++
Topic: Bluetooth: Send & Receive simultaneously with socket an
Replies: 5
Views: 909

.....
by bomby
Mon Feb 08, 2016 10:09 pm
Forum: C/C++
Topic: Bluetooth sending and receiving data
Replies: 2
Views: 21368

Re: Bluetooth sending and receiving data

The channel must be specified when advertising the service, and when listening for connections. If not specified when advertising (sdptool add SP) it defaults to channel 1. If not specified when listening (rfcomm listen), it defaults to channel 1. I suspect you are advertising and/or listening in y...
by bomby
Mon Feb 08, 2016 7:28 pm
Forum: C/C++
Topic: Bluetooth sending and receiving data
Replies: 2
Views: 21368

Bluetooth sending and receiving data

Hi, I'm currently doing some testing with bluetooth to communicate between android and raspberry pi. In Android, I am using BlueTerm app as my terminal. With the help of this video (https://www.youtube.com/watch?v=GSMThZINNsc), this are the exact functions i need: sudo rfcomm listen hci0& echo "heyy...
by bomby
Mon Feb 08, 2016 2:34 pm
Forum: Troubleshooting
Topic: bluetoothd sap driver issue
Replies: 19
Views: 47186

Re: bluetoothd sap driver issue

Hi, does anyone have any solution so far? How do we contact the developer about such issues or does anyone has other workarounds beside downgrading? [email protected]:/etc/bluetooth $ sudo service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.servi...

Go to advanced search