| | |
| | | const int RTK_PLATFORM_PORT = 12125; |
| | | const uint8_t phone[] = {0x20,0x19,0x10,0x15,0x00,0x00,0x00,0x01}; |
| | | |
| | | const char *VIRTUAL_RTK_IP = "192.168.3.52"; |
| | | const int VIRTUAL_RTK_PORT = 9001; |
| | | |
| | | static void SendBootIndicate(union sigval sig); |
| | | |
| | | int DESEncrypt(const uint8_t *key, int key_length, |
| | |
| | | InitPlatform(phone, RTK_PLATFORM_IP, RTK_PLATFORM_PORT); |
| | | AppTimer_add(SendBootIndicate, 500); |
| | | |
| | | InitVirtualDevice("192.168.86.101", 9001); |
| | | InitVirtualDevice(VIRTUAL_RTK_IP, VIRTUAL_RTK_PORT); |
| | | } |
| | | |
| | | static void SendBootIndicate(union sigval sig) { |