#include <cstring>#include <iostream>#include <cstdlib>#include <sys/socket.h>#include <sys/ioctl.h>#include <fcntl.h>#include <af_can.h>#include <canutils.h>#include <can_ids.h>#include <can_msg_masks.h>#include <can_msg_def.h>#include "cand.h"
Defines | |
| #define | CAN_SONAR 0x60 |
Functions | |
| int | cand_init () |
| int | can_send (canid_t id, unsigned char length, unsigned char *data) |
| int | open_log_file (char *fname, FILE *f) |
| int | cand_parse_frame (struct can_frame frame, FILE *f) |
| Parse frame ID and react as required. | |
| int | main (int argc, char *argv[]) |
| #define CAN_SONAR 0x60 |
| int can_send | ( | canid_t | id, | |
| unsigned char | length, | |||
| unsigned char * | data | |||
| ) |

| int cand_init | ( | ) |
| int cand_parse_frame | ( | struct can_frame | frame, | |
| FILE * | f | |||
| ) |
Parse frame ID and react as required.
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |

| int open_log_file | ( | char * | fname, | |
| FILE * | f | |||
| ) |

1.7.1