Comments (3)
Please specify characteristic name or # for writing.
What am I forgetting?
from bleconsole.
Hmm, you're really confused me 😒; I've assumed so far that BLEConsole commands/UI are pretty clear (btw, nobody asked that question before).
You can use BT name or # provided by list command. For example, run BLEConsole, type ls and it should list available BT devices, like
BLE: ls
#00: F2
#01: TOZO-S2
Than use command open #1 or open TOZO-S2 (you can also use partial name, like TOZ if no more BLE devices with tat name exist), you'll get an output like
BLE: open #1
Connecting to TOZO-S2.
Found 3 services:
#00: GenericAccess
#01: GenericAttribute
#02: 2800
Now you can set active service and list characteristics, by issuing command set #0
BLE: set #0
Selected service GenericAccess.
#00: DeviceName RW
#01: Appearance R
#02: PeripheralPreferredConnectionParameters R
#03: 10918 R
Now you can read characteristic by # or name, like read #0
BLE: read #0
TOZO-S2
If you already knew your service name/#, you can avoid previous step and read characteristic after successful connection to BLE device, like read #1/#0
from bleconsole.
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
- Support Request: Is there any way to detect errors or retry? HOT 2
- Unsubscribe of notifications does not work HOT 3
- Feature Request: Connect to device via bluetooth address HOT 2
- 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.