blob: 356014dbca052539b92199a7039360b68645870c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <stdint.h>
#define EOS_IPv4_ADDR_SIZE 4
typedef struct EOSNetAddr {
unsigned char host[EOS_IPv4_ADDR_SIZE];
uint16_t port;
} EOSNetAddr;
void eos_wifi_init(void);
void eos_wifi_connect(char *ssid, char *password);
void eos_wifi_disconnect(void);
ssize_t eos_wifi_send(void *msg, size_t msg_size, EOSNetAddr *addr);
|