Comments (4)
Okay, 0088 would explain this error message.
I'll switch the flag to a string (it makes more sense anyway)... Thanks for the report!
from samtv.
I cannot reproduce with "0077" but, indeed, the logic is buggy when the PIN code starts with a 0 (and... the flag library seems to parse the number as an octal value, so 0123 would be converted to 83, and "0876" can't be parsed).
I've never had a PIN code starting with a 0 on my Samsung (and I've tried without success), did you really get "0077"?
(I still don't understand why 0077 would trigger this error message.)
from samtv.
i got a few with leading zeros. i remember got 0088. not sure about 0077. but my tv showed every second or third pairing attempt a pin with leading zeros. resulting in this error everytime.
found this in my windows shell:
.\samtvcli.exe pair --pin 0091
Error: invalid argument "0091" for "--pin" flag: strconv.ParseInt: parsing "0091": invalid syntax
i then switched to linux, hoping its just a windows issue. but had same issues.
from samtv.
Thank you :)
from samtv.
Related Issues (14)
- Compilation Raspberry HOT 9
- Where can we find the RemoteControl plugin apis syntax details? HOT 1
- Question for porting this
- How to set the log level to debug?
- Could not parse message: cannot parse encrypted response
- no httptrace package HOT 1
- Unable to PowerOff on PowerOn the device HOT 2
- Thank you for creating samtv! HOT 3
- Option to set volume level
- Option to set volume level needed HOT 1
- Pairing works but cant send any keys HOT 2
- Have to pair again after a while HOT 2
- Support for UE32J5200AWXXN HOT 3
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 samtv.