nordicid / nur_sample_java Goto Github PK
View Code? Open in Web Editor NEWNUR java samples
License: MIT License
NUR java samples
License: MIT License
Hi,
Using GPIO input works well but we are enable to modify output state.
setGPIOStatus(1, true);
respond
error NUR API error 5: Invalid command parameter(s); Invalid function parameter(s).
Could you give us usage example with Java API.
And tap sensor events are notified as ID 0 as the GPIO input 0. Is it normal ?
Thanks
Hello,
I'm testing with a Sampo S1 (usb + ethernet) connected with the ethernet cable directly to my mac.
If I run ./run_sample.sh samples/02_InventoryStream/, when the connection with the reader is closed I see the following exception
java.net.SocketException: Socket closed at java.base/sun.nio.ch.NioSocketImpl.ensureOpenAndConnected(NioSocketImpl.java:165) at java.base/sun.nio.ch.NioSocketImpl.beginWrite(NioSocketImpl.java:366) at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:411) at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440) at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:826) at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1035) at com.nordicid.nurapi.NurApiSocketTransport.writeData(NurApiSocketTransport.java:206) at com.nordicid.nurapi.NurPacket.write(NurPacket.java:161) at com.nordicid.nurapi.NurApi.writeThread(NurApi.java:3099) at com.nordicid.nurapi.NurApi.access$1100(NurApi.java:29) at com.nordicid.nurapi.NurApi$9.run(NurApi.java:3060) at java.base/java.lang.Thread.run(Thread.java:833)
followed by this line
Log[2]: 1680650742807 exchangeCommand() 14; write failure
Trying to debug I can avoid the exception working on the writeData() method of the NurApiSocketTransport, but I still see the line "Log[2] ....".
What is the reason of this line?
Hi,
When does this error "connFailedAt 3" exactly occurrs?
Greetings,
Robert
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.