Thar ABPR-20 RS232 communication via handheld emulation

版本 1.21.0.0 (1.5 MB) 作者: Geoffrey Akien
Controls and reads from a Thar ABPR-20, by emulating the handheld controller.
468.0 次下载
更新时间 2016/8/24

查看许可证

Contains a suite of files for controlling Thar ABPR-20 using MATLAB, by emulating the behavior of a handheld controller. A "real" communications protocol for computers exists, but no information was available to use this instead. This, and the inclusion of two different serial protocols are the reason for the complexity of the code and the number of files. This is largely identical to the code in CO2gui.
Also contains a password cracking tool for brute force cracking of the password (0 to 9999) should you have forgotten it.

NOTE

Due to the way it broadcasts a large amount of data, MATLAB is not very stable at all in the version of MATLAB I was running, so an alternative method is run through realterm. All of the files here are slightly modified compared to CO2gui to reduce some dependencies, but if I've missed some, the file will be in there.

Best results obtained by using Realterm - note that the realterm files here are DIFFERENT to those in my similarly titled Realterm communications suite.

Create serial object:
serialObject = tharbprobj(comPortNumber); (matlab implementation of serial)

or

serialObject = tharbprobj2(comPortNumber); (realterm implementation of serial)

Connect:
tharbprobjconnect(serialObject)

Communicate:
Use the preformed files
output = tharbprobjcomm(serialObject, input)

Disconnect
tharbprobjdisconnect(serialObject)

引用格式

Geoffrey Akien (2024). Thar ABPR-20 RS232 communication via handheld emulation (https://www.mathworks.com/matlabcentral/fileexchange/41806-thar-abpr-20-rs232-communication-via-handheld-emulation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Instrument Control Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

版本 已发布 发行说明
1.21.0.0

Bugfix for realtermfread

1.2.0.0

Updated description.

1.0.0.0