You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement the feature by myself. But before starting coding on the project I'd like to understand completely how that device works. Firstly, I've written a Java code to read the data sent by the server using Sockets. That approach is not working fine.
public void printRawValue(InputStream inputStream) throws IOException {
int byteValue;
while ((byteValue = inputStream.read()) != -1) {
System.out.printf("%02X ", byteValue); // Format as hex string with 2 digits
}
System.out.println(); // Add a newline after printing all bytes
}
That output doesn't like what I've seen on the Reporting Guide documentation. Yes, the message should be a Report.
Also, I don't know whether the Data is on Zip or String format. The documentation says:
(Sorry for the print)
Clearly, the result I've seen isn't related to the documentation. What I'd like to ask is either help to fix my code so that I could work to onboard the device or someone else onboard that device.
I am trying to implement the feature by myself. But before starting coding on the project I'd like to understand completely how that device works. Firstly, I've written a Java code to read the data sent by the server using Sockets. That approach is not working fine.
The output from the above code is:
That output doesn't like what I've seen on the Reporting Guide documentation. Yes, the message should be a Report.
![Screen Shot 2024-03-12 at 23 04 08](https://private-user-images.githubusercontent.com/163075499/312285307-dc4afa79-a153-4320-9dc7-69838ba4e6f3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0MjMyMDQsIm5iZiI6MTcyMDQyMjkwNCwicGF0aCI6Ii8xNjMwNzU0OTkvMzEyMjg1MzA3LWRjNGFmYTc5LWExNTMtNDMyMC05ZGM3LTY5ODM4YmE0ZTZmMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOFQwNzE1MDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MDExNzgyMjkwYWI5OWE4ODZmNWM2MTllNjljNjVmMTk3MzRjNWZjZmUzNjQxMTBiYWEzZmUwZjQ2NTI5OWZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.8uzfvJkKXsz-F4VMYxwsSU9O-L7WYNdagram6rHd8a4)
Also, I don't know whether the Data is on Zip or String format. The documentation says:
(Sorry for the print)
Clearly, the result I've seen isn't related to the documentation. What I'd like to ask is either help to fix my code so that I could work to onboard the device or someone else onboard that device.
Please, find the documentation I am seeing attached:
Universal_Reporting_Guide_1.102(LATAM)[982].pdf
The text was updated successfully, but these errors were encountered: