Comments (2)
@UCSIG, I'm very busy these times with daily job and new, exciting homebrew project. So, be my guest, add changes and issue a PR - I'll be glad to merge (technically it's really simple).
from bleconsole.
Okay, I'll give it a try in the coming days!
What do you think could be the best way to distinguish a ble device name from a ble address using the open
command?
To distinguish between a ble device name and the position in the discovered devices list a '#' character is used.
One way could be to just check whether the ':' is found at the right indices in the string, it should be at index [2, 5, 8, 11, 14], using the format xx:xx:xx:xx:xx:xx
and to check that the string contains only valid hex characters 0-9 and A-F.
What do you think?
from bleconsole.
Related Issues (20)
- Issues in working with services when Device name is used to open HOT 7
- Finding specific devices HOT 1
- BLE Console crashes while performing the subs command HOT 8
- Sending Char(acters) HOT 1
- Mi Band 4 HOT 12
- escape char on write? HOT 2
- little bug in prompt? HOT 1
- I want to get the battery information HOT 3
- direct use BLEConsole in cmd HOT 1
- BLE Console HOT 3
- Support Request: Is there any way to detect errors or retry? HOT 2
- Unsubscribe of notifications does not work HOT 3
- Latest build? HOT 1
- [Feature-Idea] Device info dump
- [Feature-Idea] Advertisement collecting HOT 2
- Unsubscribe does not work correctly HOT 1
- Read characteristic from BLE tinyshield HOT 1
- Support BLE authentication HOT 2
- Why would ls get a device that no longer exists? HOT 1
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 bleconsole.