| 48 | } |
| 49 | |
| 50 | static inline bool isConfigReply(const uint8_t *status) |
| 51 | { |
| 52 | return (status[1] & 0xF0) == 0xF0; |
| 53 | } |
| 54 | static const uint8_t commandEnterConfig[] = {0x01, 0x43, 0x00, 0x01, 0x5A, |
| 55 | 0x5A, 0x5A, 0x5A, 0x5A}; |
| 56 | static const uint8_t commandExitConfig[] = {0x01, 0x43, 0x00, 0x00, 0x5A, |