SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
mw_cmd Union Reference

Command sent to system FSM. More...

#include <mw-msg.h>

Collaboration diagram for mw_cmd:
[legend]

Public Attributes

char packet [MW_CMD_MAX_BUFLEN+2 *sizeof(uint16_t)]
 Packet raw data.
struct { 
   uint16_t   cmd 
 Command code.
   uint16_t   data_len 
 Data length.
   union { 
      uint8_t   ch 
      uint8_t   data [MW_CMD_MAX_BUFLEN
 RAW data in uint8_t format.
      uint16_t   w_data [MW_CMD_MAX_BUFLEN/sizeof(uint16_t)] 
 RAW data in uint16_t format.
      uint32_t   dw_data [MW_CMD_MAX_BUFLEN/sizeof(uint32_t)] 
 RAW data in uint32_t format.
      struct mw_msg_in_addr   in_addr 
 Internet address.
      struct mw_msg_ap_cfg   ap_cfg 
 Access Point configuration.
      struct mw_msg_ip_cfg   ip_cfg 
 IP configuration.
      struct mw_msg_sntp_cfg   sntp_cfg 
 SNTP client configuration.
      struct mw_msg_date_time   date_time 
 Date and time message.
      struct mw_msg_flash_data   fl_data 
 Flash memory data.
      struct mw_msg_flash_range   fl_range 
 Flash memory range.
      struct mw_msg_bind   bind 
 Bind message.
      struct mw_ping_request   ping 
 Ping message.
      struct mw_ping_response   ping_response 
 Ping message.
      struct mw_upgrade_list_response   ug_list_response 
 Ping message.
      union mw_msg_sys_stat   sys_stat 
 System status.
      struct mw_gamertag_set_msg   gamertag_set 
 Gamertag set.
      struct mw_gamertag   gamertag_get 
 Gamertag get.
      struct mw_wifi_adv_cfg   wifi_adv_cfg 
 Advanced WiFi configuration.
      struct mw_flash_id   flash_id 
 Flash chip identifiers.
      struct mw_ga_request   ga_request 
 Game API request.
      uint16_t   fl_sect 
 Flash sector.
      uint32_t   fl_id 
 Flash IDs.
      uint16_t   rnd_len 
 Length of the random buffer to fill.
   } 
}; 

Detailed Description

Command sent to system FSM.

Member Data Documentation

◆ ch

uint8_t mw_cmd::ch

Channel number for channel related requests


The documentation for this union was generated from the following file: