Got GoRPC on Head working

This commit is contained in:
AlexanderHD27
2025-01-08 01:00:13 +01:00
parent 89f494ba58
commit 0b620a76ca
12 changed files with 124 additions and 47 deletions

View File

@@ -3,6 +3,8 @@
#include <strings.h>
enum GobotRPCNumber {
DROP_STONE = 0x5,
MOVE_Z_AXIS = 0x7,
VACUM = 0x8,
RESET = 0xc,
GET_INFO = 0xd

View File

@@ -10,7 +10,8 @@
typedef void (*onPackageRxCallback)(void * args, char *data, uint16_t len, GobotRPCTypes type, GobotRPCNumber number);
enum NODE_TYPE: uint8_t {
NODE_TYPE_VACUM = 0xa1
NODE_TYPE_VACUM = 0xa1,
NODE_TYPE_HEAD = 0xa2,
};
struct InfoData {

Binary file not shown.

Binary file not shown.

BIN
i2c-hub/uart-adapter/src/gobotrpc/util.py (Stored with Git LFS)

Binary file not shown.

BIN
i2c-hub/uart-adapter/src/main.py (Stored with Git LFS)

Binary file not shown.