nordicid / ar8x_samples Goto Github PK
View Code? Open in Web Editor NEWExample applications for ar8x with installation packages
License: MIT License
Example applications for ar8x with installation packages
License: MIT License
I can not manage to create the java app using this example. As soon as I compile the app under Windows the app fails to start. I tried java 11 and java 8
JavaMQTTSample@SampoS2K190600757:~$ ./run start
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
When I use the original zip folder, the app runs fine. Just a mere compilation without changing the source code makes it fail to start.
What version of javac exactly do I need to make this run?
Edit: Even trying to run java from the app fails.
JavaMQTTSample@SampoS2K190600757:$ java/bin/java$ java/jre/bin/java
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
JavaMQTTSample@SampoS2K190600757:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Hi,
I've been tasked with some research about NUR SDK and AR85 and because of that I've been reading documentation and trying out different examples. When I was trying to sign a folder directly from this repository, as shown in the docs and batch scripts, I got an System.UnauthorizedAccessException
. I tried different things, but finally I decided to look into the source code of the ar_signtool_cli
. A quick debugging session showed that the culprit is the line
Directory
. It happens that i've cloned the repository into a compressed folder (builtin Windows compression). As such, the SignFolder
method was never called, only the SignZipFile
, which of course threw exception, as (I assume) it expects a single Zip file.if (inputFi.Attributes.HasFlag(FileAttributes.Directory))
I would make a PR, but I cannot test if compression or this change cause problems, as I don't have the necessary hardware yet. Sorry.
I am running NodeJS sample application in Nordic ID web interface, but getting error when reading tags or getting invetory. Here is the error from sample error log.
Example app listening at http://:::10126
Fatal error: could not connect to localhost
Connection failed, code: 4098.
Message(4098): Transport not connected
If am using Norma LLRP sample application then it shows correcty the successful status:
Status
Last update: 09-02-19 15:17:00
Instance name: 127.0.0.1:4053
Reader active: true
Client connection status: Listening client at port 4053
Reader connection status: Connected
Last reader error: No errors
Last LLRP error: No errors
Web inteface -> services -> nur service: internal reader runs on 192.168.0.13:4053. RFID reader is configured(with RFID configurator) to use my home wifi.
I see in the nodeJs sample that some nurconrpi program is used to execute commands to get invetory. Probably this error come from there. My main purpose of this is to read RFID tags over the API, but currently the API(node sample) is broken or my network configuration is wrong. Can anyone give some hint what to explore next?
As I was trying to run some of the sample applications, I ran into an issue with 6. LLRP_sample.
In WcfInterface.cs file, there are two methods share the same UriTemplate and Method.
[OperationContract, WebInvoke(Method = WebRequestMethods.Http.Post,
UriTemplate = "/GetDeviceSetup",
RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)
]
DeviceStatusObject GetDeviceSetup(string deviceId);
[OperationContract, WebInvoke(Method = WebRequestMethods.Http.Post,
UriTemplate = "/GetDeviceSetup",
RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
NormaStatus GetDeviceStatus(string deviceId);
I believe the second method should be /GetDeviceStatus
.
This results in runtime error below:
Error Message [In contract 'WcfInterface', there are multiple operations with Method 'POST' and a UriTemplate that is equivalent to '/GetDeviceSetup'. Each operation requires a unique combin ation of UriTemplate and Method to unambiguously dispatch messages. Use WebGetAttribute or WebI nvokeAttribute to alter the UriTemplate and Method values of an operation.]
Hello,
I am building an app for AR82 reader and I would like to change the default certificat for HTTPS in nginx configuration.
Thanks
Hello! I managed to deploy and run the ASP.NET Core 3 application, but failed to connect the NurApi library.
Could you create an example.
Is it possible to read antenna info in readTagByEpc request: https://github.com/NordicID/ar8x_samples/blob/master/4.Node.JS_sample/zipcontents/bin/server.js#L35
What kind of values should be pass to request for parameters epc, bank, wordAddress and readByteCount? Or is there any other development needed to achieve it? I used some custom package(https://github.com/GeenenTijd/llrp-nodejs) and Norma(https://github.com/NordicID/ar8x_samples/tree/master/6.LLRP_sample) before and i got all information i needed but the llrp-nodejs package is not very reliable for bigger chunk of data so i gave up this.
I am appreiciated for any help!
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.