Commit Graph

9 Commits (af5a6efdb37fac007625c2953db280136a10873e)

Author SHA1 Message Date
PgSocks af5a6efdb3 Add function to get module ID from command ID
The module ID is always the same for a given command ID,
so it can be easily mapped with a switch function.
2 years ago
PgSocks 6b4c891b36 Make preamble a const
The preamble is always 0x55. It should be a const in the header.
2 years ago
PgSocks c4c5e394af Add function to get size of message by command ID 2 years ago
PgSocks 77000b525f Combine cmdid and cmdset into cmd code 2 years ago
PgSocks 6e10db0e07 Remove high and low byte union for message length 2 years ago
PgSocks f0befa0b7b Add heartbeat message 2 years ago
PgSocks 1eca1b25e7 Add more messages 2 years ago
PgSocks 0cec23f7f7 Make two connections for SDK and device 2 years ago
PgSocks e60aa4c2e3 Refactor for public API 2 years ago