![]() |
Cubelets API Documentation 2.0
C API
|
Go to the source code of this file.
Macros | |
| #define | BOOTLOADER_MODE 0x00 |
| #define | APPLICATION_MODE 0x01 |
| #define | PT_BLOCK_VALUE 0x01 |
| #define | PT_SET_BLOCK_VALUE 0x70 |
| #define | PT_SET_LED 0x71 |
| #define | PT_GET_CONFIG 0xA0 |
| #define | PT_GET_CONFIG_RESPONSE 0xA1 |
| #define | PT_GET_NEIGHBORS 0xA2 |
| #define | PT_GET_NEIGHBORS_RESPONSE 0xA3 |
| #define | PT_PING 0xA4 |
| #define | PT_PONG 0xA5 |
| #define | PT_WRITE_FLASH 0xA6 |
| #define | PT_WRITE_FLASH_RESPONSE 0xA7 |
| #define | PT_SET_MODE 0xA8 |
| #define | PT_SET_MODE_RESPONSE 0xAA |
| #define | PT_FLASH_START 0xAB |
| #define | PT_FLASH_START_RESPONSE 0xAC |
| #define BOOTLOADER_MODE 0x00 |
Bootloader mode
| #define APPLICATION_MODE 0x01 |
Application mode
| #define PT_BLOCK_VALUE 0x01 |
Packet type for block value packets
| #define PT_SET_BLOCK_VALUE 0x70 |
PT_SET_BLOCK_VALUE
| #define PT_SET_LED 0x71 |
PT_SET_LED
| #define PT_GET_CONFIG 0xA0 |
PT_GET_CONFIG
| #define PT_GET_CONFIG_RESPONSE 0xA1 |
PT_GET_CONFIG_RESPONSE
| #define PT_GET_NEIGHBORS 0xA2 |
PT_GET_NEIGHBORS
| #define PT_GET_NEIGHBORS_RESPONSE 0xA3 |
PT_GET_NEIGHBORS_RESPONSE
| #define PT_PING 0xA4 |
PT_PING
| #define PT_PONG 0xA5 |
PT_PONG
| #define PT_WRITE_FLASH 0xA6 |
PT_WRITE_FLASH
| #define PT_WRITE_FLASH_RESPONSE 0xA7 |
PT_WRITE_FLASH_RESPONSE
| #define PT_SET_MODE 0xA8 |
PT_SET_MODE
| #define PT_SET_MODE_RESPONSE 0xAA |
PT_SET_MODE_RESPONSE
| #define PT_FLASH_START 0xAB |
PT_FLASH_START
| #define PT_FLASH_START_RESPONSE 0xAC |
PT_FLASH_START_RESPONSE