You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
560 B
24 lines
560 B
#include <stddef.h>
|
|
#include <stdio.h>
|
|
|
|
#include "sdk/components/zcancmder/zcan_protocol_parser.hpp"
|
|
#include "sdk/chip/chip.hpp"
|
|
#include "sdk/components/zcancmder/zcanreceiver.hpp"
|
|
#include "sdk/os/zos.hpp"
|
|
|
|
namespace iflytop {
|
|
|
|
class GService {
|
|
ZCanReceiver zcanreceiver;
|
|
ZCanProtocolParser zcan_protocol_parser;
|
|
|
|
public:
|
|
void initialize();
|
|
|
|
static GService* inst();
|
|
|
|
ZCanReceiver* getZCanReceiver() { return &zcanreceiver; }
|
|
ZCanProtocolParser* getZCanProtocolParser() { return &zcan_protocol_parser; }
|
|
};
|
|
|
|
} // namespace iflytop
|