Impinj Reader - connection already exists

691 views
Skip to first unread message

stuart lynne

unread,
Jul 23, 2018, 3:26:08 PM7/23/18
to crossmgr...@googlegroups.com
Has anyone looked at hacking a simple script to reboot an Impinj Reader when it gets into the "connection already exists" state?

Was thinking a simple shell script using curl should be able to log in and select the reboot button in the configuration screen.

Assuming we have that, then CrossMgrImpinj and RaceDB could incorporate the same to convince the reader that we really do want to connect without having to power cycle it manually.

image.png


--
__________O___________
_______-\<,____________
_____(_)/_(_)___________
_________________________
Stuart_Lynne____<stuart...@gmail.com>____604-518-1749(m)__604-461-7532(h)

Mark Erzen

unread,
Jul 23, 2018, 3:31:21 PM7/23/18
to crossmgr...@googlegroups.com
Should be as simple as sending the "Reboot" command through RShell.

--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

------------------------------------------------
Mark Erzen
2637 Saint Albans Circle NW
North Canton, OH 44720
(330) 685-5270

stuart lynne

unread,
Jul 23, 2018, 9:45:19 PM7/23/18
to crossmgr...@googlegroups.com
Didn't think of rshell (have not looked at that in donkey's years...)

This works for R1000 (with appropriate substitutions for login:password and IP address of course):

curl -u root:impinj -d "rebootsubmit=submitted" -X POST "http://10.16.29.136/cgi-bin/body_config.xsl?menu=config&rebootsubmit=submitted

rkantos

unread,
Dec 13, 2019, 11:23:13 PM12/13/19
to CrossMgrSoftware
Was looking for this issue regarding my R220... I am unable to connect to my reader reader without restarting it after every reset of CrossMgrImpinj.. What I get is:

Get response fails: LLRP socket connection broken
Send Command Error=cannot unpack non-iterable bool object
Reader Initialization Failed.
Disconnecting Reader.
Attempting Reconnect in 2 seconds...


Do you think this is normal? With my Motorola FX9500, I have never run in to this kind of issue, without counting the occasional bugging out of CrossMgrImpinj, which requires restarting the program to be able to reconnect to the reader. 

Maybe a restart button for these reader models could be implemented in CrossMgrImpinj?

On Tuesday, 24 July 2018 04:45:19 UTC+3, stuart lynne wrote:
Didn't think of rshell (have not looked at that in donkey's years...)

This works for R1000 (with appropriate substitutions for login:password and IP address of course):

curl -u root:impinj -d "rebootsubmit=submitted" -X POST "http://10.16.29.136/cgi-bin/body_config.xsl?menu=config&rebootsubmit=submitted

For my R220 on Win7 & using MSYS2 i figured out a command like this

plink -batch root@speedwayr-xx-xx-xx -pw impinj reboot

On Linux/WSL something like this can probably be used (remember to first make normal ssh connection to get the RSA key):

sshpass -p impinj ssh root@speedwayr-xx-xx-xx reboot


Jonathan Rosen

unread,
Dec 13, 2019, 11:25:18 PM12/13/19
to crossmgr...@googlegroups.com
Check to see if the reader also has the impinge connect softwares running on it, that will use up the llrp socket

--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.

rkantos

unread,
Dec 13, 2019, 11:31:41 PM12/13/19
to CrossMgrSoftware
I was thinking about that too, but all I know is that the Connect software should be reachable at speedwayr-xx-xx-xx:8080, and I get nothing there. (port scan says only ports 80 & 22 are open too..) The reader is still connecting to 127.0.0.1 after a reboot, and not letting me connect with CrossMgrImpinj at all if I don't already have it running and trying to connect. hmm...
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgr...@googlegroups.com.

Jonathan Rosen

unread,
Dec 13, 2019, 11:35:26 PM12/13/19
to crossmgr...@googlegroups.com
look at the webpage for the impinge reader it will show if llrp is already active or not before you try and connect with cross manager impinj

To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crossmgrsoftware/c4009ac5-252c-4172-a0a5-4ef8423ace5b%40googlegroups.com.

rkantos

unread,
Dec 13, 2019, 11:43:32 PM12/13/19
to CrossMgrSoftware
It says:

LLRP Status Connected: 127.0.0.1
RFID Status Active

I can only connect CrossMgrImpinj if I have it running when restarting the reader. Maybe there is some other software than Speedway Connect running on the reader? I'll check somethin via the SSH.

rkantos

unread,
Dec 14, 2019, 12:01:56 AM12/14/19
to CrossMgrSoftware
I can find at least this:

 show rfid llrp > summary
Status='0,Success'
LLRPPeerIPAddress='127.0.0.1'
LLRPPeerPort='50109'
LLRPPeerTransport='TCP'
LLRPConnType='LLRP (client-initiated)'
LLRPConnTime='Dec 14, 2019 04:53:51.918'
LLRPROSpecCount='1'
LLRPROSpec101='Inactive'
LLRPAccessSpecCount='0'

 show image > summary
Status='0,Success'
UpgradeStatus='Ready'
PrimaryImageType='10'
PrimaryImageState='Active'
PrimaryImageSystemVersion='6.2.1.240'
PrimaryImageConfigVersion='255.255.255.255'
PrimaryImageCustomAppVersion='9.0.0.2'
SecondaryImageType='10'
SecondaryImageState='Active'
SecondaryImageSystemVersion='5.4.0.240'
SecondaryImageConfigVersion='255.255.255.255'
SecondaryImageCustomAppVersion='9.0.0.2'


According to the Impinj RShell Reference Manual and "CustomAppVersion", it definitely seems that there is some other application on the reader. I'll try to see what it is.

Jonathan Rosen

unread,
Dec 14, 2019, 11:46:37 AM12/14/19
to crossmgr...@googlegroups.com
There is definitely a custom app installed and running in the cap partition, that app is grabbing the llrp session and preventing cross manager impinj from working. There is a command to wipe the cap partition.

To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/crossmgrsoftware/d31424f5-39d1-4d70-8167-3ef5599399a8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages