{"id":24030324,"url":"https://github.com/neuro-mechatronics-interfaces/matlab_package__msg","last_synced_at":"2026-06-11T02:31:23.007Z","repository":{"id":259948847,"uuid":"610904172","full_name":"Neuro-Mechatronics-Interfaces/matlab_package__msg","owner":"Neuro-Mechatronics-Interfaces","description":"This should be initialized as gitmodule with name `+msg` to use as a MATLAB package.","archived":false,"fork":false,"pushed_at":"2024-10-28T18:27:12.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T03:44:54.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"MATLAB","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/Neuro-Mechatronics-Interfaces.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-07T18:03:39.000Z","updated_at":"2024-10-28T18:27:16.000Z","dependencies_parsed_at":"2024-10-28T19:50:15.725Z","dependency_job_id":null,"html_url":"https://github.com/Neuro-Mechatronics-Interfaces/matlab_package__msg","commit_stats":null,"previous_names":["neuro-mechatronics-interfaces/matlab_package__msg"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/Neuro-Mechatronics-Interfaces/matlab_package__msg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neuro-Mechatronics-Interfaces%2Fmatlab_package__msg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neuro-Mechatronics-Interfaces%2Fmatlab_package__msg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neuro-Mechatronics-Interfaces%2Fmatlab_package__msg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neuro-Mechatronics-Interfaces%2Fmatlab_package__msg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neuro-Mechatronics-Interfaces","download_url":"https://codeload.github.com/Neuro-Mechatronics-Interfaces/matlab_package__msg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neuro-Mechatronics-Interfaces%2Fmatlab_package__msg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34180147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-08T17:42:05.329Z","updated_at":"2026-06-11T02:31:22.955Z","avatar_url":"https://github.com/Neuro-Mechatronics-Interfaces.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# +msg #  \nMATLAB `git` submodule package with common TCP/IP or UDP message structure handling for different experiments requiring networking.  \n\n## Contents ##\nCurrently this only contains a few different types of message structures, mostly used with the `jsonencode` and `jsondecode` MATLAB built-ins.  \n\n## JSON ##\nAny function starting with `json_` should return a data struct that can be used with `jsonencode` to generate a serialized message string.  \nIf no input arguments are supplied to any of these functions, the default behavior should be to return an example of what a struct of this type could look like.  \n**Required `struct` field:**  \n* `type` - This can be used by any listening port to manage handling of the message contents. It allows a single port to accept multiple types of messages.\n\n* [`msg.json_stim_pattern`](json_stim_pattern.m) - Returns struct to be used to pass a stimulation pattern filename and amplitude scalar.\n + `type`: `'stim.pattern'`\n* [`msg.json_stim_response`](json_stim_response.m) - Returns struct to be used to pass response to query about next stim (json_stim_pattern message).\n + `type`: `'stim.response'`\n* [`msg.json_stim_data`](json_stim_data.m) - Returns struct to be used to pass a consolidated multi-channel data metric from an arbitrary number of responses and channels.\n + `type`: `'stim.data'`\n* [`msg.json_tmsi_udp_channels_message`](json_tmsi_udp_channels_message.m) - Returns struct for configuring stream channels for TMSi.\n + `type`: `'par.tagged'`\n* [`msg.json_tmsi_udp_controller_message`](json_tmsi_udp_controller_message.m) - Returns struct for sending parameter/value keys to TMSi controller service.\n + `type`: `'par.base'`\n* [`msg.json_tmsi_udp_name_message`](json_tmsi_udp_name_message.m) - Returns struct for sending recording/file naming parameters to the TMSi controller service and other interfaces.\n + `type`: `'name.tmsi'`  \n* [`msg.json_task_udp_name_message`](json_task_udp_name_message.m) - Returns struct for handling messages about filenames that are controlled by the wrist center-out task.\n + `type`: `'name.task'`\n* [`msg.json_tmsi_request_message`](json_tmsi_request_message.m) - Returns struct with TMSi-controller parameter-request fields.\n + `type`: `'request.tmsi'`\n* [`msg.json_tmsi_tcp_streams_message`](json_tmsi_tcp_streams_message.m) - Returns struct for handling tcp messages with data streams from tagged TMSi devices.\n + `type`: `'stream.tmsi'`\n* [`msg.json_sta_udp_config_message`](json_sta_udp_config_message.m) - Returns struct for handling udp messages with stim-triggered averaging configuration parameters.\n + `type`: `'sta.config'`\n* [`msg.json_sta_udp_data_message`](json_sta_udp_data_message.m) - Returns struct for handling udp messages with stim-triggered averaging data snippets.\n + `type`: `'sta.data'`\n* [`msg.json_snippets_udp_config_message`](json_snippets_udp_config_message.m) - Returns struct for handling udp messages with unipolar snippets montage configuration parameters.\n + `type`: `'snippets.config'`\n* [`msg.json_tmsi_state_message`](json_tmsi_state_message.m) - Returns struct with recording controller state and block number.\n + `type`: `'state.tmsi'`\n* [`msg.json_data_server_request`](json_data_server_request.m) - Returns struct with request info to get specific information from MEP responses data server.\n + `type`: `'mep.request'`\n* [`msg.json_data_server_response`](json_data_server_response.m) - Returns struct with requested subset of MEP response data, with indexing info as well.\n + `type`: `'mep.response'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuro-mechatronics-interfaces%2Fmatlab_package__msg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuro-mechatronics-interfaces%2Fmatlab_package__msg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuro-mechatronics-interfaces%2Fmatlab_package__msg/lists"}