[Anyremote-user] USCellular Motorola K1m
Remote control software for applications using wi-fi or bluetooth
Brought to you by:
mikefedotov
|
From: Fox, K. M <kev...@pn...> - 2007-10-29 04:18:22
|
I've managed to make anyRemote work with my USCellular Motorola K1m.
The phone seems to throw errors with most commands until its sent an =
AT+MODE=3D2
anyRemote will work with the following patch:
--- src/main.c.orig 2007-10-28 20:51:02.000000000 -0700
+++ src/main.c 2007-10-28 20:51:13.000000000 -0700
@@ -702,7 +702,7 @@
}=20
=20
answer[0] =3D '\0';
- sendSyncCommand("ATZ\r", answer, sizeof(answer), NULL);
+ sendSyncCommand("AT+MODE=3D2\r", answer, sizeof(answer), NULL);
//sendSyncCommand("AT\r", answer, sizeof(answer), NULL);
if(!IS_OK(answer)) {
printf("ERROR: AT -> %s\n", answer);
Its a hack, and will probably break other phones, but its a start.
> rfcomm connect 0 XX:XX:XX:XX:XX:XX 8 # Dial-Up Networking Gateway on =
Channel 8
> anyremote -f xmms.cfg=20
To help come up with a better patch, here's the GMM reply:
> AT+GMM
> +GMM: Motorola CDMA K1mm phone
>=20
> OK
Thanks for a great app guys. Keep up the good work.
Kevin Fox
|