You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
361 B
C
22 lines
361 B
C
#pragma once
|
|
|
|
#include "message.h"
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
static const uint8_t SET_SDK_CONNECTION_CMDID = 0xD4;
|
|
|
|
enum CONNECTION {
|
|
CONNECTION_WIFI_AP = 0,
|
|
CONNECTION_WIFI_STA = 1,
|
|
CONNECTION_USB_RNDIS = 2
|
|
};
|
|
|
|
void
|
|
set_sdk_connection(
|
|
Client session,
|
|
enum CONNECTION connection_type,
|
|
uint32_t ip_address,
|
|
uint16_t port );
|