Initial import
This commit is contained in:
26
arphy_cli.h
Normal file
26
arphy_cli.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* https://ciapini.wiki.esiliati.org/index.php/Armando47/ArPhyCLI
|
||||
*/
|
||||
|
||||
#ifndef ARPHY_CLI_H
|
||||
#define ARPHY_CLI_H
|
||||
|
||||
#define ARPHY_CLI_ELEMENT_SEPARATOR ','
|
||||
#define ARPHY_CLI_KV_SEPARATOR '='
|
||||
|
||||
// registri
|
||||
#define ARPHY_CLI_FEC_TYPE 'F'
|
||||
#define ARPHY_CLI_INTERLEAVER_TYPE 'I'
|
||||
|
||||
// errori
|
||||
#define ARPHY_CLI_ERR 'E'
|
||||
#define ARPHY_CLI_ERR_OK 0
|
||||
#define ARPHY_CLI_ERR_INVALID_NAME 1
|
||||
#define ARPHY_CLI_ERR_INVALID_VALUE 2
|
||||
|
||||
|
||||
uint8_t arphy_cli_exec(uint8_t name, uint32_t value);
|
||||
uint8_t arphy_cli_print_state(uint8_t *Buffer);
|
||||
|
||||
#endif /* ARPHY_CLI_H */
|
||||
|
||||
Reference in New Issue
Block a user