Comments (4)
Hi,
I am glad you find my project useful!
Maybe your app is caching the old name?
You can set a device name programmatically using:
esp_ble_gap_set_device_name(const char *name);
from esp32_ble_ota.
I am calling ble_svc_gap_device_name_set() as you do in your project since the ble stack is Nimble. The api you mention seems to be the one for the bluedroid stack which does not seem available when NimBLE is selected in menuconfig.
from esp32_ble_ota.
Right, my bad.
Did you check if it is a problem with your BLE scanner?
from esp32_ble_ota.
good catch, I installed a BLE scanner on another device and the correct name is displayed. So there is very likely some caching going on with my dev machine since I initially tested with "esp32" as name. I will need to figure out how to clean the BLE cache on that machine.
Thanks!
from esp32_ble_ota.
Related Issues (6)
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 esp32_ble_ota.