MicroP25RXMon

Status
Not open for further replies.

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Location
Wa State
Now it is solid as a rock! Figured it out by putting a try catch around the following and it no longer crashes (the code needs to check for nulls on all metadata it seems):
case 5 :
try{
handle_metainfo(buf,buf_len);
}
catch(Exception e) {
e.printStackTrace();
}


Example caught error(s):

java.lang.NullPointerException: Cannot invoke "String.trim()" because "wio_line1_str" is null
at MicroP25RXMon.handle_metainfo(MicroP25RXMon.java:829)
at MicroP25RXMon.process_buffer(MicroP25RXMon.java:369)
at MicroP25RXMon.draw(MicroP25RXMon.java:215)
at processing.core.PApplet.handleDraw(PApplet.java:2094)
at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1386)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)


java.lang.NullPointerException: Cannot invoke "String.trim()" because "site_name_str" is null
at MicroP25RXMon.handle_metainfo(MicroP25RXMon.java:849)
at MicroP25RXMon.process_buffer(MicroP25RXMon.java:369)
at MicroP25RXMon.draw(MicroP25RXMon.java:215)
at processing.core.PApplet.handleDraw(PApplet.java:2094)
at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1386)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)
Thanks. I added to v011101
 

brndnstffrd

Member
Joined
Mar 30, 2010
Messages
427
Location
CT
Just trying this out on 2 Windows machines, one Windows 7, the other Windows 10 and using the version available on the BTT website im getting nothing coming up. I go to run the software and it pops up a window that just stays blank. Not sure if there is an issue with the version on the site.
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
I just tried the exe version 0705 with no issue. My guess is that your Windows machines are not seeing the MicroP25RX attached to a com port. This may be due to a power only usb cable connected to the MicroP25RX ? Do you see a serial com port created in device manager when you plug in the usb cable? Is the MicroP25RX powering on?
 

brndnstffrd

Member
Joined
Mar 30, 2010
Messages
427
Location
CT
Yes to all of the above. It is a data cable. I am seeing the device in COM5 on one of the laptops, and yes the device powers on.
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
Okay. With a data cable and a com port seen, you should also be able to see an audio device show up in your Windows sound settings. Even without the Mon application running, I am able to hear/control the MicroP25RX audio on the Windows speakers. Are your machines seeing the sound setting device?

Correction: the Mon application needs to be running to see the sound setting device.

Correction2: The MicroP25RX is seen in the Windows Volume Control...not in the sound setting devices.
 
Last edited:

brndnstffrd

Member
Joined
Mar 30, 2010
Messages
427
Location
CT
Got it working on one of them, don't quite know what the issue was. The other one however is showing up in Other Devices in Device Manager, so that leads me to believe it is a driver issue. I should mention this is the Windows 7 machine. The Windows 10 machine is now working.
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
Great to hear you have it running on Windows 10.
I am not sure the Processing program used to create the exe supports 64-bit Windows 7. I only have Windows 10.
 

FreqNout

Member
Joined
Jul 23, 2021
Messages
297
Location
Chicagoland
@btt and @goldmyne99 thanks for your work with the Processing program building an app for the new Micro! This weekend I played around with connecting up my p25rx rig in a simple serial port sketch on the Processing.org platform. It really offers a lot of possibilities for custom displays and apps on multiple platforms for guys like me that are not real programmers. I will be reviewing your open source Micro code for ideas. Thanks for sharing your great ideas!
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Location
Wa State
@btt and @goldmyne99 thanks for your work with the Processing program building an app for the new Micro! This weekend I played around with connecting up my p25rx rig in a simple serial port sketch on the Processing.org platform. It really offers a lot of possibilities for custom displays and apps on multiple platforms for guys like me that are not real programmers. I will be reviewing your open source Micro code for ideas. Thanks for sharing your great ideas!
I'm excited that multiple people are starting to play with the code. Processing is a very nice way to get started for sure! I've been using Java for GUI stuff since 1997/1998 (can't remember). I guess Processing has been around for 20 years and I hadn't heard about it until a few weeks ago when goldmyne99 told me about it. Let me know if I can help with any questions. email anytime.
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Location
Wa State
Firmware version 2023-01-19-02 is available. After updating to this version please report if you notice any significant changes (good or bad). Thanks!
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Location
Wa State
@pcman67 provided pre-compiled versions of MicroP25RXMon for the Mac. They are available on the website for download here:
Both versions are inside the ZIP file -- one being the Intel (x86_64) version and one being the Apple Silicon (aarch64) version. They are only ~7.5MB in size each. Requirement: Must have Java 17 or above installed already on the Mac in order for MicroP25RXMon to work.
 

brndnstffrd

Member
Joined
Mar 30, 2010
Messages
427
Location
CT
@pcman67 provided pre-compiled versions of MicroP25RXMon for the Mac. They are available on the website for download here:
Any news on if there will be any compatability with 64 bit Windows 7?
 

goldmyne99

Member
Joined
Jul 23, 2018
Messages
274
Any news on if there will be any compatability with 64 bit Windows 7?
I do not think it is a Processing.org app issue based on your observation in the Win7 device manager.
showing up in Other Devices in Device Manager, so that leads me to believe it is a driver issue. I should mention this is the Windows 7 machine.
As you mentioned, Win 7 does not appear to be assigning the serial com port correctly to the MicroP25RX. @btt may have some ideas on how the Win 7 serial com port assignment differs from Win 10?
 

btt

Jew lover
Banned
Joined
Mar 11, 2020
Messages
2,585
Location
Wa State
Any news on if there will be any compatability with 64 bit Windows 7?
@brndnstffrd , I forgot to mention you in the previous reply from last evening. Let me know if that driver works on Win 7 / MicroP25RX when you have a chance. If it does, I will put a reference to it somewhere on the download page.
 
Status
Not open for further replies.
Top