{"id":13826667,"url":"https://github.com/a232319779/phantom-3-standard","last_synced_at":"2026-01-28T01:26:43.532Z","repository":{"id":216003508,"uuid":"78183101","full_name":"a232319779/PHANTOM-3-STANDARD","owner":"a232319779","description":"Used hackrf one to sniffer nrf24l0 and so on wireless packet.Application in PHANTOM 3 STANDARD RC signal sniffer.","archived":false,"fork":false,"pushed_at":"2017-03-14T16:54:04.000Z","size":1761,"stargazers_count":41,"open_issues_count":2,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-05T09:15:32.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a232319779.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-06T07:05:52.000Z","updated_at":"2024-06-25T03:20:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"af95e732-97d8-4101-a9f8-6c2abab1f0fe","html_url":"https://github.com/a232319779/PHANTOM-3-STANDARD","commit_stats":null,"previous_names":["a232319779/phantom-3-standard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a232319779%2FPHANTOM-3-STANDARD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a232319779%2FPHANTOM-3-STANDARD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a232319779%2FPHANTOM-3-STANDARD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a232319779%2FPHANTOM-3-STANDARD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a232319779","download_url":"https://codeload.github.com/a232319779/PHANTOM-3-STANDARD/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476383,"owners_count":17480215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T09:01:42.241Z","updated_at":"2026-01-28T01:26:43.500Z","avatar_url":"https://github.com/a232319779.png","language":"C","funding_links":[],"categories":["\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"32739127f0c38d61b14448c66a797098\"\u003e\u003c/a\u003e嗅探\u0026\u0026Sniff"],"readme":"# PHANTOM-3-STANDARD\n## Used hackrf one to sniffer PHANTOM 3 STANDARD RC signal\n\n* **capture**抓包模块  \n基于hackrf_transfer.c源码，只保留了必需的参数。只能指定一个载波频率抓包(默认设置针对大疆3标准版抓包)\n\t\u003eUsage:  \n\t[-h help] # Display this text.  \n\t[-f freq\\_hz] # Frequency in Hz [0MHz to 7250MHz].  \n\t[-a amp\\_enable] # RX/TX RF amplifier 1=Enable, 0=Disable.  \n\t[-l gain\\_db] # RX LNA (IF) gain, 0-40dB, 8dB steps.  \n\t[-g gain\\_db] # RX VGA (baseband) gain, 0-62dB, 2dB steps.  \n\t[-s sample\\_rate\\_hz] # Sample rate in Hz (4/8/10/12.5/16/20MHz, default 1MHz).  \n\t[-n num\\_samples] # Number of samples to transfer (default is unlimited).  \n\t[-r \u003cfilename\u003e] # Receive data into file (use '-' for stdout).  \nDefault set : -f 5738000000 -a 1 -l 32 -g 20 -s 1000000 -n 1000000 -r data/1M\\_5738\\_recive\\_1s.iq\n\n\t参数解释：  \n\t载波频率5738MHz，启用外部放大器，IF增益32db,BB增益20db,采样率1MHz,采样点1M,保存文件名data/1M\\_5738\\_recive\\_1s.iq\n    \n\t`$ ./capture -f 5738000000 -a 1 -l 32 -g 20 -s 1000000 -n 1000000 -r data/1M_5738_recive_1s.iq`\n    \n\t或者直接运行\n    \n\t`$ ./capture`\t\n\t\n\t执行结果如图所示:  \n\t![capture](https://github.com/a232319779/PHANTOM-3-STANDARD/blob/master/screenshot/capture.png)\n\n* **decode**解码模块  \n对离线数据包进行解调和解析。参数包括preamble长度和值,MAC地址长度,是否是ESB模式,PCF长度,CRC长度,时隙个数,时隙时长,需要解码对数据文件,数据文件的采样率。(默认设置针对大疆3标准版解码)。\n\n\t\u003eUsage:  \n\t[-h] # Display this text.  \n\t[-i] # preamble length [1 to 8].Default 1.  \n\t[-j] # preamble [1 to 8 bytes].Default '0xAA'.  \n\t[-m] # mac address [1 to 5].Default 5.  \n\t[-e] # if use esb [1 yes, 0 no].Default 1.  \n\t[-p] # pcf len. Default 2.  \n\t[-c] # crc len. Default 2.  \n\t[-t] # slot number. Default 16.  \n\t[-y] # period per signal.Deafult 7(ms).  \n\t[-r] # signal file. Default 'data/1M\\_5738\\_recive\\_1s.iq'.  \n\t[-s] # sample rate. Deafult 1MHz.  \nDefault set : -i 1 -j 0xAA -m 5 -e 1 -p 2 -c 2 -t 16 -y 7 -s 1000000 -r data/1M\\_5738\\_recive\\_1s.iq\n\t\n\t参数解释:  \n\tpreamble长度1字节,preamble是0xAA,MAC地址长度5字节,使用esb模式,pcf长度2字节,crc长度2字节,包含16个时隙(计算周期),每个时隙长度7ms，信号文件'data/1M\\_5738\\_recive\\_1s.iq',采样率1MHz\n\t\n\t`$ ./decode -i 1 -j 0xAA -m 5 -e 1 -p 2 -c 2 -t 16 -y 7 -s 1000000 -r data/1M_5738_recive_1s.iq`\n    \n\t或者直接运行\n    \n\t`$ ./decode`\n\t\n\t执行结果如图所示:  \n\t![decode](https://github.com/a232319779/PHANTOM-3-STANDARD/blob/master/screenshot/decode.png)\n\t\n* **scan_phantom**扫描模块  \n实时扫描指定载波频率开始的n个信道,每个信道带宽1M.扫描完成之后计算出'时隙'大小，'突发'大小.\n\n\t\u003eUsage:  \n\t[-h] # Display this text.  \n\t[-i] # Preamble length [1 to 8].Default 1.  \n\t[-j] # Preamble [1 to 8 bytes].Default '0xAA'.  \n\t[-m] # Mac address [1 to 5].Default 5.  \n\t[-e] # If use esb [1 yes, 0 no].Default 1.  \n\t[-p] # Pcf len. Default 2.  \n\t[-c] # Crc len. Default 2.  \n\t[-q] # Channles count, should less 200. Default 127.  \n\t[-S] # Size per channel. Default 1.  \n\t[-f] # Start frequency in Hz [1MHz to 6000MHz].  \n\t[-a] # RX/TX RF amplifier 1=Enable, 0=Disable.  \n\t[-l] # RX LNA (IF) gain, 0-40dB, 8dB steps.  \n\t[-g] # RX VGA (baseband) gain, 0-62dB, 2dB steps.  \n\t[-s] # Sample rate in Hz (4/8/10/12.5/16/20MHz, default 1MHz).  \nDefault set : -i 1 -j 0xAA -m 5 -e 1 -p 2 -c 2 -q 127 -S 1 -f 5725000000 -a 1 -l 32 -g 20 -s 1000000\n\n\t参数解释:\n\tpreamble长度1字节,preamble是0xAA,MAC地址长度5字节,使用esb模式,pcf长度2字节,crc长度2字节,扫描信道数目127,每个信道采大小1MHz,起始载波频率5725MHz,启用外部放大器,中频增益32db,基带增益20db,采样率1MHz\n\t\n\t`$ ./scan_phantom -i 1 -j 0xAA -m 5 -e 1 -p 2 -c 2 -q 127 -S 1 -f 5725000000 -a 1 -l 32 -g 20 -s 1000000`\n\t\n\t或者直接运行\n\t\n\t`$ ./scan_phantom`\n\n\t执行结果如图所示:  \n\t![scan_phantom](https://github.com/a232319779/PHANTOM-3-STANDARD/blob/master/screenshot/scan_phantom.png)\n\n* **calc_hopping**计算跳频图案模块\n\t* 开发中  \n\n## **update**:\n* Suport set args.(2017.03.14)\n* It default use 1MHz sample rate.(2017.02.22)  \n* It default use 4MHz sample rate.(before)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa232319779%2Fphantom-3-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa232319779%2Fphantom-3-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa232319779%2Fphantom-3-standard/lists"}