JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

jp12serial version 0.19

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 3181
Location: Cambridge, UK

PostPosted: Mon Aug 20, 2012 11:48 am    Post subject: jp12serial version 0.19 Reply with quote

A version of jp12serial.dll that supports the new communications protocol used by JP1.4 and JP2/JP2.1 remotes has been around in beta form for some months under the version number 0.18f_JP2 and is included in the current development version of RMIR. No issues have been reported, so in preparation for the forthcoming release of RM/RMIR v2.02 it seems time to move this version of jp12serial.dll from beta to release status.

Towards this, I have posted source files for v0.19 and a compiled binary version for Windows. The source files are suitable for compilation also under Linux and Mac OS X, as they differ from those of v0.18f_JP2 only in the version number and some added comments and that beta version includes Linux and Mac OS X binaries. I would be grateful if
    Greg Bush (gfb107) would once again compile the Linux version and
    Michael Dreher (MikeT) would once again compile the Mac OS X version,
adding them to my post of the Windows binary or posting them separately, whichever is more convenient.
_________________
Graham


Last edited by mathdon on Sun Nov 13, 2016 12:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3246

PostPosted: Mon Aug 20, 2012 12:38 pm    Post subject: Reply with quote

I have to plead guilty to not keeping everything up to date. Transistor based interfaces have shown problems with 0.18f_JP2, and this only slightly different version has worked with the transistor interfaces as well as with Tommy's. See this post and following ones.

Unfortunately, I can't get access to the source code until tonight. I think we should wait before compiling, and I'll post the revised code tonight.

Graham, I'm sorry I didn't submit this earlier.
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3246

PostPosted: Mon Aug 20, 2012 11:23 pm    Post subject: Reply with quote

Graham,
Please take a look at this slight modification. Non-JP 1.4/2 functions have always "cleared" extraneous bytes from the serial buffer by attempting to read 20 bytes before doing an actual read. In most cases, there are no bytes to read, and the resulting time delay was too long for the JP1.4/2 remotes during initialization of communication. So we removed the attempted 20 byte read, and all seemed fine. But some users with transistor based serial interfaces found that this didn't work because those interfaces did provide some extra bytes.

So I added back a 10 byte read, which is not too much delay. That was in February.

Again my apologies for not posting this update generally.
Back to top
View user's profile Send private message
MikeT



Joined: 28 Oct 2010
Posts: 115

PostPosted: Tue Aug 21, 2012 11:11 am    Post subject: Re: jp12serial version 0.19 Reply with quote

mathdon wrote:

Michael Dreher (MikeT) would once again compile the Mac OS X version,

I think problems with the transistor interface are not relevant for Mac Hardware, because there is no parallel port on Macs, but nevertheless the same source code should be used for all binaries.

Please tell me when the source code for 0.19+ is ready, then I will upload the Mac OSX binaries.

Michael
Back to top
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3246

PostPosted: Tue Aug 21, 2012 11:52 am    Post subject: Reply with quote

Just for clarity, the transistor interface uses a serial port, not parallel. The serial port can be a hardware port (e.g. seen on older PCs) or a sufficiently well made USB serial adapter. So a Mac can be used with transistor interface.
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 3181
Location: Cambridge, UK

PostPosted: Tue Aug 21, 2012 12:37 pm    Post subject: Reply with quote

I have now updated the files linked to in the first post of this thread to include 3FG's modification. The source files there are now ready for Greg and Mike to compile for Linux and Mac OS X. I have kept the version number as 0.19 but have added to the comments in the source files and the accompanying ReadMe files to describe the amendment.

Please note that the Windows binary I have posted is 34K in size, compared with the 66K of the binary that 3FG included with his modified source code. This is not a mistake. The 34K file is compiled with MinGW g++, which gives a much smaller binary than MS Visual C++ used to compile the 66K version. It is possible to compile a smaller version with Visual C++ but that does not work with Windows 2000 due to the absence of a system dll included in later Windows versions. The MinGW g++ compilation does work with Windows 2000, which together with its smaller size makes it the preferred binary for Windows systems.

I have tested this new version by doing a download and subsequent upload with Tommy's USB interface and one remote each of types JP1.4, JP2 and JP2.1, all without a hitch. Although 3FG's modification may not have had widespread testing, I think it best to continue to make this into an official release of v0.19, as I originally intended. If any issues do remain, they can be dealt with when they come to light.
_________________
Graham
Back to top
View user's profile Send private message
MikeT



Joined: 28 Oct 2010
Posts: 115

PostPosted: Tue Aug 21, 2012 4:47 pm    Post subject: Reply with quote

The Mac OSX version can be found here

I couldn't test it right now, because I have to build a new cable first.

Michael
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 3181
Location: Cambridge, UK

PostPosted: Wed Aug 22, 2012 5:08 am    Post subject: Reply with quote

Thanks Mike. I'll move it all into a single zip file, as we did for v0.18, once Greg has compiled the Linux version.
_________________
Graham
Back to top
View user's profile Send private message
MikeT



Joined: 28 Oct 2010
Posts: 115

PostPosted: Wed Aug 22, 2012 2:35 pm    Post subject: Reply with quote

MikeT wrote:
I couldn't test it right now, because I have to build a new cable

Test succeeded with URC 7950 and URC 7960, so the long awaited JP1.4 interface works also on Mac OSX!

Michael
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

PostPosted: Wed Aug 22, 2012 7:44 pm    Post subject: Reply with quote

I compiled the Linux versions and uploaded it here. I can't readily test it and I don't have a JP2 remote but I don't expect any issues.
Back to top
View user's profile Send private message
MikeT



Joined: 28 Oct 2010
Posts: 115

PostPosted: Fri Aug 24, 2012 8:02 am    Post subject: Reply with quote

mathdon wrote:
Thanks Mike. I'll move it all into a single zip file, as we did for v0.18, once Greg has compiled the Linux version.

Can you please update the Mac OSX Makefile in the source distribution? I put the updated one here:Makefile.MacOSX

Michael
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 3181
Location: Cambridge, UK

PostPosted: Fri Aug 24, 2012 5:43 pm    Post subject: Reply with quote

MikeT wrote:
Can you please update the Mac OSX Makefile in the source distribution? I put the updated one here:Makefile.MacOSX

Will do. Shortly I'll put the binaries for all OS's into a single zip file for distribution and will update the Mac OSX Makefile in the source as well, but life is a bit hectic at present. My thanks to Binky for the Linux binaries.
_________________
Graham
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 3181
Location: Cambridge, UK

PostPosted: Sun Sep 02, 2012 12:35 pm    Post subject: Reply with quote

I have now combined the Windows, Linux and Mac OS X versions of jp12serial v0.19 into a single zip package. I've updated the links in the above posts to point to this combined package and have deleted the redundant single-OS versions.

I have also updated the Mac OS X Makefile in the jp12serial v0.19 source files as requested.
_________________
Graham
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Get Smart! the band's official homepage Rockabilly Central