Comments (11)
Library available at ArduinoIDE as vovagorodok_ArduinoBleOTA.
And at PlatformIO as:
build_flags =
-D USE_NIM_BLE_ARDUINO_LIB
lib_deps =
vovagorodok/ArduinoBleOTA@^1.0.0
from arduinobleota.
Here is small doc about security: https://github.com/vovagorodok/ArduinoBleOTA/blob/main/doc/SECURITY.md
From doc You can see that there are two options to provide a security by disabling/enabling uploads (using button/switch for example) or set a pin code. See:
from arduinobleota.
Examples of secutity:
Disable upload: https://github.com/vovagorodok/ArduinoBleOTA/blob/main/examples/security_disable_upload/security_disable_upload.ino
Pin code: https://github.com/vovagorodok/ArduinoBleOTA/blob/main/examples/security_pin_code/security_pin_code.ino
from arduinobleota.
when i try to connect ble device from app it asked for pin
from arduinobleota.
because You set pin code before
from arduinobleota.
because You set pin code before
by security.setpin(12345) ???
without this code also it ask for pin and pin 12345 also not work
from arduinobleota.
As I remember Nim-Ble stack requires exact 6 digits pin. Try 123450 or 012345
Proposed to use ble_ota_app to change pin. It provides interface with 6 only digits pin code
from arduinobleota.
Renamed a bit from pin
to pin code
from arduinobleota.
how to run these examples on arduino ide is there any possibility to make them compatible with arduino ide
from arduinobleota.
I'm PlatformIO user, for me easier to just add to my project:
build_flags =
-D USE_NIM_BLE_ARDUINO_LIB
lib_deps =
https://github.com/vovagorodok/ArduinoBleOTA
I have plans to add this library to PlatformIO Hub and prepare it to work in Arduino IDE.
But for this moment there is one small issue that should be solved with non NimBle part of this library.
I hope this month I'll done all of that
from arduinobleota.
Created issue in order to remember about it: #37
from arduinobleota.
Related Issues (20)
- uploader.py/sh info HOT 13
- Help w platformio build problem w OTA HOT 15
- Uploader doesn't see service HOT 25
- Create uploader.py based on bleak HOT 1
- Precised MTU/ATTR sizes HOT 5
- Remove advertising functionality from begin methods HOT 4
- dbus Module not found while using `uploader.py` HOT 3
- need help HOT 2
- send begin, write is not permitted error HOT 2
- enable/disable upload feature understanding HOT 2
- upload App says is wrote data, device counts don't match HOT 2
- which crc lib? HOT 5
- Support STM32 HOT 1
- Add script for automatic examples bin generation
- Make as Arduino IDE library HOT 2
- Library ArduinoBleOTA on Arduino Nano 33 BLE with MBED HOT 1
- Example of combining this with lets say a BLE Serial application HOT 2
- Consider to use DIS service
- **Attention!** Add manufacture characteristic and regenerate uuids
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduinobleota.