Reputation: 371
I'm having trouble getting this to work: https://github.com/trendmicro/ais
The software contains a GNURadio Companion flow graph that sends AIS Messages to a USRP. I've installed the included gr-aistx library, and everything seems to run smoothly. However, whatever messages I may be sending don't seem to be getting picked up by an AIS Receiver.
I've tried the following. As a note, I am not transmitting/receiving over the air. Every test connection is hard-wired from the transmitter to the receiver:
Transmitting AIS using the included GRC flow graph. This flow graph seems to repeatedly send out messages on alternating channels. The flow graph looks something like this:
AIS Frame Builder (custom GRC block) -> GMSK Mod -> Multiply Const (0.9) -> UHD: USRP Sink
Transmitting using the phython scripts included in the repository(AIVDM_Encoder and AiS_TX).
I'm not entirely sure what the issue might be. The flow graph seems pretty straightforward but I am in no way an expert at digital signal processing.
Upvotes: 2
Views: 3728
Reputation: 371
I was able to get the trendmicro/ais project to work by adjusting the sample rate to 2M. I was going through some of the HackRF tutorials posted at https://greatscottgadgets.com/sdr and in lesson 11 he mentions that 2M samp_rate is the MINIMUM he suggests using with the HackRF (not entirely sure why, I'm kind of new at this). Once I adjusted the samp_rate up I was able to receive AIS messages from gr-ais.
Upvotes: 2