White list of BLE connections in ESP32 using arduino IDE - arduino

I am working on ESP32 in Arduino IDE to scan for BLE advertising devices. I want to only look for my known BLE devices. For these known devices I wanted to white list them. Can anyone please guide me in this?
Thanks in advance.

Related

USB connection to move a Servo Motor

I want to know how to connect a phone to an arduino via usb and then have a servo motor move once the arduino recognizes that it is a phone. I'm very very new to arduino but I think it is an arduino uno.
We haven't tried anything yet because we don't know if out school has the proper hardware. Any guidance would be greatly appreciated.
There isn't a way for the Arduino to just "know" what it's connected to. The USB connection is handled with the USB to TTL converter on the board and thats what the computer sees. The rest of the Arduino board is simply rxing or txing serial data if there is any and there wont be unless you send something. You would have to send some serial data from the phone using an app to identify the phone.
If you give more detail, then maybe we can figure out some other way to solve the problem.

arduino cant turn on the infra red sensor from raspberry pi

so recently make iot smart remote, so I want to turn on the ir trasnmiter in arduino when I push turn on from my web service , can anyoone tell me how to make it happen thank you or can anyone suggest where can learn about that
To solve this problem and not over-engineer it you should only use an Arduino, and ESP32 or other ESP versions. It's cheap and easy to use. By the way ESP32 is what the majority IoT-manufacturers use in there electronics. There are plenty of ESP32, ESP14, ESP8266 boards, small ones, big ones, ones with cameras and display and with or without Bluetooth, BLE and Wifi.
ESP14
ESP8266
Here is a good tutorial for setting up an WebServer on ESP32.
Just replace the blink led part in the tutorial with your transmitting the IR-signal code and you good to go.

Create the Pairing limitation on HC-05 sensor

I have been trying to set the limit of pairing the Bluetooth device HC-05(interface by Arduino controller) with my smartphone.
I have tried making this solution work with AT command
AT+INQM=<Param>,<Param2>,<Param3>
Example: AT+INQM=1,9,48\r\n
But instead of converting AT commands using serial.h with embedded C, I am looking for any dedicated library which helps to work this kind solution in using Arduino.
Basically, with the help of Bluetooth device connect to Arduino Nano, I want to send the altimeter sensor data to my smartphone.
During the connection, HC-05 should be responding any one device at a time, if another smartphone tries to pair then the error will be shown.
Please share your advice on this.
Yes there are some libraries in arduino but these are only meant for connection and pairing and low energy connections. We don't have any dedicated library from where we can control the mode of operation of HC05 or any bluetooth module. like bypassing or accessing GAP and GATT services of bluetooth. However there is a way to flash HC-05. But we can only use it for updating the firmware of this device. This github repo is dedicated for this purpose . Hope it helps you

Arduino multiple serial/hid output

Hello has anyone found a way to use an Arduino as a serial device and hid device at the same time?
I thought of a few solutions but didn't know the best way to go about it.
my goal is I need a serial device so the computer can send info to the Arduino but I also need an hid device.
can I use them both though 1 USB port? probably not
or
can I rig up another usb or serial port on the Arduino and use that as hid?
or
should I connect the Arduino to a teensy and use that for hid?
Thank you just trying to find the safest solution I'm making a custom fixture for my little laser engraver.
I recommend getting an Arduino Leonardo, Arduino Micro, an A-Star 32U4, or any other Arduino-compatible ATmega32U4 board. These devices act as a USB serial port but they can also be an HID at the same time if you use the Keyboard or Mouse libraries that comes with the Arduino IDE.

arduino wifi with cylon.js or johnny5.js

Do you know if is possibile to implement a wifi connection through Arduino one wifi modules using one of these javascript firmata (Cylon or Johnny5)?
Reading the guidelines of these frameworks I didn't find any information about this.
Thanks a lot.
I haven't tried it, but here is a write-up for using Johnny-Five with the ESP8266.
You can also use Johnny-Five with wireless devices like the Particle Photon/Core, Raspberry Pi, Galileo, Edison, Electric Imp, Tessel2 etc

Resources