esitarski / pyllrp

Python library to access all features of RFID Reader LLRP (Low Level Reader Protocol).
MIT License
14 stars 5 forks source link

Not getting tag number from multiple antenna #2

Closed ChothaniJay closed 2 years ago

ChothaniJay commented 2 years ago

Good Day,

We have try to connect and modified your code to working for multiple antenna but it's didn't working and I have to required to get data from multiple antenna at same time also.

For one antenna it's absolutely fine.

Request to you please do need full.

esitarski commented 2 years ago

A number of CrossMgr applications use pyllrp and there are no problems reading from multiple antennas.

Can you do a print() of your ROSpec and cut-and-paste it into the report?

Also, have you looked at TagInventory.py in pyllrp, specifically the GetROSpec function? To read from all antennas at once, you pass [0] for the AntennaIDs in the AISpec_Parameter.

On Mon, Jan 17, 2022 at 6:24 PM ChothaniJay @.***> wrote:

Good Day,

We have try to connect and modified your code to working for multiple antenna but it's didn't working and I have to required to get data from multiple antenna at same time also.

For one antenna it's absolutely fine.

Request to you please do need full.

— Reply to this email directly, view it on GitHub https://github.com/esitarski/pyllrp/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABGXKK6STLM4EX6FXGWFCLUWSQMPANCNFSM5MFYZUBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Edward Sitarski

esitarski commented 2 years ago

There is also a simple working application here https://github.com/esitarski/CrossMgr/tree/master/TagReadWrite that works with all antennas.

On Wed, Jan 19, 2022 at 11:14 AM Edward Sitarski @.***> wrote:

A number of CrossMgr applications use pyllrp and there are no problems reading from multiple antennas.

Can you do a print() of your ROSpec and cut-and-paste it into the report?

Also, have you looked at TagInventory.py in pyllrp, specifically the GetROSpec function? To read from all antennas at once, you pass [0] for the AntennaIDs in the AISpec_Parameter.

On Mon, Jan 17, 2022 at 6:24 PM ChothaniJay @.***> wrote:

Good Day,

We have try to connect and modified your code to working for multiple antenna but it's didn't working and I have to required to get data from multiple antenna at same time also.

For one antenna it's absolutely fine.

Request to you please do need full.

— Reply to this email directly, view it on GitHub https://github.com/esitarski/pyllrp/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABGXKK6STLM4EX6FXGWFCLUWSQMPANCNFSM5MFYZUBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Edward Sitarski

--

Edward Sitarski

ChothaniJay commented 2 years ago

We have try as you suggested above but it's not working for us. Actually we are using Motorola FX9600 reader and it's working based on impinj and GS1 gen 2 Protocol. We have try sllurp Repo code "https://github.com/ransford/sllurp" for reader as client then we got successfully tag number from multiple antenna.

Now we connecting llrp as server mode and try to get data from multiple antenna but it's not working from our end.

Awaiting for positive response.

esitarski commented 2 years ago

Please print out your ROSpec from pyllrp and post the output to your response. Without that I can't really help you.

On Thu, Jan 20, 2022 at 8:48 AM ChothaniJay @.***> wrote:

We have try as you suggested above but it's not working for us. Actually we are using Motorola FX9600 reader and it's working based on impinj and GS1 gen 2 Protocol. We have try sllurp Repo code " https://github.com/ransford/sllurp" for reader as client then we got successfully tag number from multiple antenna.

Now we connecting llrp as server mode and try to get data from multiple antenna but it's not working from our end.

Awaiting for positive response.

— Reply to this email directly, view it on GitHub https://github.com/esitarski/pyllrp/issues/2#issuecomment-1017521423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABGXKIFAGGOH6ZOQHTLFSLUXAHEPANCNFSM5MFYZUBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

--

Edward Sitarski

ChothaniJay commented 2 years ago

Thanks for put your interest.

please find attached ROSPEC Screen shot and request to do need full.

ROSPEC1 ROSPEC2 ROSPEC3 ROSPEC4 ROSPEC5

ChothaniJay commented 2 years ago

In above comment I have put all output including ROSPEC of pyllrp.

Request to you please look it and need full.

esitarski commented 2 years ago

I wasn't expecting your ROSpec to be a bitmap. If it was text, I could test it on my readers.

Regardless, the ROSpec looks correct, and I assume that pyllrp (which does extensive checks) nor the reader reports an error.

The AISpec in your ROSpec is the most critical. You have AntennaIDs = [0] which correctly tells the reader to use all available antennas (see exact spec below). This very similar to what I use on my Impinj readers, and it works perfectly. pyllrp has been extensively tested with Impinj (unfortunately, I can't afford to buy all the different brands of readers on the market).

I understand that you are using a Motorolla reader. We have seen minor inconsistencies in how different readers work. There is a possibility that the Motorolla is not handling AntennIDs=[0] properly.

I suggest that you try the following:

This tells the reader exactly what antennas to use in case it doesn't link AntennaIDs=[0].

If you are using the TagInventory class, you can pass antennas to its init (defaultAntennas=[1,2,3,4]) or to GetTagInventory (antennas=[1,2,3,4]) functions.

That's the best I can offer.


According to the LLRP spec https://www.gs1.org/sites/default/files/docs/epc/llrp_1_0_1-standard-20070813.pdf, is the AntennaIDs array contains [0], the AISpec should apply to all antennas.

10.2.2 AISpec Parameter This parameter defines antenna inventory operations.

Compliance Requirement: Compliant Readers and Clients SHALL implement this parameter.

AISpec Parameter AISpecStopTrigger: AntennaIDs: Short Array. If this set contains an antenna ID of zero, this AISpec will utilize all the antennas of the Reader. InventoryParameterSpecs: Custom Extension Point List: List of [Optional]

On Wed, Jan 26, 2022 at 2:03 AM Jay Chothani @.***> wrote:

In above comment I have put all output including ROSPEC of pyllrp.

Request to you please look it and need full.

— Reply to this email directly, view it on GitHub https://github.com/esitarski/pyllrp/issues/2#issuecomment-1021921825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABGXKLT7BFXF7DZACNLTP3UX6MCNANCNFSM5MFYZUBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

--

Edward Sitarski

ChothaniJay commented 2 years ago

Thanks for your support.

We have resolved that issue. Need to change in tag inventory file line 115. ​

Old line is                                                                         ​AISpecStopTriggerType​ ​=​ ​AISpecStopTriggerType​.TagObservation,

New line is

AISpecStopTriggerType​ ​=​ ​AISpecStopTriggerType​.​Null,

If you want to update the same then you can do it.