{"id":20338182,"url":"https://github.com/billryan/wban-opnet-simulation","last_synced_at":"2025-04-11T23:11:28.966Z","repository":{"id":19148874,"uuid":"22379297","full_name":"billryan/WBAN-OPNET-Simulation","owner":"billryan","description":"**NOT MAINTAINED, TRY OMNET++ and refer 802.15.4** - WBAN(IEEE 802.15.6) Simulation based on OPNET Modeler 14.5 ","archived":false,"fork":false,"pushed_at":"2015-12-17T15:46:18.000Z","size":2917,"stargazers_count":8,"open_issues_count":4,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-10-26T05:21:44.038Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-29T12:39:03.000Z","updated_at":"2022-04-02T07:15:06.000Z","dependencies_parsed_at":"2022-09-04T00:10:49.707Z","dependency_job_id":null,"html_url":"https://github.com/billryan/WBAN-OPNET-Simulation","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2FWBAN-OPNET-Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2FWBAN-OPNET-Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2FWBAN-OPNET-Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2FWBAN-OPNET-Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billryan","download_url":"https://codeload.github.com/billryan/WBAN-OPNET-Simulation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224691667,"owners_count":17353686,"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-11-14T21:11:57.586Z","updated_at":"2024-11-14T21:11:58.344Z","avatar_url":"https://github.com/billryan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"WBAN-OPNET-Simulation\n=====================\nIf you want to use the IEEE 802.15.6 Simulation, please use the [ieee802156](https://github.com/billryan/WBAN-OPNET-Simulation/tree/ieee802156) branch. The master branch is for my own proposal.\n\nWBAN(802.15.6) Simulation based on OPNET 14.5 Modeler for academical purpose.  \n\nPlease refer `documentation` folder for more details. If you want to use real IEEE 802.15.6 protocal, please use **ieee802156** branch.\n\n## Coding conventions\n\n源码说明，整个工程文件目录及各文件关系如下所示：\n\n\n```\n.\n├── attribute\n│   ├── connection_request.ad.m\n│   ├── msdu_interarrival_time.ad.m\n│   ├── msdu_size.ad.m\n│   ├── row_count.ad.m\n│   ├── traffic_parameter.ad.m\n│   ├── traffic_start_time.ad.m\n│   ├── traffic_stop_time.ad.m\n│   └── wban_setting.ad.m\n├── documentation\n│   ├── ...\n├── headers\n│   ├── wban_math.h\n│   ├── wban_params.h\n│   └── wban_struct.h\n├── ici\n│   └── wban_battery_ici_format.ic.m\n├── LICENSE.md\n├── packets\n│   ├── wban_app_traffic_format.pk.m\n│   ├── wban_beacon_frame_proposal_format.pk.m\n│   ├── wban_beacon_MSDU_format.pk.m\n│   ├── wban_beacon2_MSDU_format.pk.m\n│   ├── wban_connection_assignment_frame_format.pk.m\n│   ├── wban_connection_request_frame_format.pk.m\n│   ├── wban_frame_MPDU_format.pk.m\n│   └── wban_frame_PPDU_format.pk.m\n├── py_analysis\n│   ├── load_data.py\n│   ├── plot_stat.py\n│   ├── raw_data.zip\n│   └── read_large_file.py\n├── README.md\n├── Sensor_Icons.icons\n├── src\n│   ├── wban_mac_pr.hb.c\n│   ├── wban_mac_pr.fb.c\n│   ├── wban_mac_pr.sv.c\n│   └── ...\n├── wban_battery_process.pr.m\n├── wban_gts_traffic_source.pr.m\n├── wban_mac_process.pr.m\n├── wban_packet_source_up_process.pr.m\n├── wban_sensor_node.nd.m\n```\n\n- `attribute`目录下为一些属性的设置模板，如信号源的业务产生函数分布等，一般不需要关注。\n- `documentation`为该项目的开发和使用文档。\n- `headers`为头文件存放的地方，主要分为如下三块：\n\t1. `wban_math.h` - 一些数学运算辅助函数。\n\t2. `wban_params.h` - 一些参数的集中设置。\n\t3. `wban_struct.h` - 结构体信息集中定义，如节点信息，超帧信息等。\n- `packets`目录为WBAN中所使用的一些包域信息，需要自定义包信息时修改。\n- `py_analysis` - 使用 Python 进行数据分析与自动出图。\n- `src` - 存放源码的目录，OPNET 中使用 FSM 和 进程模型进行协议编程，故不便于源码版本控制，这里抽取出 **HB**, **FB**, **SV** 单独成为一个文件。其中 **HB** 用作头文件，也可在这里定义伪全局变量(作用域为使用该进程模型的所有 process)，**SV** 用于定义部分变量，作用域为当前 process, **FB** 为存放函数块的地方，OPNET 推荐的做法是使用 FSM 有限状态机模型将这些函数块串起来，目前还在火热开发中，变化较剧烈，故几乎不怎么使用 FSM 来编写。\n- `*.pr.m` - 进程模型。\n- `*.nd.m` - 节点模型。\n\n### Helper functions\n\nuse `hp` for abbreviation of `helper`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fwban-opnet-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillryan%2Fwban-opnet-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fwban-opnet-simulation/lists"}