sp5wwp / M17_ANL

A radio modem based on SiLabs Si4463 - "M17 analyser"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M17_ANL

M17 analyser. May be used for receiving and sending packets over the air (half-duplex).

Usage

Communication is realised via UART, 230400 baud, 8 bits of data, no parity, 1 stop bit, no handshake. End of line is \r\n.
Commands:

  • AT+FREQ? - shows current frequency (in Hz), default = 439575000

  • AT+PWR? - shows current power setting, default = 0

  • AT+FREQ=x - sets current frequency (in Hz), range 420..460MHz (inclusively). CAUTION: transmitting signals beyond the amateur band (430..440MHz) may be prohibited by local law.

  • AT+PWR=x - sets current power setting, range 0 to 127, inclusively. Please refer to the Si4463-C2 datasheet for more information on this.

  • AT+FRAME=x - sends a 93-byte frame. Replace x with a 93-byte long string ended with \r\n. The device also sends this string upon receiving a correct frame. It also contains 93 bytes of data after the '=' sign. EOL is \r\n as mentioned above.

Linux software

Uncomment the #define PLAYAUDIO line in main.c and run make. Then rename the output with mv m17_anl m17_anl_audio. Comment that line again and run make clean && make. Rename the output to m17_anl_console.

For recording M17 voice packets use:
./m17_anl_audio 3.0 > voice.raw
3.0 is volume value. Alternatively:
./m17_anl_audio 3.0 | aplay -t raw -f S16_BE -r 8000 -c 1

In both cases, the audio is mono, S16, Big Endian with 8000Hz sample rate.

For received packet list use this command:
./m17_anl_console
This will print out all received frames.

About

A radio modem based on SiLabs Si4463 - "M17 analyser"


Languages

Language:C 92.3%Language:C++ 4.3%Language:Makefile 3.1%Language:Assembly 0.3%Language:Objective-C 0.0%