|
|
|
@ -115,7 +115,7 @@ enum CONNECTION {
|
|
|
|
|
CONNECTION_WIFI_AP = 0,
|
|
|
|
|
CONNECTION_WIFI_STA = 1,
|
|
|
|
|
CONNECTION_USB_RNDIS = 2
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct PACKED SetSdkConnectionReq {
|
|
|
|
|
uint8_t control;
|
|
|
|
@ -138,6 +138,20 @@ const Message set_sdk_connection_req_new(
|
|
|
|
|
uint32_t ip_address,
|
|
|
|
|
uint16_t port );
|
|
|
|
|
|
|
|
|
|
static const uint8_t SET_SDK_MODE_CMDID = 0xd1;
|
|
|
|
|
|
|
|
|
|
struct PACKED SetSdkModeReq {
|
|
|
|
|
uint8_t enable;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct PACKED SetSdkModeResp {
|
|
|
|
|
uint8_t retcode;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const Message set_sdk_mode_req_new(
|
|
|
|
|
Client session,
|
|
|
|
|
bool enable );
|
|
|
|
|
|
|
|
|
|
static const uint8_t GET_VERSION_CMDID = 0x01;
|
|
|
|
|
|
|
|
|
|
// NOTE: No GetVersion request body
|
|
|
|
|