ChannelId -1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- embedded-iot
Research direction
Start with the failing call in node_modules/node-bluetooth/index.js at line 18 and the example call in script.js at line 17. Check how the channel value is supplied and verify the Bluetooth device and channel details; done means the example connects without the ChannelID error.
Written by the indexing model from the issue text.
Description
Hello there,
Whenever i try to run the example, this error comes up:
/home/pi/node-bluetooth/node_modules/node-bluetooth/index.js:18
const port = new BTSerialPortBinding(address, channel, function (err) {
^
TypeError: ChannelID should be a positive int value.
at Function.connect (/home/pi/node-bluetooth/node_modules/node-bluetooth/index.js:18:18)
at /home/pi/node-bluetooth/script.js:17:15
How can i solve this?
Greetings,
Bart
- Dominant language
- C++
- Stars
- 205
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lsongdev/node-bluetooth
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
lsongdev/node-bluetooth#61 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
lsongdev/node-bluetooth#60 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
lsongdev/node-bluetooth#57 · 1 comment · 2 reactions ·
-
Maintenance status? Open
Difficulty 1/5 Under an hour Newbie friendliness 10/100
lsongdev/node-bluetooth#55 · 8 comments ·
-
Battery status? Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
lsongdev/node-bluetooth#54 · 1 comment ·
All issues in lsongdev/node-bluetooth
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google/libultrahdr#485 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
godotengine/godot#123776 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 60/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ros2/common_interfaces#344 ·