Project

General

Profile

Revision 320

multiplayer almost working, serial data not being transmitted?

View differences:

hltp.h
7 7
typedef enum{
8 8
    hltp_type_invalid = 0x00,
9 9
    hltp_type_string  = 0x53,
10
    hltp_type_host    = 0x54,
11
    hltp_type_remote  = 0x55
10
    hltp_type_host    = 0x48,
11
    hltp_type_remote  = 0x52,
12
    hltp_type_bullet  = 0x42
12 13
} hltp_type;
13 14

  
14 15
int hltp_send_string(const char *p);
15 16
int hltp_send_host_info(const host_info_t *p);
16 17
int hltp_send_remote_info(const remote_info_t *p);
18
int hltp_send_bullet_info(const bullet_info_t *p);
17 19
hltp_type hltp_interpret(const uint8_t *p, const size_t sz, void **dest);
18 20
#endif //HLTP_H_INCLUDED

Also available in: Unified diff