Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SubCommandID.h Source File

SubCommandID.h

00001 #ifndef SmartLab_MuRata_Type_SubCommandID
00002 #define SmartLab_MuRata_Type_SubCommandID
00003 
00004 namespace SmartLabMuRata
00005 {
00006 enum SubCommandID {
00007     /// <summary>
00008     /// Power up indication
00009     /// </summary>
00010     GEN_PWR_UP_IND = 0x00,
00011 
00012     /// <summary>
00013     /// Sleep configuration
00014     /// </summary>
00015     GEN_SLEEP_CFG_REQ = 0x05,
00016 
00017     /// <summary>
00018     /// Get firmware version string
00019     /// </summary>
00020     GEN_FW_VER_GET_REQ = 0x08,
00021 
00022     /// <summary>
00023     /// Restore NVM to factory default
00024     /// </summary>
00025     GEN_RESTORE_REQ = 0x09,
00026 
00027     /// <summary>
00028     /// Soft reset the module
00029     /// </summary>
00030     GEN_RESET_REQ = 0x0A,
00031 
00032     /// <summary>
00033     /// Configure UART interface
00034     /// </summary>
00035     GEN_UART_CFG_REQ = 0x0B,
00036 
00037 
00038     /// <summary>
00039     /// Turn on Wifi
00040     /// </summary>
00041     WIFI_ON_REQ = 0x00,
00042 
00043     /// <summary>
00044     /// Turn off Wifi
00045     /// </summary>
00046     WIFI_OFF_REQ = 0x01,
00047 
00048     /// <summary>
00049     /// Associate to a network
00050     /// </summary>
00051     WIFI_JOIN_REQ = 0x02,
00052 
00053     /// <summary>
00054     /// Disconnect from a network
00055     /// </summary>
00056     WIFI_DISCONNECT_REQ = 0x03,
00057 
00058     /// <summary>
00059     /// Get WiFi status
00060     /// </summary>
00061     WIFI_GET_STATUS_REQ = 0x04,
00062 
00063     /// <summary>
00064     /// Scan WiFi networks
00065     /// </summary>
00066     WIFI_SCAN_REQ = 0x05,
00067 
00068     /// <summary>
00069     /// Get STA signal strength (RSSI)
00070     /// </summary>
00071     WIFI_GET_STA_RSSI_REQ = 0x06,
00072 
00073     /// <summary>
00074     /// Soft AP on-off control
00075     /// </summary>
00076     WIFI_AP_CTRL_REQ = 0x07,
00077 
00078     /// <summary>
00079     /// Start WPS process
00080     /// </summary>
00081     WIFI_WPS_REQ = 0x08,
00082 
00083     /// <summary>
00084     /// Get clients that are associated to the soft AP.
00085     /// </summary>
00086     WIFI_AP_GET_CLIENT_REQ = 0x0A,
00087 
00088     /// <summary>
00089     /// Network status indication
00090     /// </summary>
00091     WIFI_NETWORK_STATUS_IND = 0x10,
00092 
00093     /// <summary>
00094     /// Scan result indication
00095     /// </summary>
00096     WIFI_SCAN_RESULT_IND = 0x11,
00097 
00098 
00099 
00100     /// <summary>
00101     /// SNIC API initialization
00102     /// </summary>
00103     SNIC_INIT_REQ = 0x00,
00104 
00105     /// <summary>
00106     /// SNIC API cleanup
00107     /// </summary>
00108     SNIC_CLEANUP_REQ = 0x01,
00109 
00110     /// <summary>
00111     /// Send from socket
00112     /// </summary>
00113     SNIC_SEND_FROM_SOCKET_REQ = 0x02,
00114 
00115     /// <summary>
00116     /// Close socket
00117     /// </summary>
00118     SNIC_CLOSE_SOCKET_REQ = 0x03,
00119 
00120     /// <summary>
00121     /// Get socket option
00122     /// </summary>
00123     SNIC_GETSOCKOPT_REQ = 0x05,
00124 
00125     /// <summary>
00126     /// Set socket option
00127     /// </summary>
00128     SNIC_SETSOCKOPT_REQ = 0x06,
00129 
00130     /// <summary>
00131     /// Get name or peer name
00132     /// </summary>
00133     SNIC_SOCKET_GETNAME_REQ = 0x07,
00134 
00135     /// <summary>
00136     /// Send ARP request
00137     /// </summary>
00138     SNIC_SEND_ARP_REQ = 0x08,
00139 
00140     /// <summary>
00141     /// Get DHCP info
00142     /// </summary>
00143     SNIC_GET_DHCP_INFO_REQ = 0x09,
00144 
00145     /// <summary>
00146     /// Resolve a host name to IP address
00147     /// </summary>
00148     SNIC_RESOLVE_NAME_REQ = 0x0A,
00149 
00150     /// <summary>
00151     /// Configure DHCP or static IP
00152     /// </summary>
00153     SNIC_IP_CONFIG_REQ = 0x0B,
00154 
00155     /// <summary>
00156     /// ACK configuration for data indications
00157     /// </summary>
00158     SNIC_DATA_IND_ACK_CONFIG_REQ = 0x0C,
00159 
00160     /// <summary>
00161     /// Create TCP socket
00162     /// </summary>
00163     SNIC_TCP_CREATE_SOCKET_REQ = 0x10,
00164 
00165     /// <summary>
00166     /// Create TCP connection server
00167     /// </summary>
00168     SNIC_TCP_CREATE_CONNECTION_REQ = 0x11,
00169 
00170     /// <summary>
00171     /// Connect to TCP server
00172     /// </summary>
00173     SNIC_TCP_CONNECT_TO_SERVER_REQ = 0x12,
00174 
00175     /// <summary>
00176     /// Create UDP socket
00177     /// </summary>
00178     SNIC_UDP_CREATE_SOCKET_REQ = 0x13,
00179 
00180     /// <summary>
00181     /// Start UDP receive on socket
00182     /// </summary>
00183     SNIC_UDP_START_RECV_REQ = 0x14,
00184 
00185     /// <summary>
00186     /// Send UDP packet
00187     /// </summary>
00188     SNIC_UDP_SIMPLE_SEND_REQ = 0x15,
00189 
00190     /// <summary>
00191     /// Send UDP packet from socket
00192     /// </summary>
00193     SNIC_UDP_SEND_FROM_SOCKET_REQ = 0x16,
00194 
00195     /// <summary>
00196     /// Send HTTP request
00197     /// </summary>
00198     SNIC_HTTP_REQ = 0x17,
00199 
00200     /// <summary>
00201     /// Send HTTP more data request
00202     /// </summary>
00203     SNIC_HTTP_MORE_REQ = 0x18,
00204 
00205     /// <summary>
00206     /// Send HTTPS request
00207     /// </summary>
00208     SNIC_HTTPS_REQ = 0x19,
00209 
00210     /// <summary>
00211     /// Create advanced TLS TCP socket
00212     /// </summary>
00213     SNIC_TCP_CREATE_ADV_TLS_SOCKET_REQ = 0x1A,
00214 
00215     /// <summary>
00216     /// Create simple TLS TCP socket
00217     /// </summary>
00218     SNIC_TCP_CREAET_SIMPLE_TLS_SOCKET_REQ = 0x1B,
00219 
00220     /// <summary>
00221     /// Connection status indication
00222     /// </summary>
00223     SNIC_TCP_CONNECTION_STATUS_IND = 0x20,
00224 
00225     /// <summary>
00226     /// TCP client socket indication
00227     /// </summary>
00228     SNIC_TCP_CLIENT_SOCKET_IND = 0x21,
00229 
00230     /// <summary>
00231     /// TCP or connected UDP packet received indication
00232     /// </summary>
00233     SNIC_CONNECTION_RECV_IND = 0x22,
00234 
00235     /// <summary>
00236     /// UCP packet received indication
00237     /// </summary>
00238     SNIC_UDP_RECV_IND = 0x23,
00239 
00240     /// <summary>
00241     /// ARP reply indication
00242     /// </summary>
00243     SNIC_ARP_REPLY_IND = 0x24,
00244 
00245     /// <summary>
00246     /// HTTP response indication
00247     /// </summary>
00248     SNIC_HTTP_RSP_IND = 0x25,
00249 };
00250 }
00251 
00252 #endif