• Fri, 29 Jun 2018 02:58:58 +0000: Edge Server Developers • Re: Updating Spring Framework - Rifidi Community Forums
    There is a slight problem with updating spring framework -- Spring stopped supporting OSGI and dropped support for the "org.springframework.osgi.*" plugins after 3.2.5. While adding OSGI metadata to the spring plugins is possible, the Springframework OSGI plugins were never updated with the rest of spring. Currently I'm working on modernization of our tools and build system, and included in that (along with many other things) will be upgrading Spring and dropping the need for the Springframework OSGI bundles.

    Statistics: Posted by Matt — Thu Jun 28, 2018 10:58 pm


  • Fri, 29 Jun 2018 02:21:43 +0000: Edge Server Developers • Re: Not able to get the RSSI Monitoring Service to work in Rifidi Version 3.7.0 - Rifidi Community Forums
    Just tried, and it worked for me. Here is what my _start() looks like in my test application (I hacked up the "HelloWorld" application to test this):

    CODE:

    /* * (non-Javadoc) *  * @see org.rifidi.edge.api.AbstractRifidiApp#_start() */@Overridepublic void _start() {super._start();HelloWorldSubscriber sub = new HelloWorldSubscriber();this.subscriberList = new LinkedList<RSSIReadZoneSubscriber>();this.subscriberList.add(sub);HashMap<String,ReadZone> readzones = new HashMap<String,ReadZone>();readzones.put("LLRP_1", new ReadZone("LLRP_1"));readzones.put("LLRP_2", new ReadZone("LLRP_2"));readzones.put("LLRP_3", new ReadZone("LLRP_3"));readzones.put("LLRP_4", new ReadZone("LLRP_4"));readzones.put("Alien_1", new ReadZone("Alien_1"));readzones.put("Alien_2", new ReadZone("Alien_2"));readzones.put("Alien_3", new ReadZone("Alien_3"));this.rssiMonitoringService.subscribe(sub, readzones, 4.0f, TimeUnit.SECONDS, 3, 2.0d, 0.0d, true);}
    I'd do a 'currenttags' on the readers you are using to make sure you are seeing positive values on RSSI, and I would try out those values in the "subscribe" method.
    org.rifidi.app.helloworld.7z

    Statistics: Posted by Matt — Thu Jun 28, 2018 10:21 pm


  • Wed, 20 Jun 2018 13:44:25 +0000: Edge Server Developers • Re: Not able to get the RSSI Monitoring Service to work in Rifidi Version 3.7.0 - Rifidi Community Forums
    Our team tried out the new jar file, but the events for RSSI did not fire.

    Statistics: Posted by RS123 — Wed Jun 20, 2018 9:44 am


  • Thu, 14 Jun 2018 20:24:28 +0000: Edge Server Developers • Updating Spring Framework - Rifidi Community Forums
    Would updating Spring Framework to the newer version be risky and break the edge server? Are there plans to upddate the Spring Framework?
    I have some code for a custom Rifidi app, but it uses Spring Framework 4.3.7.

    Statistics: Posted by RS123 — Thu Jun 14, 2018 4:24 pm


  • Tue, 05 Jun 2018 05:08:26 +0000: Edge Server Developers • Re: Not able to get the RSSI Monitoring Service to work in Rifidi Version 3.7.0 - Rifidi Community Forums
    RS123 wrote:
    Thu May 31, 2018 9:53 am
    Hi Matt, were you able to look into the RSSI Monitoring Service concerning the issues I ran into back in early April?
    Hi RS123,

    Sorry about not getting back to you sooner -- setting up an environment to test the RSSI service is time consuming, and I ended up pulled in to some other things before I could finish. I do think I solved the issue, though.

    One problem was that the LLRP values were getting converted to a string before they were added to the extrainformation hashmap. While this was fine if you just wanted to read the value at the other end, it turns out that esper will not do any math on any values fed into it in that way.

    The other issue was the fact that the RSSI service does not work with negative numbers, as speculated in this thread. I don't know why they don't work -- eyeballing the esper I don't see why the operations used wouldn't work just as well on negative values as positive ones, but the easy fix was to simply add an offset to every RSSI value.

    LLRP RSSI values can be -128 to 127, so I simply added 128 to the RSSI to make every possible value positive. If you want the "true" RSSI value on the subscriber end, you can simply subtract the value (stored in

    CODE:

    LLRPConstants.RSSI_OFFSET
    ).

    Test jar is attached -- just drop it in and overwrite your current jar.
    org.rifidi.edge.adapter.llrp_2.4.5.jar.7z

    Statistics: Posted by Matt — Tue Jun 05, 2018 1:08 am