| | |
| | | #define ID_SM_RTK_PLAT_CONN 0x0003 |
| | | #define ID_SM_RTK_PLAT_REG 0x0004 |
| | | #define ID_SM_RTK_PLAT_LOGIN 0x0005 |
| | | #define ID_SM_READ_MAP 0x0006 |
| | | #define ID_MS_MAP 0x8006 |
| | | #define ID_SM_READ_CAR 0x0007 |
| | | #define ID_MS_CAR 0x8007 |
| | | |
| | | void MA_NdkStart(void) |
| | | { |
| | |
| | | |
| | | writer.StartObject(); |
| | | |
| | | writer.Key("password"); |
| | | writer.Key("login_code"); |
| | | writer.Int(login); |
| | | |
| | | writer.EndObject(); |
| | |
| | | SendMsgToMainProc(ID_SM_RTK_PLAT_LOGIN, sb.GetString()); |
| | | } |
| | | |
| | | void MA_ReadMap(void) |
| | | { |
| | | SendMsgToMainProc(ID_SM_READ_MAP, NULL); |
| | | } |
| | | |
| | | void MA_ReadCar(void) |
| | | { |
| | | SendMsgToMainProc(ID_SM_READ_CAR, NULL); |
| | | } |
| | | |
| | | void MA_MainProcMsgEntry(int cmd, const char *value) |
| | | { |
| | | switch (cmd) { |