39 extern const char *syslink_magic;
41 #define SYSLINK_GROUP 0xF0 43 #define SYSLINK_RADIO 0x00 44 #define SYSLINK_RADIO_RAW 0x00 45 #define SYSLINK_RADIO_CHANNEL 0x01 46 #define SYSLINK_RADIO_DATARATE 0x02 47 #define SYSLINK_RADIO_CONTWAVE 0x03 48 #define SYSLINK_RADIO_RSSI 0x04 49 #define SYSLINK_RADIO_ADDRESS 0x05 51 #define SYSLINK_PM 0x10 52 #define SYSLINK_PM_SOURCE 0x10 53 #define SYSLINK_PM_ONOFF_SWITCHOFF 0x11 54 #define SYSLINK_PM_BATTERY_VOLTAGE 0x12 55 #define SYSLINK_PM_BATTERY_STATE 0x13 56 #define SYSLINK_PM_BATTERY_AUTOUPDATE 0x14 58 #define SYSLINK_OW 0x20 59 #define SYSLINK_OW_SCAN 0x20 60 #define SYSLINK_OW_GETINFO 0x21 61 #define SYSLINK_OW_READ 0x22 62 #define SYSLINK_OW_WRITE 0x23 65 #define SYSLINK_MAX_DATA_LEN 32 67 #define SYSLINK_RADIO_RATE_250K 0 68 #define SYSLINK_RADIO_RATE_1M 1 69 #define SYSLINK_RADIO_RATE_2M 2 75 uint8_t data[SYSLINK_MAX_DATA_LEN];
81 #define OW_READ_BLOCK 29 82 #define OW_WRITE_BLOCK 26 // TODO: Use even, but can be up to 27 102 uint8_t data[OW_READ_BLOCK];
109 uint8_t data[OW_WRITE_BLOCK];
114 SYSLINK_STATE_START = 0,
116 SYSLINK_STATE_LENGTH,
137 extern void syslink_compute_cksum(syslink_message_t *msg);
Definition: syslink.h:121