How to connect esp32 and esp8266 with redis database as client - redis

i am trying to run redis server database on RPi3 M-B and want to connect esp12N (esp8266 based) and esp32 with the database as client.
Also suggest me if any other database other than redis which is supported in both raspberry pi as well as esp32/ esp8266.
Thanks in advance...

There's a redis library for the ESP8266 using the Arduino SDK available at https://github.com/remicaumette/esp8266-redis
You can find libraries like this very easily by searching Google for things like "redis library esp8266". You can also find it by searching the Library Manager in the Arduino SDK, or searching Platformio's libraries.

Related

Using react-native-ble-plx to send data to a raspberry pi RFCOMM server

My goal is to setup my Raspberry Pi 4 to be able to run scripts when a button is clicked in an app I am making with React Native. I need to be able to do it so that they can connect without wifi, which is why I have decided to use Bluetooth.
So far I have an RFCOMM server set up on the Pi, and have installed the react-native-ble-plx module to be able to handle bluetooth communications, but I'm not sure how to get React Native to connect to this server.
I'd really appreciate it if anyone can tell me how to connect them and send data to the Pi to get it to run terminal commands, and return the result.
There are two types of Bluetooth that are not compatible with each other. RFCOMM and BLE will not work together.
On the Raspberry Pi you need to create a GATT server. RPi uses the BlueZ stack and they have an example in their source tree:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/example-gatt-server
You will also need to have an advertisement so that your phone can find the gatt server. There is also an example of that: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/example-advertisement
Another suggestion is not to try and develop both ends of the Bluetooth link at the same time as that is tricky. Use a generic BLE tool to check you have the server working correctly before you develop the react app.

How do I access a GPS from Windows IoT on Rasperry Pi?

I have done this when running Debian using gpsd. But when running Windows IoT preview...what is a way to get the NMEA sentences off an attached GPS (on the USB port). Is that kind of support around yet?
Currently this support is not yet available but it is being actively developed. Furthermore the Geolocator API is broken. Unfortunately I don't have an ETA for this but its coming.
Mark Radbourne (MSFT)

Secure Arduino over internet

I am trying to create a system for controlling my home appliances using arduino over internet.
Arduino Uno will act as a web server and recieve the commands from remote browser.
In doing to I am not sure as how to protect arduino from unauthorized requests from web.
Is there a way to do this, or is there any library available for this. Please suggest.
What i suggest you is to do what a lot of people does, so: use a raspberry (or a beaglebone or another linux embedded board) for the web interface and the arduino for the sensors/actuators.
This way you can install a real webserver, with a lot more functionalities than the bare arduino. You can then interface the webpages to the serial port to send the arduino the commands

Is there a way to securely transmit data from Windows Mobile 6.5 over the Internet?

I have an application in C++ that needs to transmit data securely via web services to our web server.
VPN was the first choice, but out network administrator informs us that we will not support the IPSEC protocols available on Windows Mobile.
Currently we have tried implementing a SSL connection, but found we don't have the libraries for that.
Alternatively, we have been trying PocketPutty to create a SSH tunnel, but that only has a GUI interface, and we're not sure how to get that to work via programming code.
Thank you
OpenSSL supports Windows CE.
SSL 2.0 has been supported since at least CE 5.0.
SecureBlackBox is also supported.

creating mobile streaming server (3gp)

I need an Open Source solution & tutorial for creating mobile streaming server that can stream video on 3gp (3gpp) format, i have tried using Helix DNA Server, but it's free version only allow real media not 3gp.
I have heard about DSS (Darwin Streaming Server) but i can't found any Windows binaries (compiled exe) for that, and Catra Streaming server package only confused me more since i can't found any file required for Catra (setting, etc are missing on their package).
PS: Actually i need some sort of guide for setting DSS or Catra on Windows (especially Server 2003)
You may want to try VLC http://www.videolan.org/vlc/
I can't vouch for the streaming server, but the player works well, and 3gp is supported.
But this isn't a programming question.
DSS Windows binaries are here:
http://dss.macosforge.org/post/previous-releases/
If you're target mobile devices support flash you can stream 3gp from Red5. If they don't support flash, but they do allow HTML5 you could still use Red5 or pretty much any Java EE container server.