i don't know if possible but i want to configure smart tv LG to be a wifi access point. for i can connect to this access point by the smartphone.
for exemple i want when I cast on TV by a smartphone I have to connect the latter on the access point offer by the TV in order to avoid any smartphne of to cast on the TV.
it's a mechanism that I follow to put the cast between the TV and the smartphone more secure.
if you have other ideas that allows the cast more secure I will be happy
thank you in advance
It is very simple; we need to access the Setting ---> general ----->SoftAp and put it ON
then the access point will activate, and will be displayed password and the SSID of the access point
Related
I have to write a BLE application on an embedded device and there are some features where I'm not sure if BLE supports that or whether I've to create some wrapper around everything or if it's maybe not possible at all. The gerenal descriptions of Bluetooth and BLE I found around the internet usually only cover the overall functionality but don't go in too much detail. If this post gets too complex I'll split it up into different smaller ones.
I use the STM32 BlueNRG-MS chip
1. Discoverability (resolved)
The user has to be able to disable the BLE function in case there are several devices in reach. I see that there are functions aci_gap_set_discoverable() or aci_gap_set_non_discoverable() but altough I set it to not discoverable I can still see it in the LightBlue App on my mobile. How would I correctly disable the BLE functionality of a device to make sure no one can see it or connect to it?
Update: Okay that has been a mistake from my end, if I call the aci_gap_set_non_discoverable() function it is actually undiscoverable. So that's fine.
2. Only accept connections of paired devices
I'd like to achieve a behavior such that, if you have an unpaired phone you have to set the BLE device into a pairing mode in order to connect. If the phone has already been paired, the BLE device shall accept the connection request regardless of whether it's currently in pairing mode or not. Is this what the whitelist should be there for or do I have to do this manually by saving the address of the device after successful pairing? If whitelist is the right approach, I read that newer phones cause issues with whitelisting because they change their address on a regular basis, how can I handle this? That's actually where I thought I'm gonna work with the "discoverability".
3. Automatically reconnect
I'm not sure if this topic has to be handled on the BLE device or on the mobile phone. E.g. my phone is paired with my car's radio, so whenever the phone is in the car it automatically connects - how is this done? It's still the phone that acts as central device I assume?
I'm doing simple home security Iot project in which I want to connect esp32 camera module CamWebServer example to firebase Database, and then connect to Android app. Or at least I want to give a link in the app.
I want to give it a remote access. Plus I don't want esp32 cam to depend on home Wi-Fi, I want to depend it on Hotspot module(Is there any type of module available? If it is then please tell me), So it can have it's own internet like mobile has mobile data.
For example if intruder breaks electricity of home, esp32 cam still be accessed.
Can I do that?
Any type of help is welcomed!!
Thanks for the help!
I'm developing web based game based on Wemos d1 Mini, and for users to enter their wifi address so that it connect to WiFi, I have to provide the arduino sketch.
To avoid cheating, is there way to disable section of code to be edited or lock some variables so that it cannot be changed in arduino IDE?
Thanks in advance.
No, but you can provide other means of entering configuration data.
ESP can emulate EPROM, or you can read from Serial/LittleFS/SPIFFS before you establish a WiFi connection.
If the user has access to your source code, there's no "cheating", that's improving your code. :)
There are many ways to not have your user edit the sketch to enter WIFI credentials.
To name the most obvious
have them entered via serial interface
have them provided via a file on a SD card for example
have them entered using some kind of user interface
use WPS
about the anti-cheat stuff I suggest you do some further research how things can be approached. this cannot be answered given the provided information
You start by creating an access point with set SSID/password users should receive from you and you also create a web server to accept user's credentials for their WiFi network. You can do that using a GET string or create a page with fields.
Once credentials entered by the user you store it in flash or EEPROM or whatever facilities exists, and you reboot the device.
When device starts it checks the credentials and tries to connect, if it fails you go back to the access point and web server stage.
Every communication that is made without cable, everybody can listen but not everybody can understand. So, when I call someone with my phone, or send a sms my cellp phone send information, I want that my pc know this (I know that both have to the same frequency). Or some site or material to start with it. I have an android.
It's like make a operator communication, just that is my cell phone with my pc and not my cell phone with the operator
Please have a look at OpenBTS. It is an (experimental) open source implementation of a BTS (base transceiver station), the network node that handles the radio communication. Similar OpenBSC.
What you want to do is huge. You will need special hardware.
I have a client that would like a small PIC board that plugs into a PC's USB as a dongle in HID mode. It would basically just transfer small amounts of data over RF to another device across the room.
They would like the data to come from the web. ie. user clicks a link in their browser which wakes up the PIC board and begins a download to the PIC device without the need for another application to visibly popup in front of the user.
I would think this can't be done without the setting up the browser preferences and assigning a custom application to recognize the data file. The security issues with a link initiating this kind of flow of events must be too great unless I'm missing something.
Has anyone done something like what I described above?
You could write a small piece of software that runs in the background on the PC (e.g. a Windows service), and:
Interfaces to the PIC device via USB
Provides a web interface on port 80 or probably some other port, which the browser can then connect to.
If the PIC device is network connected (e.g. has an Ethernet connection, and its own IP address on the network) then the PIC device could provide a web interface to control it. I don't know how feasible it is to fit a small web server onto a PIC though--that would be a tight fit.
Yeah that sequence of events doesn't seem too kosher. Perhaps a browser plugin or a program running on the PC that handles communication between the PIC and web would be better?