|
int | ev3_init (void) |
| Initialize the remote access and detect the EV3 brick. This function do nothing in the case of the local access. To disable the brick detection just specify IP address before the call of this function. More...
|
|
void | ev3_uninit (void) |
| Uninitialize the remote access.
|
|
size_t | ev3_write_binary (const char *fn, char *data, size_t sz) |
| Write binary data into the specified file of the EV3 brick. More...
|
|
size_t | ev3_multi_write_binary (uint8_t *sn, uint16_t pos, const char *fn, char *data, size_t sz) |
| Write binary data into several specified files of the EV3 brick. More...
|
|
size_t | ev3_read_binary (const char *fn, char *buf, size_t sz) |
| Read binary data from the specified file. More...
|
|
size_t | ev3_read_keys (uint8_t *buf) |
| Read state of the EV3 brick's keys. More...
|
|
bool | ev3_poweroff (void) |
| Power-off the EV3 brick. More...
|
|
size_t | ev3_write (const char *fn, char *value) |
| Write a string into the specified file. More...
|
|
size_t | ev3_multi_write (uint8_t *sn, uint16_t pos, const char *fn, char *value) |
|
size_t | ev3_write_int (const char *fn, int value) |
| Write an integer value into the specified file. More...
|
|
size_t | ev3_multi_write_int (uint8_t *sn, uint16_t pos, const char *fn, int value) |
|
size_t | ev3_write_dword (const char *fn, uint32_t value) |
| Write an unsigned integer value into the specified file. More...
|
|
size_t | ev3_multi_write_dword (uint8_t *sn, uint16_t pos, const char *fn, uint32_t value) |
|
size_t | ev3_write_float (const char *fn, float value) |
| Write a float value into the specified file. More...
|
|
size_t | ev3_multi_write_float (uint8_t *sn, uint16_t pos, const char *fn, float value) |
|
size_t | ev3_write_bool (const char *fn, bool value) |
| Write a boolean value into the specified file. More...
|
|
size_t | ev3_multi_write_bool (uint8_t *sn, uint16_t pos, const char *fn, bool value) |
|
size_t | ev3_write_byte (const char *fn, uint8_t value) |
| Write a byte value into the specified file. More...
|
|
size_t | ev3_multi_write_byte (uint8_t *sn, uint16_t pos, const char *fn, uint8_t value) |
|
size_t | ev3_write_char_array (const char *fn, char *value) |
|
size_t | ev3_multi_write_char_array (uint8_t *sn, uint16_t pos, const char *fn, char *value) |
|
size_t | ev3_write_byte_array (const char *fn, uint8_t *value, size_t sz) |
|
size_t | ev3_multi_write_byte_array (uint8_t *sn, uint16_t pos, const char *fn, uint8_t *value, size_t sz) |
|
size_t | ev3_read (const char *fn, char *buf, size_t sz) |
| Read a string from the specified file. More...
|
|
size_t | ev3_read_int (const char *fn, int *buf) |
| Read an integer value from the specified file. More...
|
|
size_t | ev3_read_dword (const char *fn, uint32_t *buf) |
| Read an unsigned integer value from the specified file. More...
|
|
size_t | ev3_read_float (const char *fn, float *buf) |
| Read a float value from the specified file. More...
|
|
size_t | ev3_read_bool (const char *fn, bool *buf) |
| Read a boolean value from the specified file. More...
|
|
size_t | ev3_read_byte (const char *fn, uint8_t *buf) |
| Read a byte value from the specified file. More...
|
|
size_t | ev3_read_char_array (const char *fn, char *buf, size_t sz) |
|
size_t | ev3_read_byte_array (const char *fn, uint8_t *buf, size_t sz) |
|
size_t | ev3_listdir (const char *fn, char *buf, size_t sz) |
| List files in the specified directory of the EV3 brick. More...
|
|
int | ev3_string_suffix (const char *prefix, char **s, uint32_t *buf) |
| Get a numerical suffix of the string. More...
|
|
| EV3_VAR_INIT (char *ev3_brick_addr, NULL) |
| Predefined IP address of the EV3 brick.
|
|
| EV3_VAR_INIT (uint16_t ev3_brick_port, 8800) |
| UDP port of the EV3 brick.
|
|
Access to the file system of the EV3 brick.
This module contains functions for the local access to the file system of the EV3 brick, in case of the remote access appropriate functions from ev3_link module will be called.