Omnet++ SCSI repository Time-out - omnet++

I'm trying to download a SCSI Bus OMNET++ simulator from a repository for educational purposes, but it's 20 years old and I can't find any other repository, does anyone know anything about this?
The link to the repository is: https://omnetpp.org/download-items/SCSIBus.html

Related

Modelling a Jammer with Omnet++

Is there a reference or a tutorial to simulate a generic transmitter in Omnet++ that transmits noise on a particular frequency? Basically, it is just a simple jammer that disturb the channel by sending random noise (no MAC layer, no Network layer, nothing).
Yes, there is the NoiseSource module that does this. It is available since INET 4.2:
https://github.com/inet-framework/inet/blob/v4.3.3/src/inet/physicallayer/wireless/noise/NoiseSource.ned
This showcase has more info:
https://inet.omnetpp.org/docs/showcases/wireless/analogmodel/doc/index.html
In order to solve this problem, you need to install Omnet, and install manually Inet by cloning the repository from GitHub: https://github.com/inet-framework/inet.

How to develop driver to read disk by System Extension and DriverKit for macOS10.15+

I had developed a kernel extension(kext) by IOKit, but it will be deprecated in the future. So I want develope another driver use dext to replace kext using the DriverKit. But I don't find the executable solutions, like that I cannot find the some class to repalce IOMedia. When I intend to include IOKit in my code,I found the TARGET_OS_DRIVERKIT is 1.
Can someone help me? Thanks a lot!
IOMedia is a subclass of IOStorage and part of the IOStorageFamily. As of the macOS 11.2 SDK (Xcode 12.4) this has not yet been ported to DriverKit.
The SCSIControllerDriverKit API has been in beta since WWDC 2020. It didn't ship with the release versions of macOS 11.0.x-11.2. It's included in the (as of this writing) current betas of 11.3. Perhaps it will see general release with macOS 11.3. This is not a direct port of the storage stack; instead, it's essentially a port of the IOParallelSCSIController KPI. This lets you implement a driver for, well, a SCSI controller. Such a driver can tell the OS about one or more SCSI devices, including block devices, and will start receiving SCSI commands from the system, which it is expected to forward to the underlying controller device. It does not allow you to implement "filter" storage drivers, or to issue SCSI commands to other devices in the system.

Headless setup of NixOS on raspberry pi3

Having followed Zupo's execellent post which was mentioned in a NixOs Weekly, I wondered if it might be possible to setup a rasberry pi3 without the need for a monitor and use wifi rather than an ethernet cable.
There are all ready several blogs that set up raspbian headlessly by the addition of an ssh file in the boot directory and wpa_supplicant.conf in the /etc/wpa_supplicant directory, but I am unsure how to achieve this in the NixOS way.
Any help appreciated.

How to use USB interface of R305 Fingerprint Module instead of UART

What I have done so far:
I am currently working on R305 Fingerprint Module. I have used this module and some other fingerprint modules like R301T and FPM10A for different projects. But this time I have a new requirement. I want to download fingerprint image (bitmap) from sensor to my PC. So I used pyFingerprint, a Python library to interact with R305 fingerprint module using UART protocol.
This library provides function to download fingerprint image to PC and it is working for me. I can easily download fingerprint image (like this) from sensor to my PC.
What is the Issue:
Now problem is UART (TTL) communication is very slow when it comes to transfer fingerprint image to PC, a lot of bits, and max baudrate for UART of R305 module is 115200 bps. So it takes about 4 to 5 seconds to transfer fingerprint image from sensor to my computer (e.g. on Desktop). It is way too slow for real-time applications where you want fingerprint image within no time.
What I want to do:
I want to interface this R305 fingerprint module directly with USB interface without any USB to TTL converter attached on UART (Tx, Rx) of the module. So that I can download/transfer fingerprint image at faster transfer speed (using USB). I read the documentation of this Module and it says that this module supports two types of communication protocols (USB and UART). See this image . So I solder one end of a simple USB cable to USB port of the module (VCC D- D+ GND) and plug the USB cable's other end to PC. Now the module is showing as CD-ROM in PC. In Device Manager it is showing name as "Finger Module". Now How can I interface with the module??? I have searched a lot and there is no Software available for this USB interface. Please help me about this..
I found the required .Net SDK to control this R305 Fingerprint Sensor (for all 30X series Sensors) using USB protocol. I searched a lot and also sent email to Chines company that build these sensors and asked for this SDK but they did not reply. By chance, fortunately I found the SDK link on Dropbox.
So If anyone want the SDK please Download it from here: https://www.dropbox.com/sh/pznvlzx8qx5nfr3/AABpzhSyjqH0qWNYgMvxqAA9a?dl=0
It contains many files/projects, it also has SynDemo software source code, Arduino code, SDK for Linux platform and a lot of other stuff.. This is really helpful.

NodeMCU version unknown

I'm new with NodeMCU firmware use. I have a Amica ESP-12E (v2?) dev kit connected to a DHT22 which I program using the Arduino IDE. All is setup and working fine.
My problem came when I wanted to update NodeMCU firmware. Since I don't really know what came pre installed from China, I downloaded ESPlorer to try to determine NodeMCU version. I get the following "error" when I reset the dev board:
Communication with MCU..Got answer! Communication with MCU established.
AutoDetect firmware...
Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
{{a long string of weird characters that I can't copy and paste appear here}}
At this point I'm totally clueless about what version of firmware I have. Is there a way to obtain NodeMCU firmware version by software via Arduino IDE code, ESPlorer GUI or something similar?
On the other hand, is there a really easy way to compile/download latest NodeMCU firmware BIN file? Even one with all the modules active will be fine for me now, I'm just trying to understand and test things.
You seem to be confusing two very different platforms. I leave out some details as not to confuse you any further.
Arduino: you use Arduino programming in the Arduino IDE then build and install a binary to your device whenever the application changes. No NodeMCU firmware needed!
NodeMCU: you flash the NodeMCU firmware once (e.g. using esptool.py) and then upload Lua code (e.g. using ESPlorer) whenever the application changes. This is more lightweight than the Arduino platform.
On the other hand, is there a really easy way to compile/download
latest NodeMCU firmware BIN file?
Yes, have a look at the NodeMCU documentation at http://nodemcu.readthedocs.io/en/latest/en/build/. The easiest is to use the cloud builder at https://nodemcu-build.com/. I currently suggest to build from the dev branch because flashing is easier with it.
As pointed out you have several options for firmware and you'll need to make a choice as to which suits you going forward. If you are going to stick with the Nodemcu LUA firmware you can determine the version by typing:
print(node.info())
at the command line prompt.
There are alternatives to using ESPlorer e.g. Putty or Coolterm that will give you the raw output from the device with no interpretation. So if you have the correct serial port settings and the device plugged into the USB port it will show the banner when you reset giving an indication of the origin and version of the installed firmware.
In ESPlorer, there is an option under settings which if unchecked will stop looking checking for the version of the code.
For whatever reason, ESPlorer is not designed to read nodemcu version.
The error message throws you off, could lead you to think, there is an error.
At best, the above error can be ignored. It has no impact at all. In background, init.lua is up and running.

Resources